/* Self-hosted fonts (EB Garamond, Manrope) — downloaded from Google Fonts
   to avoid CDN latency and the visible font swap (FOIT/FOUT) on first paint.
   Cover latin + cyrillic + greek so ru/en/gr all render in the same typeface. */

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-italic-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-normal-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-normal-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-normal-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #faf6ef;
  --ink: #2c3a30;
  --deep-green: #1b3d2e;
  --body-text: #4d5c50;
  --muted-text: #5a6a5d;
  --faint-text: #8a978c;
  --italic-text: #6b7d6f;
  --accent: #c9a13b;
  --accent-soft: rgba(201, 161, 59, 0.10);
  --accent-border: rgba(201, 161, 59, 0.45);
}

* {
  box-sizing: border-box;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

body {
  margin: 0;
  background: var(--cream);
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
}

.page {
  max-width: 480px;
  margin: 0 auto;
  background: var(--cream);
  overflow: hidden;
}

/* HERO */

.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 45%;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    var(--cream) 0%,
    var(--cream) 34%,
    rgba(250, 246, 239, 0.82) 48%,
    rgba(250, 246, 239, 0.35) 64%,
    rgba(250, 246, 239, 0) 80%);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 26px 22px 36px;
}

.hero__logo {
  width: 118px;
  height: auto;
  display: block;
}

.hero__text {
  margin-top: 28px;
  max-width: min(270px, 58%);
}

.hero__title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(26px, 7.2vw, 30px);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--deep-green);
}

.hero__subtitle {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body-text);
  margin: 0;
}

/* WORKSPACES */

.workspaces {
  padding: 36px 20px 8px;
}

.workspaces__heading {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: clamp(24px, 6.5vw, 30px);
  line-height: 1.15;
  margin: 8px 0 0;
  color: var(--deep-green);
}

.workspaces__status {
  text-align: center;
  font-size: 14px;
  color: var(--muted-text);
  padding: 24px 0;
}

.card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 10px 34px rgba(27, 61, 46, 0.09);
  border: 1px solid rgba(27, 61, 46, 0.06);
}

.card--last {
  margin-bottom: 8px;
}

.card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 22px 22px 24px;
}

.card__title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--deep-green);
}

.card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted-text);
  margin: 0 0 16px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  border-top: 1px solid var(--accent-border);
  padding-top: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted-text);
}

.price-row__price {
  color: var(--deep-green);
  font-weight: 500;
}

.cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--deep-green);
  border: 1.5px solid var(--deep-green);
}

.cta.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.cta.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(27, 61, 46, 0.25);
  border-top-color: var(--deep-green);
  border-radius: 50%;
  animation: cta-spin 0.7s linear infinite;
}

.auth__submit.is-loading::after,
.admin__submit.is-loading::after {
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: var(--cream);
}

@keyframes cta-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta.is-loading::after {
    animation-duration: 1.5s;
  }
}

/* ABOUT BANNER */

.about {
  padding: 36px 20px 14px;
}

.about__frame {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(27, 61, 46, 0.1);
}

.about__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  animation: aboutCrossfade 16s linear infinite;
}

.about__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg,
    var(--cream) 0%,
    var(--cream) 46%,
    rgba(250, 246, 239, 0.85) 60%,
    rgba(250, 246, 239, 0.25) 78%,
    rgba(250, 246, 239, 0) 92%);
}

.about__content {
  position: relative;
  z-index: 3;
  padding: 24px 22px;
  max-width: min(245px, 56%);
}

.about__title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--deep-green);
  margin-bottom: 9px;
}

.about__text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--body-text);
  margin: 0 0 14px;
}

.about__signature {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--italic-text);
}

@keyframes aboutCrossfade {
  0% { opacity: 1; }
  19% { opacity: 1; }
  25% { opacity: 0; }
  94% { opacity: 0; }
  100% { opacity: 1; }
}

/* CONTACTS */

.contacts {
  padding: 26px 22px 22px;
  text-align: center;
  border-top: 1px solid rgba(27, 61, 46, 0.1);
  margin-top: 8px;
}

.contacts__title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--deep-green);
  margin: 0 0 18px;
}

.contacts__list {
  display: inline-flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
}

.contact-row__icon {
  flex-shrink: 0;
}

.contact-row__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  line-height: 1.4;
}

