/*
  Design and implementation by Salem Experience Design.
  All rights reserved unless otherwise agreed in writing.
*/

:root {
  --cream: #fff8f0;
  --paper: #f0dfd4;
  --blush: #f7e8df;
  --sage: #9ca88d;
  --sage-deep: #667761;
  --teal: #314652;
  --teal-soft: #e7efea;
  --coral: #d9967d;
  --coral-dark: #9c5947;
  --ink: #2f3d42;
  --muted: #69736b;
  --line: rgba(75, 63, 52, 0.15);
  --shadow: 0 24px 70px rgba(89, 72, 56, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 248, 240, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 248, 240, 0.88);
  box-shadow: 0 16px 40px rgba(89, 72, 56, 0.13);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: grid;
  gap: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.02;
}

.brand strong {
  color: var(--coral-dark);
  font-weight: 700;
}

nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #31433e;
  font-size: 0.92rem;
}

nav a {
  padding: 12px 0;
}

.site-header nav .nav-button {
  min-height: auto;
  padding: 12px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: inherit;
}

.menu-toggle,
.nav-action {
  display: none;
}

.nav-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 248, 240, 0.72);
  cursor: pointer;
  font-weight: 800;
}

.header-action,
.button,
.offer-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
}

.header-action {
  padding: 0 18px;
  color: #fff8f0;
  background: var(--coral-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  overflow: hidden;
  padding: 132px 0 84px;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 150, 125, 0.22), transparent 32%),
    linear-gradient(135deg, #fff8f0 0%, #f8eadf 52%, #edf1e8 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(255, 248, 240, 0.92) 0%, rgba(255, 248, 240, 0.76) 39%, rgba(255, 248, 240, 0.26) 68%, rgba(255, 248, 240, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.04) 0%, rgba(255, 248, 240, 0.42) 100%),
    var(--image-hero, url("./assets/forest-hero.png")) center/cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 54px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero__copy {
  max-width: 650px;
  color: var(--ink);
}

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

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 6.7vw, 6.9rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero__logo-title {
  width: min(540px, 100%);
  margin-bottom: 28px;
  line-height: 0;
}

.hero__logo-title img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero__copy p {
  max-width: 560px;
  margin-bottom: 32px;
  color: #56635d;
  font-size: 1.22rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-width: 168px;
  padding: 0 22px;
}

.button--primary {
  color: #fff8f0;
  background: var(--coral);
  box-shadow: 0 14px 26px rgba(168, 77, 56, 0.25);
}

.button--ghost {
  color: var(--teal);
  border: 1px solid rgba(49, 70, 82, 0.22);
  background: rgba(255, 248, 240, 0.62);
}

:where(
  button,
  .button,
  .header-action,
  .nav-button,
  .admin-nav-button,
  .admin-action-grid a,
  .booking-calendar__header button,
  .booking-calendar-day.is-available,
  .calendar-toolbar button,
  .calendar-day button,
  .customer-row,
  .mini-package button,
  .account-panel--profile button,
  .admin-form button,
  .detail-columns button,
  .compact-list button,
  .selected-days button,
  .availability-month summary button,
  .editor-toolbar button,
  .row-actions button
) {
  box-shadow: 0 8px 18px rgba(18, 63, 61, 0.08);
  transform: translateY(0);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    filter 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease;
}

:where(
  button,
  .button,
  .header-action,
  .nav-button,
  .admin-nav-button,
  .admin-action-grid a,
  .booking-calendar__header button,
  .booking-calendar-day.is-available,
  .calendar-toolbar button,
  .calendar-day button,
  .customer-row,
  .mini-package button,
  .account-panel--profile button,
  .admin-form button,
  .detail-columns button,
  .compact-list button,
  .selected-days button,
  .availability-month summary button,
  .editor-toolbar button,
  .row-actions button
):active:not(:disabled) {
  box-shadow:
    inset 0 3px 8px rgba(18, 63, 61, 0.18),
    0 3px 8px rgba(18, 63, 61, 0.08);
  filter: brightness(0.96);
  transform: translateY(2px) scale(0.985);
}

:where(button, .button, .header-action, .nav-button, .admin-nav-button):disabled {
  box-shadow: none;
  transform: none;
}

.hero__quote {
  align-self: end;
  max-width: 350px;
  padding: 24px;
  border-left: 3px solid var(--coral);
  color: var(--teal);
  background: rgba(255, 248, 240, 0.76);
  box-shadow: 0 18px 48px rgba(89, 72, 56, 0.12);
  backdrop-filter: blur(10px);
}

.hero__quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.35;
}

.hero__notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 760px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(49, 70, 82, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 248, 240, 0.64);
  box-shadow: 0 18px 46px rgba(89, 72, 56, 0.1);
}

.hero__notes span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: var(--teal);
  background: rgba(255, 248, 240, 0.62);
  text-align: center;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
  scroll-margin-top: 104px;
}

.hero {
  scroll-margin-top: 0;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 34px;
}

.section h2 {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.section-heading p,
.process-copy p,
.booking-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.support-section {
  width: 100%;
  padding: 104px max(20px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, var(--blush), #f5e9df);
}

.support-editorial {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: stretch;
}

.support-feature {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(49, 70, 82, 0.12);
  border-radius: var(--radius);
  background: #fff8f0;
  box-shadow: 0 28px 80px rgba(89, 72, 56, 0.13);
}

.support-feature__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: contain;
  background: #f5e9df;
}

.support-feature__copy {
  padding: 34px 38px 38px;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.92), rgba(255, 248, 240, 1)),
    #fff8f0;
}