.contact-row__primary {
  font-size: 14px;
  color: var(--deep-green);
  white-space: nowrap;
}

.contact-row__address {
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-green);
  white-space: nowrap;
}

.contact-row__secondary {
  font-size: 12px;
  color: var(--faint-text);
  white-space: nowrap;
}

.contact-row__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.contact-row__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  text-align: left;
  line-height: 1.4;
}

.contact-row__name {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--italic-text);
}

.contact-row__email {
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

/* FOOTER */

.site-footer {
  padding: 20px 22px 30px;
  text-align: center;
  border-top: 1px solid rgba(27, 61, 46, 0.1);
}

.site-footer__links {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
}

.social-link {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
}

.social-link__icon {
  margin-bottom: 8px;
}

.social-link__label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--deep-green);
}

.social-link__handle {
  font-size: 11.5px;
  color: var(--faint-text);
  margin-top: 3px;
}

.site-footer__copy {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--faint-text);
  margin-top: 18px;
}

/* AUTH */

.auth {
  padding: 36px 22px;
}

.auth__title {
  text-align: center;
  margin-bottom: 12px;
}

.auth__desc {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-text);
  margin: 0 0 20px;
}

.auth__form,
.admin__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}

.auth__field,
.admin__field,
.profile__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth__field-label,
.admin__field-label,
.profile__field-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint-text);
}

.auth__input,
.admin__input,
.profile__input {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--accent-border);
  background: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--ink);
}

.auth__input:focus,
.admin__input:focus,
.profile__input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth__error,
.admin__error {
  font-size: 13px;
  color: #b3261e;
  margin: 0;
}

.auth__submit,
.admin__submit,
.profile__submit {
  background: var(--deep-green);
  color: var(--cream);
  border-color: var(--deep-green);
  cursor: pointer;
}

.auth__debug {
  text-align: center;
  font-size: 12px;
  color: var(--faint-text);
}

.auth__privacy-notice {
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint-text);
  text-align: center;
  margin: 12px 0 0;
}

.auth__privacy-link {
  color: var(--deep-green);
  text-decoration: underline;
}

.auth__privacy-link:hover {
  text-decoration: underline;
}

/* PROFILE */

.profile {
  padding: 36px 22px;
}

.profile__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.profile__back {
  margin-top: 12px;
}

.profile__title {
  margin: 0;
}

.profile__status {
  text-align: center;
  font-size: 14px;
  color: var(--muted-text);
  padding: 40px 20px;
}

.profile__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.profile__detail {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.profile__section-title {
  font-size: 15px;
  margin-bottom: 12px;
}

.profile__edit-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 28px;
}

.profile__edit-btn:hover {
  opacity: 0.7;
}

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

.profile__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  overflow-x: auto;
  display: block;
}

.profile__table thead,
.profile__table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.profile__table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint-text);
  padding: 0 8px 8px 0;
  border-bottom: 1.5px solid var(--accent-border);
}

.profile__table td {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid rgba(138, 151, 140, 0.2);
  color: var(--ink);
}

.profile__logout {
  margin-top: 28px;
}

.profile__delete-entry {
  margin-top: 12px;
}

.profile__delete {
  background: transparent;
  color: #b3261e;
  border-color: #b3261e;
}

.profile__delete.is-loading::after {
  border-color: rgba(179, 38, 30, 0.25);
  border-top-color: #b3261e;
}

.profile__booking-cancel-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

.profile__booking-cancel-btn:hover {
  opacity: 0.7;
}

.profile__modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 61, 46, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  z-index: 100;
}

.profile__modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 20px 20px 20px 20px;
  padding: 28px 22px;
  margin-top: 20px;
}

.profile__modal--confirm {
  max-width: 340px;
  text-align: center;
}

.profile__modal-confirm-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 6px 0 20px;
}

.profile__modal-confirm-actions {
  display: flex;
  gap: 10px;
}

.profile__modal-confirm-actions .cta {
  margin: 0;
}

.profile__modal-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
}

.profile__modal-contacts-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
}

.profile__modal-contacts {
  margin: 0 0 20px;
}

.profile__modal-contact-line {
  margin: 6px 0;
}

.profile__modal-contact-line a {
  color: var(--deep-green);
  text-decoration: none;
}

.profile__modal-contact-line a:hover {
  text-decoration: underline;
}

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

.profile__modal-actions .cta {
  margin: 0;
}

/* BOOKING */

.booking {
  padding: 0 0 30px;
}

.booking__status {
  text-align: center;
  font-size: 14px;
  color: var(--muted-text);
  padding: 40px 20px;
}

.booking__back-link {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 14px;
}

.booking__gallery {
  position: relative;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe4dc 0%, #c3cec1 100%);
  margin: 10px 20px 0;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(27, 61, 46, 0.1);
}

.booking__gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking__info { padding: 22px 20px 0; }
.booking__title { text-align: left; margin: 0 0 6px; }
.booking__meta { font-size: 13.5px; color: var(--muted-text); margin: 0; }

.booking__divider {
  height: 1px;
  border: none;
  background: rgba(27, 61, 46, 0.1);
  margin: 22px 20px 0;
}

/* Shared with .admin__cal-* (special-days calendar): same visual system,
   kept as separate class families since that calendar supports multi-select
   + unsaved-change highlighting that this single-select booking calendar has
   no use for. */
.booking__cal { padding: 22px 20px 0; }
.booking__cal-head,
.admin__cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.booking__cal-month,
.admin__cal-month {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--deep-green);
}
.booking__cal-nav,
.admin__cal-nav {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(27, 61, 46, 0.1);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-green);
}
.booking__cal-nav:hover, .admin__cal-nav:hover { background: var(--accent-soft); }
.booking__cal-nav svg, .admin__cal-nav svg { width: 14px; height: 14px; }

.booking__cal-weekdays, .booking__cal-grid,
.admin__cal-weekdays, .admin__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.booking__cal-weekdays, .admin__cal-weekdays { margin-bottom: 6px; }
.booking__cal-weekday,
.admin__cal-weekday {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint-text);
  padding-bottom: 6px;
}

.booking__cal-day,
.admin__cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: none;
  background: transparent;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border-radius: 999px;
}
.booking__cal-day:hover:not(.booking__cal-day--selected),
.admin__cal-day:hover:not(.admin__cal-day--active) { background: var(--accent-soft); }
.booking__cal-day--muted { color: var(--faint-text); }
.booking__cal-day--empty, .admin__cal-day--empty { visibility: hidden; }
.booking__cal-day--disabled, .admin__cal-day--disabled { color: var(--faint-text); opacity: 0.4; cursor: not-allowed; }
.booking__cal-day--disabled:hover, .admin__cal-day--disabled:hover { background: transparent; }
.booking__cal-day--selected,
.admin__cal-day--active {
  background: var(--deep-green);
  color: var(--cream);
  font-weight: 600;
}
.booking__cal-day--today::after,
.admin__cal-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}
.booking__cal-day--selected.booking__cal-day--today::after,
.admin__cal-day--active.admin__cal-day--today::after { background: var(--cream); }

/* Admin-only: highlights a date with an unsaved pending edit — the booking
   calendar has no equivalent since it has no draft/save step. */
.admin__cal-day--dirty {
  background: var(--accent-soft);
}

/* Booking-history range picker: the two endpoints reuse the --active fill,
   the in-between days get the soft accent so the span reads as one range. */
.admin__cal-day--range-start,
.admin__cal-day--range-end {
  background: var(--deep-green);
  color: var(--cream);
  font-weight: 600;
}
.admin__cal-day--in-range {
  background: var(--accent-soft);
}
.admin__cal-day--range-start.admin__cal-day--today::after,
.admin__cal-day--range-end.admin__cal-day--today::after { background: var(--cream); }

/* Bookings calendar (admin "Bookings" screen): "today" is a hollow ring
   rather than the small dot the other .admin__cal-* calendars use for it,
   because here the dot is repurposed to mark a date that has (or had)
   bookings — the two concerns needed separate glyphs. */
.admin__cal-day--today-outline {
  box-shadow: inset 0 0 0 1px var(--deep-green);
}
.admin__cal-day--has-bookings::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}
.admin__cal-day--active.admin__cal-day--has-bookings::after { background: var(--cream); }

/* Booking-history: the quick-range presets + custom-dates toggle row. */
.admin__range-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin__range-btn {
  flex: 1;
  min-width: 96px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 61, 46, 0.18);
  background: transparent;
  color: var(--deep-green);
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.admin__range-btn:hover { background: var(--accent-soft); }
.admin__range-btn--active {
  background: var(--deep-green);
  color: var(--cream);
  border-color: var(--deep-green);
}
.admin__range-label {
  font-size: 13px;
  color: var(--muted-text);
  text-align: center;
}