.support-feature h3,
.support-list h3 {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.support-feature h3 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4.1vw, 4.2rem);
  line-height: 0.98;
}

.support-feature p {
  margin: 0;
  color: #5f6a62;
  font-size: 1.07rem;
  line-height: 1.72;
}

.support-list {
  display: grid;
  gap: 0;
  align-content: center;
  border-top: 1px solid rgba(49, 70, 82, 0.16);
}

.support-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(49, 70, 82, 0.16);
}

.support-list span {
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.support-list h3 {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.18;
}

.support-list p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(18, 63, 61, 0.08);
}

.offer-card--locked img {
  filter: saturate(0.86);
}

.lock-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 1px solid rgba(168, 77, 56, 0.24);
  border-radius: var(--radius);
  color: var(--coral-dark);
  background: rgba(207, 118, 92, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.offer-card--featured {
  transform: translateY(-18px);
}

.offer-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f5e9df;
}

.offer-card > div {
  padding: 24px;
}

.offer-card h3 {
  margin-bottom: 12px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.offer-card p,
.offer-card li {
  color: var(--muted);
  line-height: 1.6;
}

.offer-card ul {
  display: grid;
  gap: 8px;
  min-height: 94px;
  margin: 20px 0 24px;
  padding-left: 19px;
}

.offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.offer-footer button {
  padding: 0 16px;
  color: var(--teal);
  border: 1px solid var(--line);
  background: var(--teal-soft);
}

.offer-footer strong {
  color: var(--coral-dark);
  font-size: 1.22rem;
}

.process {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr;
  gap: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 46px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-copy {
  max-width: 680px;
}

.about-copy h2 {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-card {
  display: grid;
  gap: 14px;
  padding: 34px;
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  background: var(--paper);
}

.about-card strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.about-card span {
  color: var(--muted);
  line-height: 1.6;
}

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

.steps article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--coral-dark);
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 1.18rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: var(--teal);
  isolation: isolate;
}

.booking-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--image-booking, url("./assets/booking-bg.jpg")) center/cover no-repeat;
}

.booking-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(49, 70, 82, 0.86) 0%, rgba(49, 70, 82, 0.58) 43%, rgba(49, 70, 82, 0.24) 100%),
    linear-gradient(180deg, rgba(49, 70, 82, 0.18), rgba(49, 70, 82, 0.62));
}

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.74fr);
  gap: 42px;
  align-items: start;
}

.booking-copy h2 {
  color: #fffaf2;
}

.booking-copy p {
  max-width: 560px;
  color: rgba(255, 250, 242, 0.76);
}

.booking-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.booking-status strong,
.booking-status span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
}

.booking-status strong {
  color: var(--teal);
  background: #fffaf2;
}

.booking-status span {
  color: #fffaf2;
  border: 1px solid rgba(255, 250, 242, 0.34);
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fffaf2;
  box-shadow: var(--shadow);
}

label,
legend {
  display: grid;
  gap: 8px;
  color: var(--teal);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-picker {
  display: grid;
  gap: 14px;
}

.legal-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(49, 70, 82, 0.14);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.legal-consent input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
  accent-color: var(--coral-dark);
}

.legal-consent span {
  min-width: 0;
}

.legal-consent a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-consent--account {
  margin-bottom: 16px;
  background: #fffdf8;
}

.booking-calendar,
.booking-time-select {
  display: grid;
  padding: 14px;
  border: 1px solid rgba(33, 55, 57, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.booking-calendar {
  gap: 12px;
}

.booking-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--teal);
  text-transform: capitalize;
}

.booking-calendar__header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1;
}

.booking-calendar__header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(49, 70, 82, 0.18);
  border-radius: 50%;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 1.34rem;
  line-height: 1;
}

.booking-calendar__header button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.booking-calendar__hint {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.booking-calendar__weekdays,
.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.booking-calendar__weekdays span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.booking-calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid rgba(49, 70, 82, 0.08);
  border-radius: 6px;
  color: rgba(105, 115, 107, 0.52);
  background: rgba(255, 255, 255, 0.34);
  cursor: not-allowed;
  font-size: 0.9rem;
  font-weight: 800;
}

.booking-calendar-day.is-available {
  color: var(--teal);
  border-color: rgba(217, 150, 125, 0.64);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 -3px 0 rgba(217, 150, 125, 0.58);
  cursor: pointer;
}

.booking-calendar-day.is-selected {
  color: #fff;
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  box-shadow: inset 0 -3px 0 rgba(255, 248, 240, 0.28);
}

.booking-calendar-day small {
  position: absolute;
  right: 4px;
  bottom: 3px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 0.64rem;
  line-height: 1;
}

.booking-calendar-day.is-selected small {
  color: var(--sage-deep);
  background: #fff8f0;
}

.booking-calendar-day.is-empty {
  visibility: hidden;
}

.booking-time-select label {
  margin: 0;
}

.booking-time-select select {
  margin-top: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--teal) 50%) calc(100% - 18px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--teal) 50%, transparent 50%) calc(100% - 12px) 52% / 6px 6px no-repeat,
    #fff;
  appearance: none;
}

.booking-time-select select:disabled {
  color: var(--muted);
  background:
    linear-gradient(45deg, transparent 50%, rgba(49, 70, 82, 0.38) 50%) calc(100% - 18px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(49, 70, 82, 0.38) 50%, transparent 50%) calc(100% - 12px) 52% / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.58);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--sage-deep);
  font-weight: 800;
  line-height: 1.45;
}