.booking__availability { padding: 22px 20px 0; }
.booking__availability-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.booking__availability-status { font-size: 14px; color: var(--muted-text); }
.booking__availability-step { font-size: 12px; color: var(--faint-text); }

.booking__empty {
  font-size: 13.5px;
  color: var(--faint-text);
  font-style: italic;
  font-family: 'EB Garamond', serif;
  padding: 6px 0 4px;
}

.booking__chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.booking__chip-label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint-text);
  margin: 0 0 8px;
}
.booking__chip {
  flex: 1 1 auto;
  min-width: 84px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(27, 61, 46, 0.1);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-align: center;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.booking__chip:hover:not(.booking__chip--selected) { border-color: var(--accent-border); }
.booking__chip--selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--deep-green);
}

.booking__time-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.booking__time-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking__time-sep { flex-shrink: 0; color: var(--faint-text); font-size: 13px; padding-top: 14px; }
.booking__time-select {
  appearance: none;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(27, 61, 46, 0.1);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.booking__time-select:hover { border-color: var(--accent-border); }

.booking__summary {
  font-size: 13.5px;
  color: var(--muted-text);
  padding-top: 4px;
  min-height: 20px;
  margin: 0;
}
.booking__summary--placeholder {
  color: var(--faint-text);
  font-style: italic;
  font-family: 'EB Garamond', serif;
}

.booking__pay-note {
  color: var(--accent);
  font-weight: 500;
  padding-top: 8px;
}

.booking__bar-space { height: 84px; }
.booking__bar {
  position: sticky;
  bottom: 0;
  background: var(--cream);
  border-top: 1px solid rgba(27, 61, 46, 0.1);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.booking__bar-label {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint-text);
  margin: 0 0 2px;
}
.booking__bar-price {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--deep-green);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.booking__submit:disabled {
  background: rgba(27, 61, 46, 0.16);
  color: rgba(27, 61, 46, 0.4);
  border-color: transparent;
}

.booking__home-link {
  display: block;
  width: max-content;
  /* 1.5x the ~44px rendered height of .cta (13px padding + ~15px line-height + 1.5px border, top and bottom) */
  margin: 66px auto 24px;
  padding: 9px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--accent-border);
  background: transparent;
  color: var(--muted-text);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.booking__error { margin-top: 12px; }

.booking__balance-line {
  font-size: 13.5px;
  color: var(--muted-text);
  text-align: center;
  margin: 10px 0 0;
  min-height: 18px;
}

.booking__insufficient-warning { margin-top: 6px; }

.booking__modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 61, 46, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  z-index: 100;
}

.booking__modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 20px 20px 20px 20px;
  padding: 28px 22px;
  margin-top: 20px;
}

.booking__modal-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
}

.booking__modal-contacts-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
}

.booking__modal-contacts {
  margin: 0 0 20px;
}

.booking__modal-contact-line {
  margin: 6px 0;
}

.booking__modal-contact-line a {
  color: var(--deep-green);
  text-decoration: none;
}

.booking__modal-contact-line a:hover {
  text-decoration: underline;
}

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

.booking__modal-actions .cta {
  margin: 0;
}

/* HEADER ACTIONS (profile/login button + language switcher) */

.header-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--accent-border);
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(4px);
  color: var(--deep-green);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* LANGUAGE SWITCHER */

.lang-switch {
  position: relative;
}

.lang-switch__button {
  min-width: 48px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--accent-border);
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(4px);
  color: var(--deep-green);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-switch__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(27, 61, 46, 0.16);
  border: 1px solid rgba(27, 61, 46, 0.08);
}

.lang-switch__option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-text);
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.lang-switch__option:hover {
  background: var(--accent-soft);
}

.lang-switch__option--active {
  color: var(--deep-green);
  font-weight: 600;
}

/* ADMIN */

.admin {
  /* Extra top clearance (vs. the usual 36px) so the top-right header button
     (logout/back) doesn't sit under the fixed .lang-switch button. */
  padding: 72px 22px 36px;
}

.admin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.admin__title {
  margin: 0;
}