.form-message.is-error {
  color: var(--coral-dark);
}

.account-section {
  padding-bottom: 96px;
}

.account-preview {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 18px;
}

.account-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(18, 63, 61, 0.08);
}

.account-panel--profile {
  display: grid;
  align-content: start;
  gap: 16px;
  color: #fffaf2;
  background:
    radial-gradient(circle at 80% 18%, rgba(217, 150, 125, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(49, 70, 82, 0.92), rgba(49, 70, 82, 0.98));
}

.profile-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 28px;
}

.profile-top span,
.profile-top strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
}

.profile-top span {
  background: rgba(255, 250, 242, 0.14);
}

.profile-top strong {
  color: var(--teal);
  background: #fffaf2;
}

.account-panel h3 {
  margin-bottom: 10px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.account-panel p {
  color: inherit;
  line-height: 1.65;
}

.account-panel--profile p {
  color: rgba(255, 250, 242, 0.78);
}

.account-panel--profile button {
  justify-self: start;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--coral);
  cursor: pointer;
  font-weight: 900;
}

.account-panel--packages {
  display: grid;
  gap: 18px;
}

.locked-message {
  padding: 20px;
  border-left: 3px solid var(--coral);
  color: var(--teal);
  background: var(--paper);
}

.locked-message strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.locked-message p {
  margin-bottom: 0;
  color: var(--muted);
}

.unlocked-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0.48;
  filter: grayscale(0.7);
}

.unlocked-packages article {
  display: grid;
  gap: 12px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.unlocked-packages span {
  color: var(--teal);
  font-weight: 900;
}

.unlocked-packages strong {
  color: var(--coral-dark);
  font-size: 1.3rem;
}

.account-panel--packages.is-unlocked .locked-message {
  border-left-color: var(--sage-deep);
}

.account-panel--packages.is-unlocked .unlocked-packages {
  opacity: 1;
  filter: none;
}

.account-panel--timeline {
  grid-column: 1 / -1;
}

.account-panel--timeline h3 {
  color: var(--teal);
}

.account-panel--timeline ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-panel--timeline li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.account-panel--timeline strong,
.account-panel--timeline span {
  display: block;
}

.account-panel--timeline strong {
  margin-bottom: 8px;
  color: var(--teal);
}

.account-panel--timeline span {
  color: var(--muted);
  line-height: 1.55;
}

.system-section {
  padding-bottom: 96px;
}

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

.system-grid article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(18, 63, 61, 0.08);
}

.system-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--coral-dark);
  font-weight: 900;
}

.system-grid h3 {
  margin-bottom: 12px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.system-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255, 250, 242, 0.76);
  background: #0d2d2b;
}

footer.reveal-item {
  opacity: 1;
  transform: none;
  transition: none;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer small,
.design-credit {
  color: rgba(255, 250, 242, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.design-credit {
  justify-self: end;
  color: var(--muted);
}

.app-shell {
  min-height: 100vh;
  background: var(--cream);
}

.legal-page {
  background: var(--cream);
}

.legal-main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.legal-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-meta {
  color: var(--coral-dark);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-card {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 20px 0 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 500;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--ink);
  line-height: 1.72;
}

.legal-card p,
.legal-card ul {
  margin: 0;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card a {
  color: var(--coral-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-form-block {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.app-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(18px);
}

.app-header nav {
  align-items: center;
  justify-content: end;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255, 248, 240, 0.94), rgba(255, 248, 240, 0.52)),
    var(--image-hero, url("./assets/forest-hero.png")) center/cover no-repeat;
}

.login-card {
  display: grid;
  gap: 22px;
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 248, 240, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-card h1 {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 500;
  line-height: 0.96;
}

.login-card h2 {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.account-main {
  width: 100%;
  padding: 0;
}

.customer-login-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.58fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 82px);
  padding: 76px max(20px, calc((100vw - 1180px) / 2)) 88px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 248, 240, 0.94) 0%, rgba(255, 248, 240, 0.84) 43%, rgba(255, 248, 240, 0.3) 100%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.04) 0%, rgba(255, 248, 240, 0.38) 100%),
    var(--image-hero, url("./assets/forest-hero.png")) center/cover no-repeat;
}

.customer-login-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.customer-login-copy span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--coral-dark);
  background: rgba(255, 250, 242, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-login-copy h1 {
  max-width: 660px;
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 5.8vw, 6.1rem);
  font-weight: 500;
  line-height: 0.94;
}

.customer-login-copy p {
  max-width: 560px;
  margin: 0;
  color: #56635d;
  font-size: 1.13rem;
  line-height: 1.7;
}

.customer-login-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.customer-login-copy li {
  padding: 10px 12px;
  border: 1px solid rgba(49, 70, 82, 0.12);
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(255, 250, 242, 0.74);
  font-size: 0.9rem;
  font-weight: 900;
}

.customer-login-card {
  width: min(560px, 100%);
  margin: 0;
  border-color: rgba(255, 248, 240, 0.82);
  background: rgba(255, 253, 248, 0.9);
}

.is-customer-authenticated #customerLogin,
#customerLogin[hidden],
#accountContent[hidden] {
  display: none !important;
}

.app-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 96px;
}

.app-main.account-main {
  width: 100%;
  padding: 0;
}

#accountContent {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 96px;
}

.app-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.app-hero h1,
.admin-title h1 {
  margin-bottom: 12px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.app-hero p,
.admin-title p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.status-badge {
  min-height: 44px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--teal);
  background: var(--teal-soft);
  font-weight: 900;
}

.status-badge[data-status="matched"] {
  color: #fff;
  background: var(--sage-deep);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.overview-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(18, 63, 61, 0.06);
}

.overview-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.overview-grid strong {
  color: var(--teal);
  font-size: 1.5rem;
}

.overview-grid--small {
  grid-template-columns: repeat(2, 1fr);
  margin: 18px 0;
}

.overview-grid--small article {
  box-shadow: none;
}

.account-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin-top: 46px;
}

.section-heading--compact {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.section-heading--compact h2 {
  font-size: clamp(2.2rem, 3vw, 3.5rem);
}

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

.mini-package {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.mini-package h3 {
  margin-bottom: 8px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.mini-package p {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.mini-package span {
  color: var(--coral-dark);
  font-weight: 900;
}

.mini-package strong {
  color: var(--teal);
  font-size: 1.35rem;
}

.mini-package button,
.account-panel--profile button,
.customer-row,
#refreshAdmin {
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.mini-package button {
  border: 0;
  padding: 0 14px;
  color: #fff;
  background: var(--coral);
}

.mini-package button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--teal-soft);
}

.session-booking-section {
  margin-top: 22px;
}

.account-side,
.session-booking-section,
.intake-section,
.admin-list-panel,
.admin-detail-panel,
.admin-log-grid article,
.admin-control-grid > article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(18, 63, 61, 0.08);
}

.account-side h2,
.session-booking-section h2,
.intake-section h2,
.admin-board h2,
.admin-log-grid h2,
.admin-control-grid h2 {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-list article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.compact-list article.is-selected {
  border-color: rgba(217, 150, 125, 0.62);
  background: #fff5ee;
  box-shadow: 0 12px 28px rgba(156, 89, 71, 0.12);
}

.compact-list span,
.compact-list small {
  color: var(--muted);
}

.payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #fffaf2;
  background: var(--coral);
  font-weight: 900;
}

.compact-list button {
  justify-self: start;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

.availability-month {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.availability-month + .availability-month {
  margin-top: 10px;
}

.availability-month summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.availability-month summary::-webkit-details-marker {
  display: none;
}

.availability-month summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fffaf2;
  background: var(--teal);
  font-weight: 900;
}

.availability-month[open] summary::before {
  content: "-";
}

.availability-month summary span {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

.availability-month summary button {
  flex: 0 0 auto;
}

.availability-month__days {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 0 14px 14px;
  border-top: 1px solid var(--line);
}

.availability-month__days article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(49, 70, 82, 0.1);
  border-radius: 0;
  background: transparent;
}

.admin-stack {
  display: grid;
  gap: 14px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.compact-edit-form {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

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

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

.admin-form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-form .checkbox-row input {
  width: auto;
  min-height: auto;
}

.admin-form button,
.detail-columns button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  font-weight: 900;
}

.package-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.intake-section {
  margin-top: 46px;
}

.intake-form {
  display: grid;
  gap: 18px;
}

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: start;
  gap: 10px;
}

.check-row input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.admin-body {
  background: #f7f2ea;
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

.admin-sidebar {
  position: sticky;
  top: 78px;
  display: grid;
  align-content: start;
  gap: 8px;
  height: calc(100vh - 78px);
  padding: 28px;
  color: rgba(255, 250, 242, 0.72);
  background: var(--teal);
}

.admin-sidebar strong {
  margin-bottom: 18px;
  color: #fffaf2;
  font-size: 1.3rem;
}

.admin-nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 250, 242, 0.78);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}

.admin-mobile-switcher {
  display: none;
}

.admin-nav-button:hover,
.admin-nav-button.is-active {
  color: var(--teal);
  border-color: rgba(255, 250, 242, 0.78);
  background: #fffaf2;
}

.admin-content {
  padding: 38px max(28px, calc((100vw - 1320px) / 2));
  min-width: 0;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

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

.admin-section-heading h1 {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 0.96;
}

.admin-section-heading p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.admin-action-grid a {
  display: grid;
  gap: 10px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(18, 63, 61, 0.06);
  text-align: left;
  cursor: pointer;
}

.admin-action-grid a:hover {
  border-color: rgba(217, 150, 125, 0.52);
  transform: translateY(-1px);
}

.admin-action-grid strong {
  color: var(--teal);
  font-size: 1.1rem;
}

.admin-action-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.visual-editor-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(18, 63, 61, 0.08);
}

.admin-calendar-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(18, 63, 61, 0.08);
}

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

.calendar-toolbar strong {
  min-width: 160px;
  color: var(--teal);
  text-align: center;
  text-transform: capitalize;
}

.calendar-toolbar button {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(49, 70, 82, 0.14);
  border-radius: var(--radius);
  color: var(--teal);
  background: #fffaf2;
  cursor: pointer;
  font-weight: 900;
}

.calendar-toolbar button:hover {
  border-color: rgba(217, 150, 125, 0.62);
  background: #fff5ee;
}