.admin__back {
  display: block;
  margin: 20px auto 0;
  border: 1.5px solid var(--accent-border);
  border-radius: 999px;
  background: transparent;
  color: var(--deep-green);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
}

.admin__logout {
  border: 1.5px solid var(--accent-border);
  border-radius: 999px;
  background: transparent;
  color: var(--deep-green);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
}

.admin__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin__menu-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--accent-border);
  background: #ffffff;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  text-align: left;
}

.admin__menu-item--disabled {
  border-color: rgba(138, 151, 140, 0.35);
  color: var(--faint-text);
}

.admin__content {
  color: var(--muted-text);
}

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

.admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  overflow-x: auto;
  display: block;
}

.admin__table thead,
.admin__table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.admin__table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint-text);
  padding: 0 8px 8px 0;
  border-bottom: 1.5px solid var(--accent-border);
}

.admin__table td {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid rgba(138, 151, 140, 0.2);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin__price-tiers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
  text-align: left;
}

.admin__price-tier {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.admin__price-tier-label {
  color: var(--faint-text);
  font-size: 12px;
  min-width: 32px;
}

.admin__table-edit {
  border: none;
  background: transparent;
  color: var(--deep-green);
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  text-decoration: underline;
  padding: 0;
}

.admin__add {
  margin-top: 20px;
  max-width: 220px;
}

.admin__field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.admin__modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 61, 46, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  z-index: 100;
}

.admin__modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 20px 20px 20px 20px;
  padding: 28px 22px;
  margin-top: 20px;
}

.admin__modal-title {
  text-align: center;
  margin: 0 0 18px;
}

.admin__modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--muted-text);
  padding: 4px;
}

.admin__delete {
  background: transparent;
  color: #b3261e;
  border-color: #b3261e;
  margin-top: -4px;
}

.admin__delete.is-loading::after {
  border-color: rgba(179, 38, 30, 0.25);
  border-top-color: #b3261e;
}

.admin__modal--confirm {
  max-width: 340px;
  text-align: center;
}

.admin__modal-confirm-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 6px 0 20px;
}

.admin__modal-confirm-actions {
  display: flex;
  gap: 10px;
}

.admin__modal-confirm-actions .cta {
  margin: 0;
}

.admin__schedule-section {
  max-width: 480px;
  margin: 0 0 32px;
}

.admin__schedule-section:last-child {
  margin-bottom: 0;
}

.admin__schedule-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.admin__schedule-actions .admin__submit {
  margin: 0;
}

.admin__reset {
  flex: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(27, 61, 46, 0.2);
  background: transparent;
  color: var(--deep-green);
  font-weight: 600;
}

.admin__reset:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin__time-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin: 14px 0;
}

.admin__time-fields .admin__field {
  flex: 1 1 120px;
}

.admin__time-fields .admin__field--checkbox {
  flex: 1 1 auto;
}

/* Weekday bar — one visually continuous pill, days separated by a divider
   rather than gaps, so it reads as a single control. */
.admin__weekday-bar {
  display: flex;
  border-radius: 999px;
  border: 1.5px solid rgba(27, 61, 46, 0.15);
  overflow: hidden;
}

.admin__weekday-btn {
  flex: 1;
  padding: 12px 4px;
  border: none;
  border-right: 1px solid rgba(27, 61, 46, 0.15);
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.admin__weekday-btn:last-child {
  border-right: none;
}

.admin__weekday-btn--dirty {
  background: var(--accent-soft);
}

.admin__weekday-btn--active {
  background: var(--deep-green);
  color: var(--cream);
}

/* Confirmation of a completed action, shown in place inside a screen (the
   sell-subscription form is the only user so far). Mirrors .admin__error. */
.admin__success {
  font-size: 14px;
  font-weight: 600;
  color: #2e7d32;
  text-align: center;
  padding: 12px 0;
  margin: 0;
}

/* Sell subscription: the selected customer's name and remaining balances,
   shown between the customer dropdown and the rest of the form. */
.admin__sell-info {
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid var(--accent-border);
  padding: 16px 18px;
  margin-bottom: 4px;
}

.admin__sell-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--deep-green);
  margin: 0 0 10px;
}

.admin__sell-no-subs {
  font-size: 13px;
  color: var(--muted-text);
  margin: 0;
}

.admin__sell-subs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.6;
}



/*# sourceMappingURL=main.f001ebc75b6e499c402f.css.map*/