.appointment-detail {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(49, 70, 82, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(248, 239, 231, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(217, 150, 125, 0.18), transparent 28%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.appointment-detail > p {
  margin: 0;
  color: var(--muted);
}

.appointment-detail__header {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
}

.appointment-detail__header span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: calc(var(--radius) - 3px);
  color: #fffaf2;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.appointment-detail__header h3 {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.appointment-detail__header p {
  margin: 0;
  color: var(--muted);
}

.appointment-detail__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.appointment-detail__list div {
  padding: 12px;
  border: 1px solid rgba(49, 70, 82, 0.1);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 253, 248, 0.78);
}

.appointment-detail__list dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.appointment-detail__list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.appointment-detail__notes {
  margin: 0 0 18px;
  padding: 14px;
  border-left: 3px solid var(--clay);
  color: var(--ink);
  background: #fffdf8;
}

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

.calendar-weekday {
  padding: 0 8px 6px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.calendar-day {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 118px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.calendar-day.is-muted {
  opacity: 0.52;
}

.calendar-day.is-today {
  border-color: rgba(217, 150, 125, 0.82);
  box-shadow: inset 0 0 0 2px rgba(217, 150, 125, 0.16);
}

.calendar-day > span {
  color: var(--teal);
  font-weight: 900;
}

.calendar-day button {
  display: grid;
  gap: 3px;
  padding: 7px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  color: #fff;
  background: var(--teal);
  text-align: left;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-day button small {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.68rem;
  line-height: 1.25;
}

.calendar-day button.is-completed {
  background: var(--sage-deep);
}

.calendar-day button.is-cancelled {
  color: var(--muted);
  background: #efe8df;
  text-decoration: line-through;
}

.calendar-day button.is-cancelled small {
  color: var(--muted);
}

.calendar-day button.is-session,
.calendar-day button.is-followup {
  border-left: 3px solid var(--coral);
}

.calendar-day em {
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.date-picker-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.selected-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
}

.selected-days p {
  margin: 0;
  color: var(--muted);
}

.selected-days button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(49, 70, 82, 0.18);
  border-radius: var(--radius);
  color: var(--teal);
  background: var(--teal-soft);
  cursor: pointer;
  font-weight: 900;
}

.visual-editor-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.visual-editor-toolbar h2,
.visual-editor-section h2,
.visual-editor-booking h2 {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
}

.visual-editor-toolbar p {
  margin: 0;
  color: var(--muted);
}

.visual-editor {
  display: grid;
  gap: 14px;
  max-height: 720px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.image-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.image-edit-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.image-edit-card img {
  width: 118px;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
  background: var(--blush);
}

.image-edit-card strong,
.image-edit-card label {
  display: grid;
  gap: 7px;
}

.image-edit-card strong {
  margin-bottom: 8px;
  color: var(--teal);
}

.image-edit-card label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.image-edit-card input {
  max-width: 100%;
  font-size: 0.82rem;
}

.visual-editor [contenteditable="true"] {
  min-height: 1.4em;
  outline: 2px solid transparent;
  border-radius: 4px;
  cursor: text;
  transition:
    background 180ms ease,
    outline-color 180ms ease;
}

.visual-editor [contenteditable="true"]:hover,
.visual-editor [contenteditable="true"]:focus {
  outline-color: rgba(217, 150, 125, 0.54);
  background: rgba(255, 248, 240, 0.82);
}

.visual-editor-hero,
.visual-editor-section,
.visual-editor-booking {
  padding: 28px;
  border-radius: var(--radius);
  background: #fffaf2;
}

.visual-editor-hero {
  min-height: 320px;
  background:
    linear-gradient(90deg, rgba(255, 248, 240, 0.96), rgba(255, 248, 240, 0.42)),
    var(--image-hero, url("./assets/forest-hero.png")) center/cover no-repeat;
}

.visual-editor-hero h1 {
  max-width: 460px;
  margin: 0 0 18px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.95;
  white-space: pre-line;
}

.visual-editor-hero p,
.visual-editor-section p,
.visual-editor-booking p {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.65;
}

.visual-editor-hero blockquote {
  width: fit-content;
  max-width: 460px;
  margin: 34px 0 0 auto;
  padding: 18px;
  border-left: 3px solid var(--coral);
  color: var(--teal);
  background: rgba(255, 250, 242, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.visual-editor-feature {
  margin: 18px 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--blush);
}

.visual-editor-feature h3,
.visual-editor-list h3 {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.visual-editor-list,
.visual-editor-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.visual-editor-list article,
.visual-editor-two > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.visual-editor-booking {
  color: #fffaf2;
  background:
    linear-gradient(90deg, rgba(49, 70, 82, 0.88), rgba(49, 70, 82, 0.42)),
    var(--image-booking, url("./assets/booking-bg.jpg")) center/cover no-repeat;
}

.visual-editor-booking h2,
.visual-editor-booking p {
  color: #fffaf2;
}

.admin-board {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.customer-list {
  display: grid;
  gap: 10px;
}

.customer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--cream);
  text-align: left;
}

.customer-row.is-selected {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.customer-row span,
.customer-row small,
.customer-row em {
  display: block;
}

.customer-row small,
.customer-row em {
  color: inherit;
  opacity: 0.72;
  font-style: normal;
}

.customer-detail.empty-state,
.empty-state {
  color: var(--muted);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.customer-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
}

.customer-edit-grid label {
  display: grid;
  gap: 6px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.customer-edit-grid input {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fffdf8;
}

.detail-header h3 {
  margin-bottom: 6px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.detail-header p {
  color: var(--muted);
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-columns article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.detail-columns h4 {
  margin: 0 0 10px;
  color: var(--teal);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--coral-dark);
  font-weight: 900;
}

.admin-log-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.admin-log-grid--single {
  grid-template-columns: 1fr;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}

.communication-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: 22px;
  min-width: 0;
}

.admin-section-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.communication-page .admin-section-heading {
  align-items: center;
  min-height: 190px;
  margin-bottom: 26px;
  padding: 34px;
  border: 1px solid rgba(49, 70, 82, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(255, 250, 242, 0.92) 0%, rgba(255, 250, 242, 0.76) 48%, rgba(243, 223, 209, 0.78) 100%),
    radial-gradient(circle at 88% 18%, rgba(217, 150, 125, 0.28), transparent 34%);
  box-shadow: 0 24px 60px rgba(18, 63, 61, 0.09);
}

.communication-page .admin-section-heading h1 {
  max-width: 680px;
}

.communication-page .admin-section-heading p {
  max-width: 620px;
  margin: 0;
  color: #5f6c65;
  font-size: 1.03rem;
  line-height: 1.65;
}

.communication-panel {
  padding: 28px;
  border: 1px solid rgba(49, 70, 82, 0.13);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 20px 52px rgba(18, 63, 61, 0.08);
  min-width: 0;
}

.communication-panel--composer {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 253, 248, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(217, 150, 125, 0.18), transparent 28%);
}

.communication-panel--preview {
  position: sticky;
  top: 104px;
  padding: 0;
  overflow: hidden;
  background: #f7efe6;
}

.communication-panel--preview h2 {
  margin: 0;
  padding: 24px 28px 14px;
}

.communication-panel--preview .email-preview {
  padding: 0 28px 28px;
}

.communication-panel--brand,
.communication-panel--social {
  background: #fffaf2;
}

.communication-panel--social {
  grid-column: 1 / -1;
}

.communication-panel h2 {
  margin: 0 0 16px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.panel-intro {
  margin: -6px 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.social-post-preview,
.social-post-saved-image {
  display: grid;
  gap: 8px;
  margin: 0;
}

.social-post-preview[hidden] {
  display: none;
}

.social-post-preview img,
.social-post-saved-image img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.social-post-preview figcaption,
.social-post-saved-image figcaption,
.social-post-no-image {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.social-post-saved-image figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 850;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 10px;
}

.editor-toolbar button {
  min-width: 38px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  color: var(--teal);
  background: var(--cream);
  font-weight: 900;
}

.email-visual-editor {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  line-height: 1.65;
  outline: none;
}

.email-visual-editor:focus {
  border-color: rgba(217, 150, 125, 0.72);
  box-shadow: 0 0 0 4px rgba(217, 150, 125, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.email-preview-card {
  overflow: hidden;
  border: 1px solid rgba(49, 70, 82, 0.18) !important;
  border-radius: var(--radius);
  background: #f8efe7;
  box-shadow: 0 20px 60px rgba(18, 63, 61, 0.16);
}

.email-preview-meta {
  display: grid;
  gap: 5px;
  padding: 13px 18px;
  color: #5f6c65;
  background: #fffaf2;
  border-bottom: 1px solid rgba(49, 70, 82, 0.12);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.email-preview-meta strong {
  color: var(--teal);
}

.email-preview-hero {
  display: grid;
  gap: 12px;
  min-height: 178px;
  padding: 32px 28px 54px;
  color: #fffaf2 !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.13), transparent 34%),
    linear-gradient(135deg, #243f49 0%, #314652 54%, #1f353d 100%) !important;
}

.email-preview-mark {
  color: rgba(255, 250, 242, 0.86) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.email-preview-hero strong {
  max-width: 520px;
  color: #fffaf2 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.03;
}

.email-preview-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 250, 242, 0.84) !important;
  line-height: 1.55;
}

.email-preview-content {
  padding: 0 24px 26px;
}

.email-preview-paper {
  margin-top: -30px;
  padding: 28px;
  border: 1px solid rgba(49, 70, 82, 0.12);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 16px 38px rgba(18, 63, 61, 0.1);
}

.email-preview-greeting {
  margin: 0 0 16px;
  color: #314652;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.email-preview-body {
  color: var(--ink);
  line-height: 1.7;
}

.email-preview-body p {
  margin: 0 0 15px;
}

.email-preview-action {
  display: grid;
  gap: 9px;
  align-items: start;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(217, 150, 125, 0.36);
  border-radius: var(--radius);
  background: #fff5ee;
}

.email-preview-cta {
  display: inline-flex;
  width: fit-content;
  padding: 12px 16px;
  border-radius: calc(var(--radius) - 2px);
  color: #fffaf2 !important;
  background: linear-gradient(135deg, #b46d58, #9c5947) !important;
  box-shadow: 0 10px 24px rgba(156, 89, 71, 0.18);
  font-weight: 900;
}

.email-preview-action span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.email-signature {
  margin: 24px 0 0;
  color: #314652;
  font-weight: 800;
}

.email-preview-footer {
  display: grid;
  gap: 4px;
  padding: 18px 26px;
  color: #314652;
  background: #f3dfd1;
  border-top: 2px solid #d9967d !important;
  font-size: 0.92rem;
}

.email-preview-footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.communication-row {
  display: grid;
  gap: 10px;
}

.communication-row > span:first-child {
  display: grid;
  gap: 4px;
}

.email-event-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
}

.email-event-row.is-selected {
  border-color: rgba(217, 150, 125, 0.56);
  background: #fff5ee;
}

.email-event-row > span:first-child {
  display: grid;
  gap: 4px;
}

.email-event-detail {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(49, 70, 82, 0.14);
  border-radius: var(--radius);
  background: #fffaf2;
  box-shadow: 0 16px 38px rgba(18, 63, 61, 0.08);
}

.email-event-detail > p {
  margin: 0;
  color: var(--muted);
}

.email-event-detail__header {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.email-event-detail__header span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: calc(var(--radius) - 3px);
  color: #fffaf2;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.email-event-detail__header h3 {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.email-event-detail__header p {
  margin: 0;
  color: var(--muted);
}

.email-event-detail__list,
.email-event-payload dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.email-event-detail__list div,
.email-event-payload div {
  padding: 12px;
  border: 1px solid rgba(49, 70, 82, 0.1);
  border-radius: calc(var(--radius) - 2px);
  background: #fffdf8;
}

.email-event-detail dt,
.email-event-payload dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-event-detail dd,
.email-event-payload dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.email-event-message,
.email-event-payload {
  margin-top: 18px;
}

.email-event-message h4,
.email-event-payload h4 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 1rem;
}

.email-event-body {
  padding: 18px;
  border: 1px solid rgba(49, 70, 82, 0.1);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fffdf8;
  line-height: 1.65;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  color: var(--teal);
  background: #fffaf2;
  font-weight: 900;
}

.social-post-thumb {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 248, 240, 0);
    border-radius: var(--radius);
    background: rgba(255, 248, 240, 0.96);
    box-shadow: 0 18px 40px rgba(89, 72, 56, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 180ms ease,
      padding 180ms ease,
      opacity 160ms ease,
      transform 160ms ease,
      border-color 160ms ease;
  }

  .site-header.is-menu-open nav {
    max-height: 360px;
    padding: 10px 12px 12px;
    border-color: rgba(255, 248, 240, 0.82);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-menu-closing nav {
    transition: none;
  }

  .site-header nav a,
  .site-header nav .nav-button {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: calc(var(--radius) - 2px);
    text-align: left;
  }

  .site-header nav a:hover,
  .site-header nav .nav-button:hover {
    background: rgba(217, 150, 125, 0.13);
  }

  .nav-action {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    color: #fff8f0;
    background: var(--coral-dark);
    font-weight: 900;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(49, 70, 82, 0.18);
    border-radius: var(--radius);
    color: var(--teal);
    background: rgba(255, 248, 240, 0.76);
    cursor: pointer;
    font-weight: 900;
  }

  .admin-body .app-header nav {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero__content,
  .section-heading,
  .process,
  .about-section,
  .booking-panel,
  .account-preview,
  .customer-login-hero {
    grid-template-columns: 1fr;
  }

  .hero__quote {
    max-width: 560px;
  }

  .offer-grid,
  .support-editorial,
  .system-grid,
  .account-panel--timeline ol,
  .unlocked-packages,
  .overview-grid,
  .account-workspace,
  .mini-package,
  .admin-layout,
  .admin-board,
  .admin-log-grid,
  .admin-control-grid,
  .communication-grid,
  .admin-action-grid,
  .visual-editor-list,
  .visual-editor-two,
  .image-edit-grid,
  .calendar-grid,
  .customer-edit-grid,
  .admin-inline-grid,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .support-feature {
    min-height: 420px;
  }

  .support-list {
    border-top: 0;
  }

  .offer-card--featured {
    transform: none;
  }

  .admin-sidebar {
    position: sticky;
    z-index: 9;
    top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 10px 14px;
    overflow-x: auto;
    color: rgba(255, 250, 242, 0.84);
    scrollbar-width: thin;
  }

  .admin-sidebar strong {
    flex: 0 0 auto;
    margin: 0 8px 0 0;
    font-size: 1rem;
  }

  .admin-nav-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
  }

  .admin-content {
    padding: 24px 14px;
  }

  .admin-section-heading,
  .communication-page .admin-section-heading {
    min-height: auto;
    padding: 24px;
  }

  .admin-section-links {
    justify-content: flex-start;
  }

  .admin-title {
    gap: 14px;
  }

  .visual-editor-toolbar,
  .calendar-toolbar,
  .form-actions,
  .row-actions {
    align-items: stretch;
  }

  .row-actions > *,
  .form-actions > *,
  .calendar-toolbar > * {
    flex: 1 1 auto;
    justify-content: center;
  }

  .communication-panel--preview {
    position: static;
  }

  .appointment-detail__list {
    grid-template-columns: 1fr;
  }

  .email-event-row,
  .email-event-detail__list,
  .email-event-payload dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px 8px 8px 12px;
    transform: none;
  }

  .site-header nav {
    right: 0;
    left: 0;
  }

  .brand {
    font-size: 0.92rem;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 108px;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 32px), 370px);
    margin-left: 16px;
    margin-right: auto;
    gap: 42px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 15vw, 3.35rem);
    line-height: 0.96;
  }

  .hero__logo-title {
    width: min(100%, 360px);
    margin-bottom: 24px;
  }

  .hero__copy {
    min-width: 0;
  }

  .hero__copy p {
    font-size: 1.05rem;
  }

  .customer-login-hero {
    min-height: calc(100vh - 70px);
    gap: 30px;
    padding: 42px 14px 64px;
    background:
      linear-gradient(180deg, rgba(255, 248, 240, 0.94) 0%, rgba(255, 248, 240, 0.82) 54%, rgba(255, 248, 240, 0.42) 100%),
      var(--image-hero, url("./assets/forest-hero.png")) center/cover no-repeat;
  }

  .customer-login-copy {
    gap: 12px;
  }

  .customer-login-copy h1 {
    font-size: clamp(2.35rem, 11vw, 2.95rem);
    line-height: 0.98;
  }

  .customer-login-copy p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .customer-login-copy ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .customer-login-copy li {
    padding: 8px 10px;
  }

  .customer-login-card {
    padding: 22px;
  }

  #accountContent {
    width: calc(100% - 28px);
    padding: 104px 0 64px;
  }

  .booking-form {
    min-width: 0;
    padding: 18px;
  }

  .steps,
  .hero__notes {
    grid-template-columns: 1fr;
  }

  .section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .section h2 {
    font-size: 2.55rem;
  }

  .support-section {
    padding: 64px 14px;
  }

  .support-feature {
    min-height: 360px;
    padding: 30px;
  }

  .support-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .support-list h3 {
    font-size: 1.55rem;
  }

  .booking-section {
    padding: 64px 14px;
  }

  .app-header,
  .app-hero,
  .admin-title,
  .detail-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-header nav {
    justify-content: start;
  }

  body:not(.admin-body) .app-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }

  body:not(.admin-body) .app-header nav {
    justify-content: end;
  }

  body:not(.admin-body) .design-credit {
    display: none;
  }

  .admin-body .app-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 14px;
  }

  .admin-body .brand {
    font-size: 0.86rem;
  }

  .admin-body .app-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    justify-content: end;
  }

  .admin-body .app-header nav a {
    display: none;
  }

  .admin-body .app-header nav a,
  .admin-body .app-header nav button {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(49, 70, 82, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 250, 242, 0.78);
  }

  .admin-body .design-credit {
    display: none;
  }

  .admin-sidebar {
    top: 62px;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 250, 242, 0.14);
    overflow: visible;
  }

  .admin-sidebar strong,
  .admin-sidebar .admin-nav-button {
    display: none;
  }

  .admin-mobile-switcher {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: rgba(255, 250, 242, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .admin-mobile-switcher select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 40px 0 12px;
    border: 1px solid rgba(255, 250, 242, 0.18);
    border-radius: var(--radius);
    color: var(--teal);
    background:
      linear-gradient(45deg, transparent 50%, var(--teal) 50%) calc(100% - 22px) 52% / 7px 7px no-repeat,
      linear-gradient(135deg, var(--teal) 50%, transparent 50%) calc(100% - 15px) 52% / 7px 7px no-repeat,
      #fffaf2;
    appearance: none;
    font-weight: 900;
  }

  .admin-content {
    width: 100%;
    min-width: 0;
    padding: 18px 12px 34px;
    overflow-wrap: anywhere;
  }

  .admin-title,
  .admin-section-heading,
  .communication-page .admin-section-heading {
    gap: 12px;
    margin-bottom: 16px;
    padding: 18px;
  }

  .admin-title h1,
  .admin-section-heading h1,
  .communication-page .admin-section-heading h1 {
    font-size: clamp(2rem, 12vw, 2.75rem);
    line-height: 1;
  }

  .admin-title p,
  .admin-section-heading p,
  .communication-page .admin-section-heading p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

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

  .overview-grid article {
    padding: 14px;
  }

  .admin-action-grid a {
    min-height: auto;
    padding: 16px;
  }

  .admin-list-panel,
  .admin-detail-panel,
  .admin-log-grid article,
  .admin-control-grid > article,
  .visual-editor-panel,
  .admin-calendar-panel,
  .communication-panel,
  .appointment-detail,
  .email-event-detail,
  .account-side,
  .intake-section {
    min-width: 0;
    padding: 16px;
  }

  .visual-editor {
    max-height: none;
    overflow: visible;
    padding: 10px;
  }

  .visual-editor-hero,
  .visual-editor-section,
  .visual-editor-booking {
    padding: 18px;
  }

  .image-edit-card {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 10px;
  }

  .image-edit-card img {
    width: 82px;
  }

  .calendar-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .calendar-toolbar strong {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 4px 0;
    text-align: left;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calendar-weekday,
  .calendar-day.is-muted:not(.has-admin-items),
  .calendar-day:not(.has-admin-items):not(.is-today) {
    display: none;
  }

  .calendar-day {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: auto;
    align-items: start;
    gap: 8px 10px;
    padding: 12px;
  }

  .calendar-day > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fffaf2;
    background: var(--teal);
  }

  .calendar-day.is-today > span {
    background: var(--coral-dark);
  }

  .calendar-day button,
  .calendar-day em {
    grid-column: 2;
    min-height: 38px;
  }

  .calendar-day em {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: calc(var(--radius) - 2px);
    background: var(--teal-soft);
  }

  .date-picker-row {
    grid-template-columns: 1fr;
  }

  .customer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-edit-grid {
    gap: 8px;
  }

  .compact-edit-form {
    padding: 12px;
  }

  .row-actions,
  .form-actions,
  .admin-section-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .row-actions > *,
  .form-actions > *,
  .admin-section-links > *,
  .compact-list button,
  .admin-form button,
  .detail-columns button {
    width: 100%;
    min-height: 44px;
  }

  .email-preview-content,
  .communication-panel--preview .email-preview {
    padding-right: 14px;
    padding-left: 14px;
  }

  .email-preview-paper {
    padding: 18px;
  }

  .social-post-preview img,
  .social-post-saved-image img,
  .social-post-thumb {
    max-width: 100%;
  }

  .design-credit {
    justify-self: start;
  }

  .app-main {
    width: calc(100% - 28px);
  }

  .hero__quote {
    padding: 18px;
  }

  .hero__quote p {
    font-size: 1.18rem;
  }
}
