/* ===== FONTS & GLOBAL RESET ===== */
:root {
  /* ===== Design tokens ===== */
  --cream: #FBF3E7;
  /* hero left background */
  --cream-deep: #F5E9D6;
  --gold: #D4A937;
  /* icon circles, accents */
  --gold-dark: #B5892A;
  --espresso: #5A3A1E;
  /* primary button */
  --espresso-dark: #472C15;
  --ink: #201C18;
  /* headline / dark text */
  --ink-soft: #756C62;
  /* body copy */
  --grey: #6E6A64;
  --light-grey: #D3D3D3;
  --light-pink: #FFB6C1;
  --light-gold: #F1E5AC;
  --line: #E7DDC9;
  --white: #FFFFFF;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

@font-face {
  font-family: "Playfair Display";
  src: url(fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf) format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url(fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf) format("truetype");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url(fonts/Raleway/Raleway-VariableFont_wght.ttf) format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

img {
  max-width: 100%;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: rgb(245, 243, 239);
  display: flex;
  flex-direction: column;
}


/* ===== PAGE LAYOUT ===== */

main {
  display: flex;
  flex: 1;
  min-height: 0;
}

.main-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 20px 30px;
  box-sizing: border-box;
}


/* ===== STAFF HEADER (TOP BAR) ===== */

.staff-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-right: 30px;
}

.notification {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgb(220, 220, 220);
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
}

.notification:hover {
  background-color: rgb(201, 168, 76);
}

.logo-container {
  width: 180px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-left: 10px;
}

#logo {
  width: 130px;
  height: 40px;
}

.page-title {
  flex: 1;
  min-width: 150px;
}

.page-title h2 {
  font-family: "Playfair Display", serif;
  margin: 0;
  padding: 0;
}

.page-title p {
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  margin: 0;
}

.staff-hamburger-btn,
.staff-search-btn {
  display: none;
}

.profile-menu {
  position: relative;
}

.profile-menu .profile-card {
  width: 100%;
  border: none;
  font: inherit;
  text-align: left;
}

.profile-menu .profile-dropdown {
  top: auto;
  right: auto;
  bottom: calc(100% + 8px);
  left: 0;
  width: 150px;
}

.staff-header .logout-btn {
  display: none;
}

@media (min-width: 861px) {
  .staff-header--appointments {
    min-height: 90px;
    box-sizing: border-box;
    padding: 0 24px;
    border-bottom: 1px solid var(--um-border);
  }

  .staff-header--appointments>.logo-container {
    display: none;
  }

  .staff-header--appointments .page-title {
    min-width: 0;
  }

  .staff-header--appointments .page-title h2 {
    margin: 0;
    color: #1a1714;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
  }

  .staff-header--appointments .page-title p {
    margin-top: 6px;
    color: #8a837a;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
  }

  .staff-header--appointments .actions {
    gap: 8px;
    margin-left: auto;
    padding-right: 0;
  }

  .staff-header--appointments .search {
    width: 210px;
  }
}

@media (max-width: 860px) {
  .staff-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 8px 12px;
  }

  .staff-hamburger-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 70px;
    height: 38px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .staff-hamburger-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }

  .staff-hamburger-logo {
    display: none;
  }

  .staff-header>.logo-container,
  .staff-header .search,
  .staff-header .logout-btn {
    display: none;
  }

  .staff-header.search-open .search {
    display: flex;
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    z-index: 10;
  }

  .page-title {
    min-width: 0;
  }

  .page-title h2 {
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-title p {
    display: none;
  }

  .actions {
    display: contents;
  }

  .staff-search-btn,
  .notification {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
  }

  .staff-search-btn {
    grid-column: 3;
    grid-row: 1;
  }

  .notification-wrap {
    grid-column: 4;
    grid-row: 1;
  }

  .notification {
    width: 30px;
    height: 30px;
  }

  .staff-search-btn .search-svg,
  .notification .notification-bell {
    width: 15px;
    height: 15px;
    object-fit: contain;
  }

  .notification-bell,
  .staff-search-btn .search-svg {
    width: 15px;
    height: 15px;
  }

  section.staff-sidebar {
    display: none;
  }

  section.staff-sidebar.mobile-sidebar-open {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    width: min(280px, 82vw);
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
  }

  .main-content {
    min-width: 0;
    padding: 14px 12px;
  }

  .profile-menu .profile-dropdown {
    right: auto;
    left: 0;
  }
}

@media (max-width: 360px) {
  .staff-header {
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .staff-hamburger-btn {
    width: 62px;
  }

  .staff-hamburger-logo {
    display: none;
  }

  .page-title h2 {
    font-size: 0.9rem;
  }

  .staff-search-btn,
  .notification {
    width: 27px;
    height: 27px;
  }
}


/* ===== SIDEBAR NAVIGATION ===== */

.sidebar {
  display: flex;
  flex-direction: column;
  background-color: white;
  height: 100%;
  width: 180px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 15px 15px 15px;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.04);
  overflow-y: auto;
  transition: width 0.2s ease;
}

.staff-sidebar-logo-wrap {
  display: none;
}

nav ul {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  margin: 0;
  padding: 0;
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #B93C3C;
  color: white;
  font-family: "Raleway", sans-serif;
  font-size: 1vh;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge[hidden] {
  display: none;
}

.nav-item {
  display: flex;
  align-items: center;
  list-style: none;
  margin-left: -15px;
  margin-right: -15px;
  padding: 8px 15px;
  border-left: 3px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-item a {
  text-decoration: none;
  color: inherit;
  margin-left: 0.6vh;
}

.nav-item:hover {
  background-color: rgba(201, 168, 76, 0.12);
  border-left: 3px solid rgb(201, 168, 76);
}

.nav-bullet {
  display: block;
  width: 6px;
  height: 6px;
}

.nav-item.active {
  background-color: rgba(201, 168, 76, 0.12);
  border-left: 3px solid #C9A84C;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  margin-left: 0;
}

.sidebar-heading+.status-item {
  margin-top: 8px;
}

.status-item span {
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
}

.status-divider {
  margin-top: 5px;
}

h6 {
  margin-left: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  color: rgb(145, 118, 118);
}

hr {
  border: none;
  border-top: 1px solid rgb(205, 205, 205);
  flex-shrink: 0;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(220, 220, 220);
  background-color: white;
  border-radius: 6px;
  padding: 6px 12px;
  min-width: 0;
  position: relative;
}

.search-suggestions {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid rgb(220, 220, 220);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  max-height: 260px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}

.search-suggestions.show {
  display: block;
}

.search-suggestions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  cursor: pointer;
}

.search-suggestions li:hover,
.search-suggestions li.active {
  background-color: rgba(201, 168, 76, 0.12);
}

.search-suggestions .suggestion-client {
  font-weight: 600;
  color: rgb(40, 40, 40);
}

.search-suggestions .suggestion-meta {
  font-size: 0.65rem;
  color: rgb(150, 150, 150);
  white-space: nowrap;
}

.search-suggestions .no-results {
  padding: 10px 14px;
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  color: rgb(150, 150, 150);
  cursor: default;
}

.search-suggestions .no-results:hover {
  background-color: transparent;
}

.search input {
  border: none;
  outline: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
}

.search-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}


/* ===== STATUS ICONS ===== */

.Confirmed-icon,
.Pending-icon,
.Completed-icon,
.Cancelled-icon,
.No-Show-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.Confirmed-icon {
  background-color: #4388E8;
}

.Pending-icon {
  background-color: #C9A84C;
}

.Completed-icon {
  background-color: #228B46;
}

.Cancelled-icon {
  background-color: #B93C3C;
}

.No-Show-icon {
  background-color: #D1D1D1;
}


/* ===== PROFILE CARD (SIDEBAR) ===== */

.profile-card {
  margin: auto -15px -15px -15px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.15s ease;
  padding: 15px 15px 8px 15px;
}

.profile-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  margin: 0;
  border: none;
  outline: none;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.profile-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgb(245, 243, 239);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgb(145, 118, 118);
  flex-shrink: 0;
}

.profile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-family: "Raleway", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-role {
  font-family: "Raleway", sans-serif;
  font-size: 0.6rem;
  color: rgb(150, 150, 150);
}

.profile-card hr {
  margin: 0;
  padding: 0;
}

.profile-divider {
  margin: 0;
  border: none;
  border-top: 1px solid rgb(205, 205, 205);
  flex-shrink: 0;
  width: 100%;
}

.profile-card:hover {
  background-color: rgba(201, 168, 76, 0.12);
}

.profile-wrap {
  margin-top: auto;
}

.clients-dashboard {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  color: rgb(55, 51, 46);
}

.clients-dashboard-heading,
.clients-table-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.clients-dashboard-heading {
  margin-bottom: 18px;
}

.clients-eyebrow {
  margin: 0 0 5px;
  color: rgb(165, 137, 63);
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.clients-dashboard h1,
.clients-dashboard h2 {
  margin: 0;
  color: rgb(55, 51, 46);
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.clients-dashboard h1 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.clients-dashboard h2 {
  font-size: 1.1rem;
}

.clients-dashboard-date,
.clients-table-count {
  margin: 0;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
}

.client-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.client-summary-card {
  min-width: 0;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid rgb(232, 228, 220);
  border-top: 3px solid #C9A84C;
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(80, 60, 30, 0.04);
}

.client-summary-label {
  margin: 0;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.client-summary-value {
  margin: 6px 0 3px;
  color: #C9A84C;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.client-summary-value--cancelled {
  color: #B93C3C;
}

.client-summary-hint {
  margin: 0;
  color: rgb(165, 165, 165);
  font-family: "Raleway", sans-serif;
  font-size: 0.6rem;
}

.clients-table-section {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgb(232, 228, 220);
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(80, 60, 30, 0.04);
}

.clients-table-heading {
  padding: 15px 18px;
}

.clients-table-wrap {
  max-height: min(42vh, 390px);
  overflow: auto;
}

.clients-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: "Raleway", sans-serif;
}

.clients-table th {
  padding: 10px 16px;
  background: rgb(248, 247, 243);
  border-top: 1px solid rgb(240, 237, 231);
  border-bottom: 1px solid rgb(232, 228, 220);
  color: rgb(145, 145, 145);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}

.clients-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgb(240, 237, 231);
  color: rgb(90, 86, 80);
  font-size: 0.68rem;
  vertical-align: middle;
  white-space: nowrap;
}

.clients-table tbody tr:last-child td {
  border-bottom: none;
}

.clients-table tbody tr:hover {
  background: rgb(253, 252, 249);
}

.clients-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
}

.clients-table-footer p {
  margin: 0;
}

.clients-pagination {
  display: flex;
  gap: 5px;
}

.clients-pagination button {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid rgb(232, 228, 220);
  border-radius: 4px;
  background: #fff;
  color: rgb(125, 125, 125);
  cursor: pointer;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
}

.clients-pagination button:hover,
.clients-pagination button.active {
  border-color: #C9A84C;
  background: #C9A84C;
  color: #fff;
}

.client-name-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.client-name-cell>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.client-name-cell strong,
.client-appointment-cell strong {
  color: rgb(55, 51, 46);
  font-weight: 600;
}

.client-name-cell small,
.client-appointment-cell span {
  color: rgb(160, 160, 160);
  font-size: 0.55rem;
}

.client-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(246, 244, 239);
  color: rgb(145, 118, 118);
  font-size: 0.52rem;
  font-weight: 700;
}

.client-appointment-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.client-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 12px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.client-status>span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.client-status--pending,
.client-status--rescheduled {
  color: #A9843A;
  background: rgba(201, 168, 76, 0.16);
}

.client-status--confirmed {
  color: #777;
  background: rgba(146, 146, 146, 0.14);
}

.client-status--completed {
  color: #228B46;
  background: rgba(34, 139, 70, 0.13);
}

.client-status--cancelled,
.client-status--no-show {
  color: #B93C3C;
  background: rgba(185, 60, 60, 0.12);
}

.client-action {
  margin-right: 12px;
  padding: 0;
  border: none;
  background: none;
  color: #A9843A;
  cursor: pointer;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
}

.client-action:hover {
  text-decoration: underline;
}

.client-action--muted,
.client-action--muted:hover {
  color: rgb(170, 170, 170);
  cursor: default;
  text-decoration: none;
}

.clients-table-message {
  padding: 28px 16px !important;
  color: rgb(150, 150, 150) !important;
  text-align: center;
}

.clients-error {
  margin: 0;
  padding: 10px 18px;
  background: rgba(185, 60, 60, 0.08);
  color: #B93C3C;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
}

.client-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.client-modal-overlay.show {
  display: flex;
}

.client-detail-modal {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  font-family: "Raleway", sans-serif;
}

.client-detail-topbar {
  height: 4px;
  border-radius: 12px 12px 0 0;
  background: #C9A84C;
}

.client-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgb(245, 243, 239);
  color: rgb(90, 90, 90);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.client-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 24px 10px;
}

.client-detail-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(245, 243, 239);
  color: rgb(145, 118, 118);
  font-size: 0.9rem;
  font-weight: 600;
}

.client-detail-header .clients-eyebrow {
  margin-bottom: 3px;
}

.client-detail-header h2 {
  margin: 0;
  color: rgb(55, 51, 46);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.client-detail-header p:last-child {
  margin: 4px 0 0;
  color: rgb(150, 150, 150);
  font-size: 0.68rem;
}

.client-detail-status-wrap {
  padding: 0 24px 18px;
}

.client-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  padding: 18px 24px;
  border-top: 1px solid rgb(225, 225, 225);
}

.client-detail-grid div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.client-detail-grid span {
  color: rgb(160, 160, 160);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.client-detail-grid strong {
  overflow-wrap: anywhere;
  color: rgb(40, 40, 40);
  font-size: 0.85rem;
  font-weight: 600;
}

.client-detail-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px 24px;
}

.client-detail-action {
  flex: 1;
  padding: 11px 0;
  border: 1px solid rgb(205, 205, 205);
  border-radius: 8px;
  background: #fff;
  color: rgb(150, 150, 150);
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.client-detail-action--primary {
  border-color: #C9A84C;
  background: #C9A84C;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 480px) {

  .client-detail-header,
  .client-detail-grid,
  .client-detail-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .client-detail-status-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 700px) {

  .clients-dashboard-heading,
  .clients-table-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .client-summary-grid {
    gap: 8px;
  }

  .client-summary-card {
    padding: 11px 10px;
  }

  .client-summary-label {
    min-height: 1.8em;
  }

  .clients-table {
    min-width: 0;
    table-layout: fixed;
  }

  .clients-table-wrap,
  .staff-appointments-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .clients-table th,
  .clients-table td,
  .staff-appointments-table th,
  .staff-appointments-table td {
    padding: 10px 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .clients-table-heading {
    padding: 13px 14px;
  }

  .clients-table-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 11px 14px;
  }
}

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


/* ===== CALENDAR TOOLBAR ===== */

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 30px;
  box-sizing: border-box;
  width: 100%;
}

.date-display {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Raleway", sans-serif;
}

.current-month {
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-arrow {
  border: 1px solid rgb(220, 220, 220);
  background-color: white;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  gap: 6px;
}

.view-btn {
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  padding: 8px 16px;
  border: 1px solid rgb(220, 220, 220);
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
}

.view-btn.active {
  background-color: black;
  color: white;
  border-color: black;
}

.calendar-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-arrow-left,
.nav-arrow-right,
.search-svg,
.notification-bell {
  width: 14px;
  height: 14px;
  display: block;
}


/* ===== CALENDAR VIEW (DASHBOARD) ===== */

.calendar-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.calendar-view {
  flex: 1;
  padding: 0 30px 30px 30px;
  box-sizing: border-box;
  overflow: auto;
}

/* Month view */
.month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  color: rgb(150, 150, 150);
  text-align: center;
  padding-bottom: 8px;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 110px;
  border-top: 1px solid rgb(230, 230, 230);
  border-left: 1px solid rgb(230, 230, 230);
}

.month-day-cell {
  border-right: 1px solid rgb(230, 230, 230);
  border-bottom: 1px solid rgb(230, 230, 230);
  padding: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.month-day-cell.other-month {
  color: rgb(200, 200, 200);
}

.month-day-cell.today .day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #C9A84C;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-input);
  border-radius: 3px;
  background: var(--bg-input);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phone-input-wrap:focus-within {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.phone-prefix {
  padding: 12px 10px 12px 14px;
  font-size: 13px;
  color: var(--text-body);
  border-right: 1px solid var(--border-input);
  flex-shrink: 0;
  user-select: none;
}

.phone-input-wrap input {
  border: none;
  background: transparent;
  padding: 12px 14px 12px 10px;
  flex: 1;
  min-width: 0;
}

.phone-input-wrap input:focus {
  outline: none;
  box-shadow: none;
  /* the wrapper already shows the focus ring */
}

.appt-chip {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 0.65rem;
  padding: 6px 6px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.week-view {
  display: none;
}

.week-header {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  color: rgb(150, 150, 150);
  text-align: center;
  padding-bottom: 8px;
}

.week-body {
  display: flex;
  position: relative;
  border-top: 1px solid rgb(230, 230, 230);
}

.week-time-column {
  width: 60px;
  flex-shrink: 0;
}

.week-time-column .hour-label {
  height: 100px;
  font-size: 0.7rem;
  color: rgb(150, 150, 150);
  font-family: "Raleway", sans-serif;
  text-align: right;
  padding-right: 8px;
  padding-top: 6px;
}

.week-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  flex: 1;
  position: relative;
}

.week-day-col-bg {
  border-left: 1px solid rgb(230, 230, 230);
  border-bottom: 1px solid rgb(230, 230, 230);
  position: relative;
  background-image: repeating-linear-gradient(to bottom, rgb(240, 240, 240) 0px, rgb(240, 240, 240) 1px, transparent 1px, transparent 100px);
  border-bottom: 1px solid rgb(230, 230, 230);
}

.appt-chip-week {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  padding: 4px 6px;
  font-size: 0.65rem;
  font-family: "Raleway", sans-serif;
  overflow: hidden;
  cursor: pointer;
  top: 0px;
  height: 0px;
}

.chip-highlight {
  animation: chipFlash 1.5s ease;
  outline: 2px solid #C9A84C;
  outline-offset: 1px;
}

@keyframes chipFlash {

  0%,
  100% {
    box-shadow: none;
  }

  30% {
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.35);
  }
}

.status-confirmed {
  background-color: rgba(146, 146, 146, 0.12);
  border-left-color: #929292;
}

.status-pending {
  background-color: rgba(201, 168, 76, 0.15);
  border-left-color: #C9A84C;
}

.status-in-progress {
  background-color: rgba(201, 168, 76, 0.15);
  border-left-color: #C9A84C;
}

.status-completed {
  background-color: rgba(34, 139, 70, 0.12);
  border-left-color: #228B46;
}

.status-cancelled {
  background-color: rgba(185, 60, 60, 0.12);
  border-left-color: #B93C3C;
}

.status-no-show {
  background-color: rgba(209, 209, 209, 0.2);
  border-left-color: #D1D1D1;
}


/* ===== DASHBOARD RESPONSIVE BREAKPOINTS ===== */

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  }

  .sidebar nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .sidebar h6 {
    width: 100%;
  }

  .profile-wrap {
    margin-top: 10px;
    width: 100%;
  }

  .logo-container {
    width: 120px;
  }

  .page-title {
    margin-left: 20px;
  }

  .main-content {
    padding: 15px;
  }

  .calendar-view {
    padding: 0 15px 15px 15px;
  }

  .month-grid {
    grid-auto-rows: 80px;
  }

  .month-day-cell {
    padding: 4px;
    font-size: 0.65rem;
    gap: 2px;
  }

  .appt-chip {
    flex-direction: column;
    gap: 1px;
    padding: 3px 4px;
    font-size: 0.55rem;
  }

  /* Week view becomes horizontally scrollable so day columns keep a usable minimum width */
  .week-view {
    overflow-x: auto;
  }

  .week-header {
    min-width: 700px;
    grid-template-columns: 50px repeat(7, 90px);
  }

  .week-body {
    min-width: 700px;
  }

  .week-time-column {
    width: 50px;
  }

  .week-days-grid {
    grid-template-columns: repeat(7, 90px);
    width: 630px;
  }
}

/* ===== STAFF CONTENT PAGES ===== */

.staff-page-content {
  gap: 20px;
  overflow-y: auto;
}

.um-main > .staff-page-content {
  min-width: 0;
  padding: 0;
}

.staff-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 2px 0;
}

.staff-page-heading h1 {
  margin: 4px 0 6px;
  color: #201c18;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
}

.staff-page-heading p:not(.eyebrow) {
  margin: 0;
  color: #756c62;
  font-family: "Raleway", sans-serif;
  font-size: 0.82rem;
}

.eyebrow {
  margin: 0;
  color: #b5892a;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.staff-primary-link {
  flex-shrink: 0;
  border: 1px solid #b5892a;
  border-radius: 5px;
  background: #b5892a;
  color: #fff;
  cursor: pointer;
  font-family: "Raleway", sans-serif;
  font-size: 0.74rem;
  padding: 10px 14px;
  text-decoration: none;
}

.staff-primary-link:hover {
  background: #8f6b20;
  border-color: #8f6b20;
}

.staff-table-card {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #e7ddc9;
  border-radius: 6px;
  background: #fff;
}

.staff-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #eee7dc;
  padding: 16px 20px;
}

.staff-toolbar-search {
  flex: 1 1 220px;
  max-width: 320px;
}

.staff-appointments-table-wrap {
  max-height: min(62vh, 620px);
  overflow: auto;
}

.staff-appointments-table {
  min-width: 1320px;
}

.treatment-notes-view-btn {
  white-space: nowrap;
}

.treatment-notes-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 28, 24, 0.48);
}

.treatment-notes-modal-overlay.show {
  display: flex;
}

.treatment-notes-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: min(80vh, 680px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(32, 28, 24, 0.2);
}

.treatment-notes-modal-eyebrow {
  margin: 0 0 6px;
  color: #a9843a;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.treatment-notes-modal h2 {
  margin: 0 34px 20px 0;
  color: #201c18;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.treatment-notes-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f6f4ef;
  color: #756c62;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.treatment-notes-list {
  display: grid;
  gap: 12px;
}

.treatment-note-item {
  border: 1px solid #e7ddc9;
  border-left: 5px solid #fff3b0;
  border-radius: 5px;
  padding: 13px 15px;
}

.treatment-note-item-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.treatment-note-item-heading strong {
  color: #201c18;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
}

.treatment-note-item-heading time,
.treatment-note-item-appointment {
  color: #756c62;
  font-family: "Raleway", sans-serif;
  font-size: 0.65rem;
}

.treatment-note-item-appointment {
  margin: 5px 0 9px;
}

.treatment-note-item-text {
  margin: 0;
  color: #201c18;
  font-family: "Raleway", sans-serif;
  font-size: 0.74rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.treatment-notes-empty {
  margin: 12px 0;
  color: #756c62;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

.treatment-notes-error {
  color: #b93c3c;
}

.staff-table-toolbar h2 {
  margin: 0;
  color: #201c18;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.staff-table-toolbar span,
.staff-table-toolbar a {
  color: #756c62;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  text-decoration: none;
}

.staff-empty-state {
  display: grid;
  min-height: 190px;
  place-content: center;
  padding: 30px 20px;
  text-align: center;
}

.staff-empty-state strong {
  color: #201c18;
  font-family: "Raleway", sans-serif;
  font-size: 0.9rem;
}

.staff-empty-state p {
  margin: 7px 0 0;
  color: #756c62;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
}

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

.finance-summary-grid article {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #e7ddc9;
  border-radius: 6px;
  background: #fff;
  padding: 16px;
}

.finance-summary-grid span,
.finance-summary-grid small {
  color: #756c62;
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
}

.finance-summary-grid strong {
  color: #201c18;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

@media (max-width: 700px) {
  .staff-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-primary-link {
    align-self: flex-start;
  }

  .finance-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .staff-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-toolbar-search {
    width: 100%;
    max-width: none;
  }

  .staff-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .staff-page-heading h1 {
    font-size: clamp(1.3rem, 8vw, 1.9rem);
  }

  .staff-primary-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-title h2 {
    font-size: 1.1rem;
  }

  .actions {
    padding-right: 15px;
  }

  .calendar-toolbar {
    padding: 16px;
  }

  .view-toggle {
    width: 100%;
    justify-content: flex-start;
  }

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

  .current-month {
    font-size: 0.8rem;
  }

  .month-grid {
    grid-auto-rows: 64px;
  }

  .month-day-cell {
    font-size: 0.55rem;
    padding: 3px;
  }

  .month-weekdays {
    font-size: 0.6rem;
  }

  .appt-chip .appt-time {
    display: none;
    /* hide time on very small cells to avoid overflow, client name still shows */
  }

  .appt-chip-week {
    font-size: 0.55rem;
    padding: 3px 4px;
  }
}


/* ===== APPOINTMENT DETAIL MODAL ===== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 100;
}

.modal-overlay.show {
  display: flex;
}

.appt-modal {
  background-color: white;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  font-family: "Raleway", sans-serif;
}

.appt-modal-topbar {
  height: 4px;
  width: 100%;
  border-radius: 12px 12px 0 0;
  background-color: #929292;
  /* default, overridden per status via JS */
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background-color: rgb(245, 243, 239);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(90, 90, 90);
}

.modal-close:hover {
  background-color: rgb(230, 228, 222);
}

.appt-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 24px 16px 24px;
}

.appt-modal-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgb(245, 243, 239);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: rgb(145, 118, 118);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.appt-modal-heading h3 {
  margin: 0 0 4px 0;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.appt-modal-heading p {
  margin: 0 0 8px 0;
  font-size: 0.7rem;
  color: rgb(150, 150, 150);
}

.appt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 20px;
}

.appt-status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.appt-modal hr {
  margin: 0;
}

.appt-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  padding: 18px 24px;
}

.appt-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.appt-field-label {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgb(160, 160, 160);
  font-weight: 600;
}

.appt-field-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(40, 40, 40);
  word-break: break-word;
}

.appt-modal-remarks {
  padding: 4px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.appt-modal-remarks p {
  margin: 0;
  background-color: rgb(245, 243, 239);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.78rem;
  color: rgb(70, 70, 70);
  line-height: 1.4;
}

.appt-modal-actions {
  display: flex;
  gap: 12px;
  padding: 16px 24px 24px 24px;
}

.appt-action-message {
  margin: 0;
  padding: 0 24px;
  color: #8f3030;
  font-size: 0.8rem;
}

.appt-reschedule-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 12px 24px 0;
  font-size: 0.8rem;
}

.appt-reschedule-form[hidden] {
  display: none;
}

.appt-reschedule-form input,
.appt-reschedule-form select {
  min-width: 0;
  padding: 8px;
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  font: inherit;
}

.appt-reschedule-form button {
  grid-column: 1 / -1;
}

.modal-btn {
  flex: 1;
  padding: 11px 0;
  border-radius: 8px;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.modal-btn-cancel {
  background-color: white;
  border: 1px solid #B93C3C;
  color: #B93C3C;
}

.modal-btn-cancel:hover {
  background-color: rgba(185, 60, 60, 0.06);
}

.modal-btn-reschedule {
  background-color: #C9A84C;
  border: 1px solid #C9A84C;
  color: white;
}

.modal-btn-reschedule:hover {
  background-color: #b7963f;
}

/* Status-driven theming applied via JS adding one of these classes to the modal */
.appt-modal-topbar.status-confirmed {
  background-color: #929292;
}

.appt-modal-topbar.status-pending {
  background-color: #C9A84C;
}

.appt-modal-topbar.status-in-progress {
  background-color: #C9A84C;
}

.appt-modal-topbar.status-completed {
  background-color: #228B46;
}

.appt-modal-topbar.status-cancelled {
  background-color: #B93C3C;
}

.appt-modal-topbar.status-no-show {
  background-color: #D1D1D1;
}

.appt-status-badge.status-confirmed {
  background-color: rgba(146, 146, 146, 0.15);
  color: #7a7a7a;
}

.appt-status-badge.status-pending {
  background-color: rgba(201, 168, 76, 0.18);
  color: #a9843a;
}

.appt-status-badge.status-in-progress {
  background-color: rgba(201, 168, 76, 0.18);
  color: #a9843a;
}

.appt-status-badge.status-completed {
  background-color: rgba(34, 139, 70, 0.15);
  color: #228B46;
}

.appt-status-badge.status-cancelled {
  background-color: rgba(185, 60, 60, 0.15);
  color: #B93C3C;
}

.appt-status-badge.status-no-show {
  background-color: rgba(209, 209, 209, 0.3);
  color: #8c8c8c;
}

/* ===== Responsive ===== */

@media (max-width: 480px) {
  .appt-modal {
    max-width: 100%;
    border-radius: 10px;
    max-height: 92vh;
  }

  .appt-modal-header {
    padding: 20px 18px 14px 18px;
    gap: 10px;
  }

  .appt-modal-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }

  .appt-modal-heading h3 {
    font-size: 1rem;
  }

  .appt-modal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 18px;
  }

  .appt-modal-remarks {
    padding: 4px 18px 16px 18px;
  }

  .appt-modal-actions {
    padding: 14px 18px 20px 18px;
    flex-direction: column;
  }
}


/* ===== RATING WIDGET (SIDEBAR) ===== */

#ratingNumber {
  color: rgb(202, 171, 83);
  font-size: 48px;
  margin: 0;
  padding: 0;
}

.rating-widget {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-widget #ratingAverage {
  color: rgb(202, 171, 83);
  font-size: 44px;
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}

.star-wrap {
  position: relative;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.star-bg,
.star-fill-inner {
  position: absolute;
  inset: 0;
  -webkit-mask: url("icons/star.svg") no-repeat center / contain;
  mask: url("icons/star.svg") no-repeat center / contain;
}

.star-bg {
  background-color: rgb(224, 221, 213);
}

.star-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 0%;
  /* set inline by JS per star's fill percentage */
}

.star-fill-inner {
  width: 13px;
  height: 13px;
  background-color: #C9A84C;
}

.rating-count {
  font-family: "Raleway", sans-serif;
  font-size: 0.65rem;
  color: rgb(150, 150, 150);
  margin: 2px 0 8px 0;
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rating-breakdown-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  color: rgb(120, 120, 120);
}

.rating-breakdown-label {
  width: 20px;
  flex-shrink: 0;
  text-align: right;
}

.rating-breakdown-track {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background-color: rgb(235, 232, 225);
  overflow: hidden;
}

.rating-breakdown-fill {
  height: 100%;
  background-color: #C9A84C;
  border-radius: 4px;
  width: 0%;
  /* set inline by JS based on that star count / total reviews */
}

.rating-breakdown-count {
  width: 20px;
  flex-shrink: 0;
}


/* ===== NOTIFICATION DROPDOWN ===== */

.notification-wrap {
  position: relative;
}

.notification-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  max-width: 90vw;
  background-color: white;
  border: 1px solid rgb(230, 230, 230);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  z-index: 20;
  overflow: hidden;
}

.notification-dropdown.show {
  display: block;
}

.notification-dropdown-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgb(235, 235, 235);
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
}

.notification-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 90px;
}

.notification-list:empty::after {
  content: "No notifications yet";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  color: rgb(170, 170, 170);
}

.notification-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 90px;
  padding: 14px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  color: rgb(170, 170, 170);
  text-align: center;
}

.notification-item,
.admin-notification-item {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid rgb(235, 235, 235);
  background: #fff;
  color: #39332e;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.notification-item:hover,
.admin-notification-item:hover {
  background: #f7f5f1;
}

.notification-item.unread,
.admin-notification-item.unread {
  border-left: 3px solid #b38a3d;
  font-weight: 700;
}

.notification .badge {
  width: auto;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 10px;
}

.notification-item--announcement {
  display: grid;
  gap: 4px;
}

.notification-item__type {
  color: #a27a2c;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-popup {
  position: fixed;
  z-index: 5000;
  top: 88px;
  right: 24px;
  width: min(360px, calc(100vw - 32px));
  padding: 22px 24px;
  border: 1px solid #e7d7b5;
  border-left: 4px solid #c49a43;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 14px 38px rgba(32, 25, 17, 0.2);
  color: #39332e;
}

.announcement-popup[hidden] {
  display: none;
}

.announcement-popup__close {
  position: absolute;
  top: 7px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #756b5e;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.announcement-popup__type {
  display: block;
  margin-right: 28px;
  color: #a27a2c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.announcement-popup__title {
  margin: 8px 24px 6px 0;
  color: #241f1a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.25;
}

.announcement-popup__message {
  margin: 0;
  color: #655d53;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-line;
}

@media (max-width: 480px) {
  .notification-wrap {
    position: static;
  }

  .notification-dropdown {
    position: fixed;
    top: 86px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(280px, calc(100vw - 22px));
    max-width: calc(100vw - 22px);
    z-index: 1200;
  }

  .announcement-popup {
    top: 78px;
    right: 12px;
    width: min(360px, calc(100vw - 24px));
    padding: 19px 20px;
  }
}

@media (max-width: 375px) {
  .public-header {
    gap: 8px;
    padding: 10px 12px;
  }

  .logo-container {
    width: auto;
    min-width: 0;
  }

  #logo {
    width: 110px;
    height: auto;
  }

  .public-header-actions {
    gap: 6px;
  }

  .book-now-btn {
    padding: 8px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .notification {
    width: 24px;
    height: 24px;
  }

  .notification-bell {
    width: 14px;
    height: 14px;
  }

  .notification-dropdown {
    width: min(260px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    top: 78px;
  }
}

@media (max-width: 320px) {
  .public-header {
    padding: 9px 10px;
  }

  .public-header-actions {
    gap: 4px;
  }

  .profile-row {
    padding: 4px 0;
  }

  .profile-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.64rem;
  }

  .book-now-btn {
    padding: 7px 8px;
    font-size: 0.58rem;
  }

  .notification-dropdown {
    width: min(240px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    top: 76px;
  }
}


/* ===== LOGOUT BUTTON ===== */

.logout-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgb(220, 220, 220);
  background-color: white;
  border-radius: 6px;
  padding: 8px 14px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #B93C3C;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.logout-btn:hover {
  background-color: rgba(235, 15, 15, 0.8);
  border-color: rgba(185, 60, 60, 0.3);
  color: white;
}

.logout-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 480px) {
  .logout-btn span {
    display: none;
    /* icon-only on very small screens to save space */
  }

  .logout-btn {
    padding: 8px;
  }
}


/* ===== PUBLIC SITE HEADER ===== */

.public-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 50;
  flex-shrink: 0;
  padding: 0 30px;
  justify-content: flex-start;
  min-height: 72px;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: 36px;
}

.public-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.public-nav-links li a {
  text-decoration: none;
  color: rgb(60, 60, 60);
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.public-nav-links li a:hover,
.public-nav-links li a.active {
  color: #C9A84C;
  border-bottom: 2px solid #C9A84C;
}

.book-now-btn {
  background-color: #C9A84C;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.book-now-btn:hover {
  background-color: #b7963f;
}

.public-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.public-divider {
  width: 1px;
  height: 30px;
  background-color: rgb(225, 225, 225);
  flex-shrink: 0;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.hamburger-btn:hover,
.hamburger-btn:active {
  opacity: 0.6;
}

.hamburger-icon {
  width: 20px;
  height: 20px;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 998;
}

.mobile-nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  max-width: 80%;
  background-color: white;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.mobile-nav-drawer.show {
  transform: translateX(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.mobile-nav-logo {
  width: 130px;
  height: auto;
}

.mobile-nav-close {
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: rgb(130, 130, 130);
  cursor: pointer;
  padding: 0;
}

.mobile-nav-close:hover {
  color: #C9A84C;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links li a {
  display: block;
  padding: 12px 2px;
  text-decoration: none;
  color: rgb(60, 60, 60);
  font-family: "Raleway", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid rgb(240, 240, 240);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  color: #C9A84C;
}

.mobile-nav-book-btn {
  width: 100%;
  margin-top: 18px;
}

.mobile-nav-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgb(235, 235, 235);
}

@media (max-width: 992px) {
  .public-nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .public-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    order: 1;
    margin-left: 0;
    flex-shrink: 0;
  }

  .logo-container {
    order: 2;
    margin-left: 0;
    flex: 0 1 auto;
    width: auto;
    height: auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .public-header-actions {
    order: 3;
    margin-left: auto;
    gap: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
    white-space: nowrap;
  }

  .public-nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    padding-top: 8px;
    border-top: 1px solid rgb(235, 235, 235);
  }

  .book-now-btn {
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .public-header {
    flex-wrap: nowrap;
  }

  .public-header-actions {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }

  .public-header-actions .profile-info {
    display: none;
  }

  .public-header-actions .profile-row {
    padding: 4px 0;
  }

  .public-divider {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 375px) {
  .public-header {
    gap: 8px;
    padding: 10px 12px;
  }

  .logo-container {
    width: auto;
    min-width: 0;
  }

  #logo {
    width: 110px;
    height: auto;
  }

  .public-header-actions {
    gap: 5px;
  }

  .book-now-btn {
    padding: 8px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .notification {
    width: 24px;
    height: 24px;
  }

  .notification-bell {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 320px) {
  .public-header {
    padding: 9px 10px;
  }

  .public-header-actions {
    gap: 4px;
  }

  .profile-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.64rem;
  }

  .book-now-btn {
    padding: 7px 8px;
    font-size: 0.58rem;
  }
}


/* ===== CLIENT APPOINTMENT BOOKING PAGE (UserAppointment.html) ===== */

/* Layout: 3-column grid â€” services | date/time + client details | booking summary.
 Placeholder service data + placeholder calendar availability; both are meant to be
 swapped for API-driven data once the backend exists (see comments in appointment-booking.js). */

.booking-main {
  flex: 1;
  min-height: auto;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 20px;
  box-sizing: border-box;
}

.booking-intro {
  font-family: "Raleway", sans-serif;
}

.booking-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C9A84C;
  margin-bottom: 6px;
}

.booking-intro h1 {
  font-family: "Playfair Display", serif;
  margin: 0 0 6px 0;
  font-size: 1.9rem;
  font-weight: 600;
  color: rgb(40, 40, 40);
}

.booking-intro h1 span {
  color: #C9A84C;
}

.booking-intro p {
  margin: 0;
  font-size: 0.85rem;
  color: rgb(120, 120, 120);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
  align-items: stretch;
}

.booking-notice {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgb(120, 120, 120);
  font-family: "Raleway", sans-serif;
  font-size: 0.74rem;
  line-height: 1.55;
}

.booking-notice strong {
  color: rgb(80, 80, 80);
  font-weight: 700;
}

.booking-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-col .booking-panel {
  flex: 1;
}

.booking-panel {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.booking-panel-label {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgb(150, 150, 150);
  margin: 0 0 14px 0;
}

/* --- Service selection --- */

.service-category-label {
  font-family: "Raleway", sans-serif;
  font-size: calc(0.68rem + 1px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(150, 150, 150);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.service-category-select {
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: calc(0.85rem + 1px);
  font-weight: 600;
  color: rgb(50, 50, 50);
  border: 1px solid rgb(228, 228, 228);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background-color: white;
  cursor: pointer;
}

.service-category-select:focus {
  outline: none;
  border-color: #C9A84C;
}

.service-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid rgb(228, 228, 228);
  border-radius: 8px;
  background-color: white;
}

.service-search-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.service-search {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: rgb(50, 50, 50);
  font-family: "Raleway", sans-serif;
  font-size: calc(0.85rem + 1px);
}

.service-search-wrap:focus-within {
  border-color: #C9A84C;
}

.service-list-placeholder {
  font-family: "Raleway", sans-serif;
  font-size: calc(0.8rem + 1px);
  color: rgb(150, 150, 150);
  margin: 0;
  padding: 10px 2px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-height: 680px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgb(228, 228, 228);
  border-radius: 8px;
  padding: 10px 40px 10px 14px;
  flex: 0 0 auto;
  cursor: pointer;
  background-color: white;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.service-card:hover {
  border-color: #C9A84C;
}

.service-card.selected {
  border-color: #C9A84C;
  background-color: rgba(201, 168, 76, 0.06);
}

.service-name {
  font-family: "Raleway", sans-serif;
  font-size: calc(0.85rem + 1px);
  font-weight: 700;
  color: rgb(50, 50, 50);
}

.service-desc {
  font-family: "Raleway", sans-serif;
  font-size: calc(0.72rem + 1px);
  color: rgb(140, 140, 140);
}

.service-price {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: "Raleway", sans-serif;
  font-size: calc(0.8rem + 1px);
  font-weight: 700;
  color: #C9A84C;
}

.service-reservation-fee {
  font-family: "Raleway", sans-serif;
  font-size: calc(0.68rem + 1px);
  color: rgb(140, 140, 140);
}

.service-check {
  position: absolute;
  bottom: 10px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #C9A84C;
  color: white;
  font-size: calc(0.65rem + 1px);
  display: none;
  align-items: center;
  justify-content: center;
}

.service-card.selected .service-check {
  display: flex;
}

/* --- Calendar --- */

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

.calendar-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  color: rgb(50, 50, 50);
}

.calendar-nav {
  display: flex;
  gap: 6px;
}

.calendar-nav button {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  color: rgb(160, 160, 160);
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 4px;
}

.calendar-nav button:hover {
  background-color: rgb(245, 243, 239);
  color: #C9A84C;
}

.calendar-nav button:disabled,
.calendar-nav button:disabled:hover {
  background: none;
  color: rgb(210, 210, 210);
  cursor: not-allowed;
}

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

.calendar-weekday {
  font-family: "Raleway", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(180, 180, 180);
  padding-bottom: 6px;
}

.calendar-day {
  position: relative;
  width: 100%;
  max-width: 30px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  color: rgb(70, 70, 70);
  cursor: default;
}

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

.calendar-day.available {
  cursor: pointer;
  color: white;
  background-color: #C9A84C;
  font-weight: 600;
}

.calendar-day.available:hover {
  background-color: #b7963f;
}

.calendar-day.selected {
  box-shadow: 0 0 0 2px rgb(60, 60, 60, 0.8);
  font-weight: 700;
}

.calendar-day:not(.available) {
  color: rgb(195, 195, 195);
  cursor: default;
}

.calendar-legend {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  color: rgb(140, 140, 140);
  margin-bottom: -15px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.available {
  background-color: #C9A84C;
}

/* --- Time slots --- */

.slots-section {
  margin-top: 18px;
}

.slots-heading {
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgb(150, 150, 150);
  margin-bottom: -10px;
  margin-top: 10px;
}

.slots-period {
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #C9A84C;
  margin: 10px 0 8px 0;
}

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

.slot-btn {
  border: 1px solid rgb(225, 225, 225);
  background-color: white;
  border-radius: 6px;
  padding: 9px 4px;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  color: rgb(70, 70, 70);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.slot-btn:hover:not(.disabled) {
  border-color: #C9A84C;
  color: #a9843a;
}

.slot-btn.selected {
  border-color: #C9A84C;
  background-color: #C9A84C;
  color: white;
}

.slot-btn.disabled {
  color: rgb(200, 200, 200);
  background-color: rgb(248, 248, 248);
  cursor: not-allowed;
}

/* --- Client details form --- */

.details-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgb(235, 235, 235);
}

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

.same-as-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  color: rgb(80, 80, 80);
  cursor: pointer;
}

.same-as-user-toggle input {
  accent-color: #C9A84C;
}

.booking-status-message {
  min-height: 18px;
  margin-top: 12px;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  display: none;
}

.booking-status-message.info {
  color: #8b6b1f;
  display: block;
}

.booking-status-message.success {
  color: #1f7a4f;
  display: block;
}

.booking-status-message.error {
  color: #b33f3f;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-group label {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgb(120, 120, 120);
}

.form-group input,
.form-group select {
  border: 1px solid rgb(220, 220, 220);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  color: rgb(50, 50, 50);
  background-color: white;
}

.form-group input::placeholder {
  color: rgb(190, 190, 190);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #C9A84C;
}

/* --- Booking summary --- */

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgb(240, 240, 240);
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
}

.summary-row span:first-child {
  color: rgb(150, 150, 150);
}

.summary-row span:last-child {
  color: rgb(60, 60, 60);
  font-weight: 600;
}

.summary-row span:last-child.not-selected {
  color: rgb(190, 190, 190);
  font-weight: 400;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 6px 0;
  font-family: "Raleway", sans-serif;
}

.summary-total span:first-child {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgb(50, 50, 50);
}

.summary-total span:last-child {
  font-size: 1.3rem;
  font-weight: 700;
  color: #C9A84C;
  font-family: "Playfair Display", serif;
}

.summary-note {
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  color: rgb(160, 160, 160);
  margin: 20px 0 4px 0;
}

.summary-section-title {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #C9A84C;
  margin: 18px 0 8px 0;
}

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-list li {
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  color: rgb(90, 90, 90);
  padding-left: 14px;
  position: relative;
}

.summary-list li:last-child {
  margin-bottom: 16px;
}

.summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #C9A84C;
}

.summary-location {
  margin-top: auto;
  background-color: rgb(248, 247, 244);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  color: rgb(80, 80, 80);
  line-height: 1.5;
}

.summary-location strong {
  display: block;
  color: rgb(50, 50, 50);
  margin-bottom: 2px;
}

/* --- Confirm bar --- */

.confirm-bar {
  margin-top: 4px;
}

.confirm-btn {
  width: 100%;
  background-color: #C9A84C;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.confirm-btn:hover {
  background-color: #b7963f;
}

.confirm-btn:disabled {
  background-color: rgb(220, 220, 220);
  cursor: not-allowed;
}

/* --- Responsive --- */

@media (max-width: 1100px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .booking-main {
    padding: 20px 16px;
  }

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

  .booking-notice {
    font-size: 0.72rem;
  }

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

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

/* ============================================================
 HOMEPAGE (Skin Goddess Aesthetic Center â€” public site)
 Everything below is scoped to <body class="homepage">
 so it can't affect the staff/admin pages above, and vice versa.
 ============================================================ */

/* ============================================================
 Skin Goddess Aesthetic Center â€” Hero Section
 ============================================================ */



.homepage *:where(:not(.public-header, .public-header *, .mobile-nav-drawer, .mobile-nav-drawer *, .mobile-nav-overlay)) {
  margin: 0;
  padding: 0;
}

body.homepage {
  display: block;
  height: auto;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   HERO
   Layered approach: full-bleed photo sits behind everything,
   a wide gradient overlay fades the photo into the cream tone,
   and the text column floats on top â€” no hard seam anywhere.
============================================================ */
/* the fade: solid cream through the text zone, then a long
   soft transition into full photo â€” this is what removes the seam */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 440px;
  margin-bottom: 34px;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 16px 30px;
  border-radius: 9px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--espresso);
  color: #fff;
}

.btn-primary:hover {
  background: var(--espresso-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
}

.btn-outline:hover {
  background: rgba(90, 58, 30, .06);
  transform: translateY(-1px);
}

.features {
  display: flex;
  gap: 34px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 120px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #F2D583, var(--gold) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso-dark);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature p {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .lede {
    max-width: none;
  }

  .features {
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .cta-row {
    flex-wrap: wrap;
  }
}

@media (max-width:460px) {
  .headline {
    font-size: 2rem;
  }
}

/* ============================================================
   TREATMENTS
   Intro block + 3-column card grid. Card photos are placeholder
   gradients for now â€” swap .card-media for an <img> once real
   treatment photos are ready (see note near .card-media below).
============================================================ */
.treatments {
  background: var(--cream);
  padding: 60px 5vw 70px;
  border-bottom: 1.5px solid var(--light-pink);
}

.treatments-intro {
  max-width: 900px;
  margin-bottom: 52px;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-dark);
  margin-bottom: 22px;
}

.eyebrow-line .dash {
  width: 28px;
  height: 1.5px;
  background: var(--gold-dark);
  display: inline-block;
}

.treatments-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0;
  white-space: nowrap;
}

.treatments-heading .accent {
  color: var(--gold);
}

.treatments-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}

/* Outer wrap positions the nav buttons over the faded edges of
   the viewport below. */
.treatments-carousel-wrap {
  position: relative;
}

/* Carousel viewport: clips the track, fades the edges so cards
   don't look like they're cut off mid-scroll. Fade zone is wide
   so a good chunk of the flanking cards dissolve into the page. */
.treatments-carousel {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 clamp(90px, 11vw, 220px), #000 calc(100% - clamp(90px, 11vw, 220px)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 clamp(90px, 11vw, 220px), #000 calc(100% - clamp(90px, 11vw, 220px)), transparent 100%);
}

/* Track holds two back-to-back copies of every card; the scroll
   itself is driven by JS (treatments-carousel.js) via the Web
   Animations API so the nav buttons can speed it up/reverse it. */
.treatments-track {
  display: flex;
  gap: 32px;
  width: max-content;
}

/* Wrapper only exists to group the duplicate cards for aria-hidden;
   it must not become a flex item itself. */
.treatments-track-dupe {
  display: contents;
}

/* Nav buttons: sit on top of the fade zone, half over the carousel. */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 58, 30, .14);
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.carousel-nav:hover {
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(90, 58, 30, .2);
}

.carousel-nav:hover .carousel-nav-icon {
  filter: brightness(0) invert(1);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(.92);
}

.carousel-nav:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.carousel-nav--prev {
  left: 6px;
}

.carousel-nav--next {
  right: 6px;
}

.carousel-nav-icon {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
  transition: filter .2s ease;
}

@media (max-width: 640px) {
  .carousel-nav {
    width: 42px;
    height: 42px;
  }

  .carousel-nav-icon {
    width: 16px;
    height: 16px;
  }

  .carousel-nav--prev {
    left: 2px;
  }

  .carousel-nav--next {
    right: 2px;
  }
}

.treatment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 0 0 320px;
  width: 320px;
  height: 500px;
  border-radius: 4px;
  border-top: 4px solid var(--gold);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--espresso);
  transition: transform .2s ease, box-shadow .2s ease;
}

.treatment-card:hover,
.treatment-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(90, 58, 30, .2);
}

/* Photo fills the whole card; a bottom gradient keeps the text legible. */
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.treatment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 6, .88) 0%, rgba(20, 12, 6, .55) 45%, rgba(20, 12, 6, 0) 75%);
}

.treatment-card:hover .card-bg {
  transform: scale(1.05);
}

.card-body {
  position: relative;
  z-index: 1;
  padding: 26px;
  text-align: left;
}

.card-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--white);
  margin-bottom: 6px;
}

.card-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .treatment-card {
    flex-basis: 280px;
    width: 280px;
    height: 470px;
  }
}

@media (max-width: 640px) {
  .treatments {
    padding: 64px 24px 72px;
  }

  .treatment-card {
    flex-basis: 250px;
    width: 250px;
    height: 440px;
  }
}

@media (max-width: 680px) {
  .treatments-heading {
    white-space: normal;
  }
}

.homepage-scroll-story {
  position: relative;
  z-index: 2;
}

.homepage-scroll-story.homepage-scroll-story--animated {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

.testimonials-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--white);
  min-height: 100vh;
  padding: clamp(80px, 10vw, 140px) 5vw clamp(90px, 11vw, 150px);
  overflow: visible;
}

.testimonials-section.testimonials-section--pinned {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  background: transparent;
  padding: clamp(42px, 7vh, 80px) 5vw clamp(36px, 6vh, 68px);
  overflow: hidden;
}

.testimonials-section__surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--white);
  will-change: transform;
}

.testimonials-section__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.testimonials-section--pinned .testimonials-section__inner {
  height: 100%;
}

.testimonials-section__header {
  max-width: 760px;
  flex: 0 0 auto;
  margin: 0 auto clamp(28px, 5vh, 56px);
  text-align: center;
}

.testimonials-section__heading {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Playfair Display", var(--font-display), serif;
  font-size: clamp(calc(2.2rem + 4px), calc(4vw + 4px), calc(3.4rem + 4px));
  font-weight: 400;
  line-height: 1.15;
}

.testimonials-section__heading span {
  color: var(--gold);
}

.testimonials-section__subheading {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(calc(1rem + 4px), calc(1.7vw + 4px), calc(1.15rem + 4px));
  line-height: 1.6;
}

.testimonials-list {
  display: block;
  width: 100%;
}

.testimonials-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 500px;
  overflow: visible;
}

.testimonials-section--pinned .testimonials-viewport {
  min-height: 0;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  will-change: transform;
}

.testimonials-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: clamp(80px, 12vh, 140px) auto 40px;
}

.testimonials-brand img {
  display: block;
  width: clamp(220px, 35vw, 460px);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(32, 28, 24, .12));
}

.testimonial-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 40px;
}

.testimonial-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.testimonial-entry {
  width: 100%;
}

.testimonial-card {
  position: relative;
  min-height: 120px;
  padding: 34px;
  border-radius: 26px 26px 26px 10px;
  background: #edf5f6;
}

.testimonial-entry:nth-child(2) .testimonial-card {
  border-radius: 26px 26px 10px 26px;
}

.testimonial-entry:nth-child(3) .testimonial-card {
  border-radius: 26px 10px 26px 26px;
}

.testimonial-card__comment {
  margin: 0;
  color: #465b63;
  font-size: 19px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.testimonial-card::after {
  position: absolute;
  bottom: -12px;
  left: 34px;
  width: 24px;
  height: 24px;
  background: #edf5f6;
  content: "";
  transform: rotate(45deg);
}

.testimonial-entry:nth-child(2) .testimonial-card::after {
  right: 34px;
  left: auto;
}

.testimonial-entry:nth-child(3) .testimonial-card::after {
  left: 50%;
  margin-left: -12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0 16px;
}

.testimonial-author__initial {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
}

.testimonial-author__details {
  min-width: 0;
}

.testimonial-author__name {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.testimonial-author__date {
  color: var(--ink-soft);
  font-size: 16px;
}

@media (max-width: 1240px) {
  .testimonial-columns {
    grid-template-columns: repeat(2, minmax(0, 360px));
  }
}

@media (max-width: 700px) {
  .testimonials-section {
    min-height: 0;
    padding: 72px 24px 100px;
  }

  .testimonials-section__inner {
    height: auto;
  }

  .testimonial-columns {
    grid-template-columns: minmax(0, min(360px, calc(100vw - 48px)));
  }

  .testimonial-column {
    gap: 32px;
  }
}

.homepage-closing {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--espresso-dark);
}

.homepage-closing::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 20, 20, .44), rgba(32, 28, 24, .38));
  content: "";
  pointer-events: none;
}

.homepage-closing__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.homepage-closing.homepage-closing--background-fixed .homepage-closing__background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
}

.homepage-closing__background img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.homepage-closing--background-fixed .homepage-closing__background img {
  inset: -32px 0;
  height: calc(100% + 64px);
}

.homepage-signup {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
  width: min(1240px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(54px, 8vh, 100px) 5vw;
  visibility: visible;
  opacity: 1;
}

.homepage-closing--story-ready > .homepage-signup {
  visibility: hidden;
  opacity: 0;
}

.homepage-signup.homepage-signup--pinned {
  position: fixed;
  inset: 0;
  visibility: visible;
}

.homepage-signup.homepage-signup--released {
  margin-top: -100vh;
  margin-top: -100svh;
}

.homepage-signup__logo {
  display: grid;
  place-items: center;
}

.homepage-signup__logo img {
  display: block;
  width: clamp(190px, 24vw, 320px);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .24));
}

.homepage-signup__content {
  width: 100%;
  max-width: 620px;
}

.homepage-signup__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .16em;
}

.homepage-signup__eyebrow span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.homepage-signup__content h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: "Playfair Display", var(--font-display), serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
}

.homepage-signup__lede {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.7;
}

.homepage-signup__form {
  display: flex;
  margin-top: 28px;
}

.homepage-signup__form input {
  min-width: 0;
  height: 54px;
  flex: 1;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-right: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  font: inherit;
}

.homepage-signup__form input::placeholder {
  color: var(--grey);
}

.homepage-signup__form button {
  min-width: 160px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  font: 600 12px var(--font-body);
  letter-spacing: .06em;
}

.homepage-signup__form button:hover {
  background: var(--gold-dark);
}

.homepage-signup__permission {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  line-height: 1.6;
}

.homepage-signup.homepage-signup--pinned {
  visibility: visible;
}

@media (max-width: 820px) {
  .index-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 36px;
  }
}

@media (max-width: 560px) {
  .homepage-signup__form {
    flex-direction: column;
    gap: 10px;
  }

  .homepage-signup__form input,
  .homepage-signup__form button {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, .5);
  }

  .index-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/*-------------------------------------------------------------------------------*/

.index-footer {
  z-index: 2;
  background: transparent;
  color: var(--white);
  padding: 45px 4vw 40px;
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 40px;
}

.index-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 80px);
}

.index-footer::before {
  display: none;
}

.footer-sg-label {
  display: flex;
  flex-direction: row;
}

.footer-sg-label-title {
  color: var(--white);
  font-size: 16px;
  margin-top: 6px;
}

.footer-sg-label-title span {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.footer-logo {
  width: min(220px, 100%);
  max-width: 100%;
  height: auto;
}

.footer-lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  text-align: left;
  font-family: var(--font-body);
  padding-top: 5px;
}

.footer-portals {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  text-align: left;
  font-family: var(--font-body);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  transition:
    /*hover animation*/
    color 0.25s ease,
    transform 0.25s ease,
    text-decoration-color 0.25s ease;
}

.footer-portals:hover {
  /*hover animation*/
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: var(--dark-gold);
  text-underline-offset: 5px;

  transform: translateY(3px);
}



.footer-col-title {
  font-size: 15px;
  line-height: 1.4;
  color: var(--white);
  text-align: left;
  font-family: var(--font-body);
  padding-top: 5px;

}

.footer-col-body {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  text-align: left;
  font-family: var(--font-body);
  padding-top: 15px;
}

.footer-col-body-time {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  text-align: left;
  font-family: var(--font-body);

}

.footer-copyright {
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, .7);
  text-align: left;
  font-family: var(--font-body);
  margin-top: 40px;
}

.footer-col-body-location {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-body);
}

.homepage-closing .index-footer a {
  color: rgba(255, 255, 255, .84);
}

.homepage-closing .index-footer a:hover {
  color: var(--gold);
}





@media(max-width: 900px) {
  @media (max-width: 900px) {

    .index-footer-grid {
      grid-template-columns: 1fr;
      gap: 70px;
    }

    .footer-sg-label {
      justify-content: center;
    }

    .footer-lede,
    .footer-col-title,
    .footer-col-body,
    .footer-col-body-time,
    .footer-copyright,
    .footer-col-body-location {
      text-align: center;
    }

    .footer-portals {
      align-items: center;
    }
  }

}

/* ============================================================
   PUBLIC FOOTER (UserAppointment.html and other public pages)
   Mirrors .index-footer's visual style but matches the markup
   actually used on these pages: .public-footer, .footer-top,
   .footer-col, .footer-brand, .footer-heading, .footer-links,
   .footer-contact-line, .footer-bottom
============================================================ */

.public-footer {
  background: linear-gradient(135deg, rgba(19, 20, 20, .44), rgba(32, 28, 24, .38)), url("images/CenterOutsideImg.webp") center / cover no-repeat var(--espresso-dark);
  color: var(--white);
  padding: 45px 4vw 40px;
  position: relative;
  border-top: 1px solid var(--line);
}

.public-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand .footer-logo {
  width: 140px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
  max-width: 260px;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 14px 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .84);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: translateY(-1px);
}

.footer-contact-line {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
  margin: 0 0 4px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-links {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* BAGONG ADD */

/* ============================================
   SKIN GODDESS AESTHETIC CENTER â€” MERGED STYLESHEET
   Combines: LoginPage.html + Registration page
   Gold + font resolved by Josh (2026-08-02)
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ---- WINNING BRAND COLORS (from login) ----
        renamed --gold/--gold-dark -> --gold-2/--gold-dark-2 to avoid colliding
        with boss sienron's shared style.css, which declares --gold/--gold-dark
        with different values */
  --gold-2: #C9A84C;
  --gold-dark-2: #B3923D;
  --text-dark: #1A1714;
  --text-body: #6B6459;
  --text-muted: #8A837A;
  --border-light: #E4E0DA;
  --border-input: #D8D3CB;
  --bg-input: #FAF9F7;
  --bg-cream: #F1ECE3;
  --error: #C0392B;
  --radius: 8px;

  /* ---- Extra var kept for registration page layout ----
        renamed --cream -> --cream-2 for the same reason as --gold above */
  --cream-2: #efe9dd;
  --placeholder: #a6a094;
}

/* ============================================
      TYPOGRAPHY â€” Poppins site-wide
      âš ï¸ Josh: add this to <head> of BOTH html files:
      <link rel="preconnect" href="https://fonts.googleapis.com">
      <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
      ============================================ */

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select {
  font-family: inherit;
}

/* ============================================
      SHARED BUTTONS
      ============================================ */

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.btn-gold {
  background: var(--gold-2);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
}

.btn-gold:hover {
  background: var(--gold-dark-2);
}

.btn-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 11px;
}

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 13px;
}

.create-btn {
  padding: 13px 30px;
  font-size: 12px;
}

#submitBtn.btn-gold {
  color: var(--text-dark);
}

#resetSubmitBtn.btn-gold {
  color: var(--text-dark);
}

.auth-btn-outline {
  border: 1px solid var(--gold-2);
  color: var(--gold-dark-2);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-btn-outline:hover {
  background: #FBF7EE;
}

/* ============================================
      LOGIN PAGE â€” page-specific
      ============================================ */

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 66px);
}

.login-panel {
  display: flex;
  align-items: center;
  padding: 48px 64px;
  border-right: 1px solid var(--border-light);
}

.login-panel-inner {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.welcome-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 6px;
}

.welcome-sub {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 22px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.step-indicator .step-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
}

.step-indicator .step-line.active {
  background: var(--gold-2);
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  flex-shrink: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.auth-form-group input[type="email"],
.auth-form-group input[type="password"],
.auth-form-group input[type="text"] {
  padding: 13px 14px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  background: var(--bg-input);
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.auth-form-group input::placeholder {
  color: #B0AAA3;
}

.auth-form-group input:focus {
  outline: none;
  border-color: var(--gold-2);
  background: #FFFFFF;
}

.auth-form-group.has-error input {
  border-color: var(--error);
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 42px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-error {
  font-size: 12px;
  color: var(--error);
  min-height: 0;
  display: none;
}

.field-error:not(:empty) {
  display: block;
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  cursor: pointer;
}

.checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: var(--gold-2);
}

.link-gold {
  color: var(--gold-dark-2);
  font-weight: 600;
}

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

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 4px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.divider span {
  padding: 0 12px;
}

.signup-prompt {
  text-align: center;
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: -6px;
}

.legal-text {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 28px;
  line-height: 1.6;
}

.legal-text a {
  color: var(--gold-dark-2);
  font-weight: 600;
}

.legal-copy {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.showcase-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #FDFCFA;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  filter: brightness(70%);
}

.showcase-frame {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--bg-cream);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.showcase-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFD84D;
  border: 3px solid #2E63E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #1A1714;
}

.showcase-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: #D9CFAE;
  font-weight: 600;
}

.showcase-sub {
  font-size: 12px;
  color: #E3DCC9;
}

/* ---- Forgot password modal ---- */

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.auth-modal-overlay[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.modal-box {
  position: relative;
  width: 480px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 5px;
  padding: 40px 20px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: modal-pop 0.18s ease-out;
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-2);
  border-radius: 14px 14px 0 0;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

.auth-modal-close:hover {
  background: var(--bg-input);
}

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 12px auto 20px;
  border-radius: 50%;
  background: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  margin-bottom: 4px;
}

.back-to-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px auto 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-2);
}

.back-to-signin:hover {
  text-decoration: underline;
}

.modal-footnote {
  font-size: 10px;
  color: var(--border-input);
  margin-top: 20px;
  line-height: 1.5;
}

/* ============================================
      REGISTRATION PAGE â€” page-specific
      ============================================ */

.page {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: stretch;
}

.form-side {
  padding: 32px 64px 40px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.form-wrap {
  flex: 1;
}

.form-wrap h1 {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
}

.subtitle {
  margin: 6px 0 26px;
  font-size: 13.5px;
  color: var(--text-body);
}

/* ---- Stepper ---- */

.stepper {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 0 32px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.4px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-body);
  background: var(--white);
}

.step.active .step-circle {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--white);
}

.step-label {
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--text-body);
}

.step.active .step-label {
  color: var(--gold-2);
  font-weight: 600;
}

.stepper .step-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--border-light) 0, var(--border-light) 4px, transparent 4px, transparent 8px);
  margin: 0 8px 18px;
}

/* ---- Form sections ---- */

.section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--gold-2);
  text-transform: uppercase;
  padding-bottom: 10px;
  margin: 30px 0 18px;
  border-bottom: 1px solid var(--border-light);
}

.form-wrap h2.section-title:first-of-type {
  margin-top: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.field-row .field {
  margin-bottom: 0;
}

.form-side label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-side label .hint {
  text-transform: none;
  font-weight: 400;
  color: var(--placeholder);
  letter-spacing: 0;
  font-size: 10.5px;
}

.form-side input[type="text"],
.form-side input[type="email"],
.form-side input[type="tel"],
.form-side input[type="password"],
.form-side input[type="date"],
.form-side select {
  width: 100%;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-side input::placeholder {
  color: var(--placeholder);
}

.form-side input:focus,
.form-side select:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-side select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a6a094' stroke-width='1.4' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--text-dark);
  cursor: pointer;
}

.form-side select:invalid {
  color: var(--placeholder);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-right: 42px;
}

.toggle-pw {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--placeholder);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.toggle-pw:hover {
  color: var(--gold-2);
}

.terms-field {
  justify-content: flex-end;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-body);
  cursor: pointer;
  margin-top: 30px;
}

.checkbox-row input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--gold-2);
  flex-shrink: 0;
}

.checkbox-row a {
  color: var(--gold-2);
  font-weight: 500;
}

.checkbox-row a:hover {
  text-decoration: underline;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.signin-hint {
  margin: 0;
  font-size: 13px;
  color: var(--text-body);
}

.signin-hint a {
  color: var(--gold-2);
  font-weight: 600;
}

/* ---- showcase panel override for registration page ----
      (login page keeps the original centered/dimmed look above;
      registration needs it to stretch full-height + stick while
      the long form scrolls, with no dark filter) ---- */
.page .showcase-panel {
  display: block;
  padding: 10px;
  background: var(--cream-2);
}

.page .showcase-image {
  position: sticky;
  top: 10px;
  height: calc(100vh - 20px);
  border-radius: 8px;
  filter: brightness(85%);
}


.sg-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.sg-modal-overlay.sg-modal-open {
  display: flex;
}

.sg-modal-box {
  background: var(--bg-cream, #fff);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.sg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark, #333);
}

.sg-modal-content h3 {
  color: var(--gold, #C9A84C);
  margin-top: 16px;
}

/* ============================================
      RESPONSIVE
      ============================================ */

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

  /*.image-side { display: none; }*/
  .form-side {
    border-right: none;
    padding: 28px 24px 32px;
  }
}

@media (max-width: 860px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .showcase-panel {
    display: none;
  }

  .login-panel {
    border-right: none;
    padding: 32px 20px;
  }
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .create-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .modal-box {
    padding: 32px 16px 24px;
  }
}

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

  /*.image-side { display: none; }*/
  .form-side {
    border-right: none;
    padding: 28px 24px 32px;
  }
}

@media (max-width: 860px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .showcase-panel {
    display: none;
  }

  .login-panel {
    border-right: none;
    padding: 32px 20px;
  }
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .create-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .modal-box {
    padding: 32px 16px 24px;
  }
}

/* Shared AI help chat */
.faq-chat {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1200;
  font-family: 'Poppins', sans-serif;
}

.faq-chat-launcher {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  background: #C9A84C;
  box-shadow: 0 5px 18px rgba(26, 23, 20, 0.2);
  transition: transform 0.18s ease, background 0.18s ease;
}

.faq-chat-launcher:hover {
  background: #B3923D;
  transform: translateY(-2px);
}

.faq-chat-launcher:focus-visible,
.faq-chat-close:focus-visible,
.faq-chat-form button:focus-visible {
  outline: 3px solid #1A1714;
  outline-offset: 3px;
}

.faq-chat-launcher svg {
  width: 72%;
  height: 72%;
}

.faq-chat-bubble {
  fill: #FAF9F2;
}

.faq-chat-launcher circle {
  fill: #C9A84C;
}

.faq-chat-panel {
  position: absolute;
  right: 0;
  bottom: 92px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 470px;
  max-height: calc(100dvh - 130px);
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 12px 38px rgba(26, 23, 20, 0.2);
}

.faq-chat-panel[hidden] {
  display: none;
}

.faq-chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  min-height: 58px;
  padding: 8px 14px;
  background: #C9A84C;
  color: #1A1714;
}

.faq-chat-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.faq-chat-status {
  margin-bottom: 0;
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.2;
}

.faq-chat-close {
  display: grid;
  flex: 0 0 30px;
  align-self: center;
  place-items: center;
  width: 32px;
  height: 30px;
  padding: 0;
  color: #1A1714;
  font-size: 24px;
  line-height: 1;
}

.faq-chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  box-sizing: border-box;
  overflow-y: auto;
  padding: 16px;
  overscroll-behavior: contain;
}

.faq-chat-message {
  flex: 0 0 auto;
  max-width: 88%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.faq-chat-message--bot {
  background: #F5F2EC;
  color: #1A1714;
}

.faq-chat-message--bot strong {
  font-weight: 700;
}

.faq-chat-message--bot a {
  color: #705817;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-chat-message--bot a:focus-visible,
.faq-chat-suggestions button:focus-visible {
  outline: 2px solid #1A1714;
  outline-offset: 2px;
}

.faq-chat-message--user {
  align-self: flex-end;
  border: 2px solid #C9A84C;
  background: #FFFFFF;
  color: #1A1714;
}

.faq-chat-suggestions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 6px;
  box-sizing: border-box;
  padding: 4px 12px 8px;
  background: transparent;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.faq-chat-suggestions[hidden] {
  display: none;
}

.faq-chat-suggestions button {
  flex: 0 0 auto;
  min-height: 32px;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 0;
  border-radius: 16px;
  background: #F5F2EC;
  color: #4B3B17;
  font: inherit;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(26, 23, 20, 0.08);
}

.faq-chat-suggestions button:hover {
  background: #F5F2EC;
}

.faq-chat-form {
  display: flex;
  flex: 0 0 auto;
  box-sizing: border-box;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #E4E0DA;
}

.faq-chat-form input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #D8D3CB;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
}

.faq-chat-form input:focus {
  outline: 2px solid #C9A84C;
  outline-offset: 1px;
}

.faq-chat-form button {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 6px;
  background: #C9A84C;
}

.faq-chat-form button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #1A1714;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 520px) {
  .faq-chat {
    right: 16px;
    bottom: 16px;
  }

  .faq-chat-launcher {
    width: 64px;
    height: 64px;
  }

  .faq-chat-panel {
    bottom: 78px;
    max-height: calc(100dvh - 112px);
  }
}

main.page {
  display: grid;
  flex: none;
  min-height: max-content;
  height: auto;
}


/* ============================================
   OTP / Email Verification modal
   (used on RegistrationPage.html after CREATE ACCOUNT)
   Append this block into the shared style.css.
   Reuses existing modal classes already defined for the
   forgot-password modal: .auth-modal-overlay, .modal-box,
   .modal-top-bar, .auth-modal-close, .modal-icon, .modal-title,
   .modal-subtitle, .back-to-signin, .link-gold
   Only NEW classes below.
   ============================================ */

.otp-modal {
  max-width: 400px;
}

.otp-email {
  color: var(--gold-dark-2);
  font-weight: 600;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 20px;
}

.login-mfa-remember {
  justify-content: center;
  margin-bottom: 16px;
  font-size: 12px;
}

.otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 20px;
  color: var(--text-dark);
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
}

.otp-digit:focus {
  outline: none;
  border-color: var(--gold-2);
  background: #FFFFFF;
}

.otp-timer {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.otp-timer-value {
  color: var(--gold-2);
  font-weight: 600;
}

.otp-resend {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
}

.otp-divider-line {
  border-top: 1px solid var(--border-light);
  margin: 20px 0 16px;
}

.otp-security-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-input);
  border-radius: var(--radius);
  text-align: left;
}

.otp-security-note p {
  font-size: 9.5px;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.otp-security-note p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Contact Us page (ContactUsPage.html)
   Append this block into the shared style.css
   Uses existing brand variables (gold/Poppins) â€”
   renamed .auth-form-row -> .contact-form-row to avoid
   colliding with the login/registration .auth-form-row
   ============================================ */

.contact-page {
  background-color: #F7F5F0;
  /* close to --bg-cream but not identical â€” per Figma spec; tell me if you want it to match --bg-cream exactly instead */
  color: var(--text-dark);
}

.contact-main {
  max-width: 1312px;
  margin: 0 auto;
  padding: 60px 64px 100px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 60px;
}

.contact-breadcrumb {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.contact-title {
  font-size: 56px;
  font-weight: 400;
  margin: 0;
}

.text-gold {
  color: var(--gold-2);
}

.text-gold-italic {
  color: var(--gold-2);
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.section-label {
  font-size: 9px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
  border-top: 2px solid var(--gold-2);
  padding-top: 8px;
  margin: 0 0 16px;
  width: fit-content;
}

/* --- Left column: map + info --- */

.contact-map iframe {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 24px;
}

.contact-info-card {
  border-top: 4px solid var(--gold-2);
  padding-top: 24px;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.info-icon {
  font-size: 16px;
  line-height: 1;
}

.info-title {
  font-size: 13px;
  color: var(--text-dark);
  margin: 0 0 2px;
}

.info-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-2);
  color: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
}

/* --- Right column: form --- */

.contact-form-col {
  border-top: 4px solid var(--gold-2);
  padding-top: 24px;
}

.form-title {
  font-size: 36px;
  font-weight: 400;
  margin: 8px 0 16px;
  line-height: 1.15;
}

.form-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.contact-form {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

/* renamed from .form-row to avoid collision with login/registration .auth-form-row */
.contact-form-row {
  margin-bottom: 20px;
}

.contact-form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 12.5px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  background: var(--bg-input);
  color: var(--text-dark);
}

.form-field textarea {
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--placeholder, #C8C0B4);
}

.btn-send {
  width: 100%;
  padding: 16px;
  background: var(--gold-2);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-send:hover {
  background: var(--gold-dark-2);
}

.form-status {
  margin-top: 12px;
  font-size: 12px;
}

.form-status.success {
  color: #3A7D44;
}

.form-status.error {
  color: var(--error);
}

/* --- Responsive --- */

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

  .contact-main {
    padding: 40px 24px 60px;
  }

  .contact-title {
    font-size: 40px;
  }
}

/* ============================================
   About Us page (AboutUsPage.html)
   Append this block into the shared style.css
   Uses existing brand variables (gold/Poppins)
   ============================================ */

.about-page {
  background-color: #FFFFFF;
  color: var(--text-dark);
}

.about-main {
  max-width: 1312px;
  margin: 0 auto;
  padding: 60px 64px 100px;
}

.about-hero {
  text-align: center;
  margin-bottom: 60px;
}

.about-breadcrumb {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.about-title {
  font-size: 56px;
  font-weight: 400;
  margin: 0;
}

.text-gold-italic {
  color: var(--gold-2);
  font-style: italic;
}

/* --- Our Story --- */

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.story-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.section-label-about {
  font-size: 9px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.story-heading {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
}

.story-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4A4540;
  margin: 0 0 32px;
}

.story-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.stat-number {
  font-size: 32px;
  color: var(--gold-2);
  margin: 0 0 4px;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

/* --- Meet the Team --- */

.team-section {
  text-align: center;
  background-color: var(--bg-cream);
  border-top: 3px solid var(--gold-2);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 80px calc(50vw - 50% + 64px) 60px;
  box-sizing: border-box;
}

.team-header {
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label-centered {
  width: fit-content;
  margin: 0 auto 12px;
}

.team-heading {
  font-size: 44px;
  font-weight: 400;
  margin: 0 0 20px;
}

.team-subtitle {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* switched to flexbox + centering so an incomplete last row (e.g. 5 cards -> 2 in row 2)
     centers instead of sticking to the left like CSS grid does */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-card {
  flex: 0 1 calc(33.333% - 27px);
  min-width: 260px;
  text-align: center;
  overflow: hidden;
  border-radius: var(--radius);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

/* white card for the text area, matching the reference screenshot */
.team-info {
  background: #FFFFFF;
  padding: 24px 20px 28px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.team-name {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
}

.team-role {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  margin: 0 0 10px;
}

.team-specialty,
.team-experience {
  font-size: 12px;
  color: var(--text-body);
  margin: 0 0 4px;
}

/* --- Responsive --- */

@media (max-width: 900px) {
  .story-section {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex: 1 1 100%;
  }

  .about-main {
    padding: 40px 24px 60px;
  }

  .team-section {
    padding: 60px calc(50vw - 50% + 24px) 40px;
  }

  .about-title {
    font-size: 40px;
  }

  .story-stats {
    flex-wrap: wrap;
    gap: 24px;
  }


}

.about-main,
.contact-main {
  display: block;
  flex: none;
  min-height: max-content;
  height: auto;
}




/*SERVICES PAGE*/




body.services {
  display: block;
  height: auto;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}

.services-headline {
  width: auto;
  height: auto;
  background-color: black;
  padding: 20px 5vw;
  text-align: center;
  background-image: url("images/ServicesBackground.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-headline h1 {
  font-family: var(--font-body);
  font-weight: 50;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1.15;
  padding-top: 15px;
  padding-bottom: 10px;
  color: var(--white);

}

.services-headline-subheading {
  font-family: var(--font-body);
  font-weight: 10;
  font-size: 1rem;
  line-height: 1.15;
  color: var(--gold);

}

.services-headline-horizontal {
  height: 1px;
  width: 120px;
  background-color: var(--gold-dark);
  display: inline-block;

}

.services-headline-dot {

  width: 10px;
  height: 10px;
  transform: translateY(4px);
  border-radius: 50%;
  background: var(--gold-dark);
  display: inline-block;
  margin-left: 50px;
  margin-right: 50px;
}

.services-headline-horizontal2 {
  height: 1px;
  width: 120px;
  background-color: var(--gold-dark);
  display: inline-block;
}

.services-headline-lede {
  font-family: var(--font-body);
  font-weight: 50;
  font-size: 0.8rem;
  line-height: 1.15;
  color: var(--ink-soft);
  margin-top: 50px;
}

@media(max-width:900px) {
  .services-headline-horizontal {
    height: 1px;
    width: 60px;
    background-color: var(--gold-dark);
    display: inline-block;
  }

  .services-headline-dot {
    width: 10px;
    height: 10px;
    transform: translateY(4px);
    border-radius: 50%;
    background: var(--gold-dark);
    display: inline-block;
    margin-left: 25px;
    margin-right: 25px;
  }

  .services-headline-horizontal2 {
    height: 1px;
    width: 60px;
    background-color: var(--gold-dark);
    display: inline-block;
  }



}



.all-services {
  width: auto;
  height: auto;
  background-color: var(--cream);
  padding: 20px 5vw;
}

.all-services-title {
  font-family: var(--font-body);
  font-size: 0.6rem;
  line-height: 1.15;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  margin-bottom: 15px;
}


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

.category-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(90, 58, 30, .08);
  display: flex;
  flex-direction: column;
}

/* ---- Dark media panel ----
     1. Add  <img src="images/photo.jpg" class="category-photo">
        as the FIRST child inside .category-media (before the badge)
   The scrim (.category-media::after) stays either way â€” that's
   what keeps the badge/title/price legible over a photo. */
.category-media {
  position: relative;
  min-height: 300px;
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}



.category-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* the gradient scrim â€” transparent at the top so the photo shows,
   darkening from the middle down so the title/price stay readable
   regardless of what's behind them */
.category-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, .55) 70%,
      rgba(0, 0, 0, .82) 100%);
}

.category-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
}

.category-media-text {
  position: relative;
  z-index: 2;
}

.category-media-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}

.category-underline {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 12px;
}

.category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-price-range {
  font-size: 13.5px;
  color: var(--gold);
}

.category-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--gold);
}

/* ---- White price list body ---- */
.category-body {
  padding: 18px 26px 22px;
}

.category-body-description {
  font-weight: 100;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.category-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink);
}

.category-service-row--last {
  border-bottom: none;
}

.category-service-price {
  font-weight: 100;
  color: var(--gold);
  white-space: nowrap;
}

.category-body-note {
  font-weight: 200;
  font-size: 14px;
  color: var(--gold-dark);
  text-align: center;
  padding-top: 10px;
}

.category-body-note-add-ons {
  margin-left: 15px;
  font-weight: 100;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 3px;

}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .service-categories {
    padding: 64px 24px 72px;
  }

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

/*3rd CARD ROW
============================================================ */
.all-services-title-2 {
  font-family: var(--font-body);
  font-size: 0.6rem;
  margin-top: 45px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
}

.featured-treatment {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 0px 5vw 20px;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--cream);
  box-shadow: 0 20px 40px rgba(20, 15, 10, .25);
}

/* ---- Left: photo placeholder panel ----
   To swap in a real photo later:
     1. Add <img src="images/your-photo.jpg" class="featured-photo">
        as the first child of .featured-treatment (before .featured-treatment-bg)
    
   Both this panel's width (380px) and the scrim's width must stay
   equal to .featured-intro's flex-basis below, so they line up. */
.featured-treatment-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 430px;
  height: 100%;
  z-index: 0;
}


.featured-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 430px;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* the same "transparent top, dark bottom" scrim used on the
   category cards â€” keeps the badge/title readable up top even
   without darkening, then deepens through the lower half where
   the subtitle/price/button sit */
.featured-treatment-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 430px;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, .20) 40%,
      rgba(0, 0, 0, .55) 70%,
      rgba(0, 0, 0, .85) 100%);
}

.featured-intro {
  position: relative;
  z-index: 2;
  /* sits above .featured-treatment-bg/scrim */
  flex: 0 0 430px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.featured-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--light-gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 26px;
}

.featured-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}

.featured-underline {
  width: 90px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}

.featured-subtitle {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 4px;
}

.featured-price-range {
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 28px;
}

.featured-cta {
  align-self: flex-start;
  margin-top: auto;
  /* pushes the button to the bottom of the panel */
  background: var(--gold);
  color: var(--espresso-dark);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 8px;
  transition: background .15s ease, transform .15s ease;
}

.featured-cta:hover {
  background: #EFD98F;
  transform: translateY(-1px);
}

/* ---- Right: permanent dark price-list panel ---- */
.featured-list {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 32px 40px;
  background: linear-gradient(160deg, #241811 0%, #170f0a 55%, #100b07 100%);
}

.featured-list-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--light-gold);
  margin-bottom: 16px;
}

.featured-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

.featured-rows-col {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 14.5px;
  color: rgba(255, 255, 255, .92);
}

.featured-rows-col .service-row:last-child {
  border-bottom: none;
}

.service-row .price {
  color: var(--gold);
  font-weight: 200;
  white-space: nowrap;
}

.service-highlight {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(212, 169, 55, .1);
  border: 1px solid rgba(212, 169, 55, .32);
  border-radius: 8px;
}

.service-highlight-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.service-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 200;
  color: var(--white);
}

.service-highlight-row .price {
  font-size: 16px;

}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .featured-treatment {
    flex-direction: column;
  }

  .featured-treatment-bg,
  .featured-treatment-scrim,
  .featured-photo {
    width: 100%;
    height: 380px;
  }

  .featured-intro {
    flex: none;
    width: 100%;
    height: 380px;
  }

  .featured-title {
    font-size: 44px;
  }

  .featured-rows {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

}

@media (max-width: 480px) {

  .featured-intro,
  .featured-list {
    padding: 28px 24px;
  }

  .featured-title {
    font-size: 36px;
  }
}




.ready-to-glow-strip {
  width: auto;
  height: auto;
  padding: 20px 5vw;
  text-align: center;
  border-top: 4px solid var(--gold);
  background-color: black;
  background-image: url("images/ServicesBackground.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ready-to-glow-strip-subheading-2 {
  font-family: var(--font-body);
  font-weight: 50;
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--gold-dark);
  padding-top: 15px;
}

.ready-to-glow-strip-subheading-3 {
  font-family: var(--font-body);
  font-weight: 50;
  font-size: clamp(2.0rem, 2.5vw, 2.7rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: -30px;

}

.rtg-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.book-online-btn {
  margin-top: auto;
  /* pushes the button to the bottom of the panel */
  background: var(--gold);
  color: var(--espresso-dark);
  font-weight: 100;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 8px;
  transition: background .15s ease, transform .15s ease;
}

.book-online-btn:hover {
  background: #EFD98F;
  transform: translateY(-2px);
}



.contact-us-btn {
  margin-top: 10px;
  /* pushes the button to the bottom of the panel */
  background: black;
  color: var(--gold);
  font-weight: 100;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  transition: background .15s ease, transform .15s ease;
}

.contact-us-btn:hover {
  background: #EFD98F;
  transform: translateY(-2px);
}

/* Reset Password â€” success state */
.reset-success {
  margin-top: 16px;
}

.reset-success-link {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

/* ============================================
   Admin â€” User Management page (UserManagement.html)
   Append this block to the end of the shared style.css.
   Reuses existing tokens where the value already matches
   (--gold-2, --text-dark, --text-muted). New tokens are
   namespaced --um-* so they can never collide with anything
   already declared above (same reasoning as --gold-2 /
   --cream-2 further up this file).
   ============================================ */

:root {
  --um-bg-cream: #F7F5F0;
  /* NOT the same as --bg-cream (#F1ECE3) â€” this page's
                                      Figma spec uses a slightly different cream */
  --um-border: #ece7dd;
  --um-text-body: #4a4540;
  --um-text-faint: #b0aaa3;
  --um-text-faint-2: #c8c0b4;
  --um-status-active: #006400;
  --um-status-active-bg: #e6f2e6;
  --um-status-suspended: #9b2626;
  --um-status-suspended-bg: #fbeaea;
  --um-role-client: #3b82f6;
  --um-role-client-bg: #eaf1fe;
  --um-role-staff-bg: #f8f2e0;
  --um-role-doctor: #8a6e2f;
  --um-role-doctor-bg: #f3ead2;
}

.um-shell {
  display: flex;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: var(--um-bg-cream);
  color: var(--text-dark);
}

/* ---------- Sidebar (220px per Figma) ---------- */
.um-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--um-border);
  display: flex;
  flex-direction: column;
  padding: 0 0 20px;
}

.um-sidebar__logo {
  display: flex;
  align-items: center;
  height: 72px;
  box-sizing: border-box;
  padding: 0 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--um-border);
  margin-bottom: 16px;
}

.um-sidebar__logo .logo-container {
  margin-left: 0;
}

.um-sidebar__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.um-sidebar__brand {
  margin: 0;
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--gold-2);
  font-weight: 600;
}

.um-sidebar__brand-sub {
  margin: 2px 0 0;
  font-size: 7.5px;
  letter-spacing: .05em;
  color: var(--text-muted);
}

.um-sidebar__label {
  margin: 0 0 8px 20px;
  font-size: 8px;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.um-sidebar__nav {
  display: flex;
  flex-direction: column;
}

.um-nav-link {
  padding: 10px 20px;
  font-size: 12px;
  color: var(--text-dark);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.um-nav-link:hover {
  background: var(--um-bg-cream);
}

.um-nav-link--active {
  color: var(--gold-2);
  border-left-color: var(--gold-2);
  background: #fbf8ef;
  font-weight: 500;
}

.um-sidebar-actions {
  display: grid;
  gap: 8px;
  padding: 0 16px 14px;
}

.um-sidebar-actions .um-header__actions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}

.um-sidebar-actions .um-btn {
  width: 100%;
  text-align: center;
}

.um-sidebar__account {
  margin-top: auto;
  position: relative;
  padding: 12px 20px;
  border-top: 1px solid var(--um-border);
}

.um-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.um-sidebar__account-details {
  display: block;
  min-width: 0;
}

.um-sidebar__account-menu {
  display: none;
  position: absolute;
  right: 12px;
  bottom: calc(100% + 8px);
  left: 12px;
  z-index: 20;
  padding: 6px;
  border: 1px solid rgb(230, 230, 230);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.um-sidebar__account-menu.show {
  display: block;
}

.um-sidebar__logout {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.um-sidebar__logout:hover {
  background: rgba(185, 60, 60, 0.08);
  color: #b42318;
}

.um-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--um-role-staff-bg);
  color: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.um-sidebar__account-name {
  margin: 0;
  font-size: 12px;
  color: var(--um-text-body);
}

.um-sidebar__account-role {
  margin: 0;
  font-size: 10px;
  color: var(--text-muted);
}

.um-sidebar__account-name,
.um-sidebar__account-role {
  display: block;
}

/* ---------- Main ---------- */
.um-main {
  flex: 1;
  padding: 20px 24px;
  min-width: 0;
}

.um-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
  height: 72px;
  box-sizing: border-box;
  padding: 0 24px;
  margin: -20px -24px 18px;
  border-bottom: 1px solid var(--um-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.um-header__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.um-header__subtitle {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

.um-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-notification-wrap {
  position: relative;
  flex-shrink: 0;
}

.admin-notification-btn {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  background: #fff;
  color: var(--um-text);
  cursor: pointer;
}

.admin-notification-btn:hover {
  background: var(--um-bg);
}

.notification,
.admin-notification-btn {
  border-radius: 8px;
  background-color: #fff;
}

.notification:hover,
.admin-notification-btn:hover {
  background-color: rgb(201, 168, 76);
}

.admin-notification-btn img {
  width: 16px;
  height: 16px;
}

.admin-notification-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 240px;
  overflow: hidden;
  border: 1px solid var(--um-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(37, 31, 26, 0.14);
}

.admin-notification-dropdown.show {
  display: block;
}

.admin-notification-dropdown strong {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--um-border);
  color: var(--um-text);
  font-size: 12px;
}

.admin-notification-list {
  max-height: 320px;
  overflow-y: auto;
  color: var(--um-text-faint);
  font-size: 11px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.admin-notification-list .notification-empty {
  min-height: 64px;
  padding: 12px;
  font-size: 11px;
  text-align: center;
}

.um-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 210px;
  color: var(--um-text-faint);
}

.um-search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 12px;
  width: 100%;
  background: transparent;
  color: var(--text-dark);
}

.um-btn {
  font-family: inherit;
  font-size: 11px;
  border-radius: 6px;
  padding: 9px 16px;
  cursor: pointer;
  border: 1px solid var(--um-border);
}

.um-btn--ghost {
  background: #fff;
  color: var(--um-text-body);
}

.um-btn--ghost:hover {
  background: var(--um-bg-cream);
}

.um-btn--primary {
  background: var(--gold-2);
  color: #fff;
  border-color: var(--gold-2);
  font-weight: 500;
}

.um-btn--primary:hover {
  background: var(--gold-dark-2);
}

/* ---------- Stat cards ---------- */
.um-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.um-stat-card {
  background: #fff;
  border: 1px solid var(--um-border);
  border-top: 3px solid var(--gold-2);
  border-radius: 6px;
  padding: 13px 18px;
}

.um-stat-card__label {
  margin: 0;
  font-size: 9px;
  letter-spacing: .04em;
  color: var(--text-muted);
}

.um-stat-card__value {
  margin: 6px 0;
  font-size: 30px;
  color: var(--gold-2);
  line-height: 1;
}

.um-stat-card__hint {
  margin: 0;
  font-size: 10px;
  color: var(--text-muted);
}

.um-stat-card__hint--positive {
  color: var(--um-status-active);
}

.um-stat-card__hint--negative {
  color: var(--um-status-suspended);
}

/* ---------- Tabs ---------- */
.um-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--um-border);
  overflow-x: auto;
}

.um-tab {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .02em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.um-tab:hover {
  color: var(--text-dark);
}

.um-tab--active {
  color: var(--gold-2);
  font-weight: 500;
  border-bottom-color: var(--gold-2);
}

/* ---------- Table ---------- */
.um-table-wrap {
  background: #fff;
  border: 1px solid var(--um-border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow-x: auto;
}

.um-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.um-table thead tr {
  background: var(--um-bg-cream);
}

.um-table th {
  text-align: left;
  font-size: 8.5px;
  letter-spacing: .04em;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--um-border);
  font-weight: 400;
}

.um-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--um-border);
  font-size: 11.5px;
  vertical-align: middle;
  color: var(--um-text-body);
}

.um-table__checkbox-col {
  width: 30px;
}

.um-table tbody tr:last-child td {
  border-bottom: none;
}

.um-table tbody tr:hover {
  background: #fbfaf7;
}

.um-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.um-user-cell__name {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-dark);
}

.um-user-cell__meta {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--text-muted);
}

.um-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.um-badge--client {
  background: var(--um-role-client-bg);
  color: var(--um-role-client);
}

.um-badge--staff {
  background: var(--um-role-staff-bg);
  color: var(--gold-2);
}

.um-badge--doctor {
  background: var(--um-role-doctor-bg);
  color: var(--um-role-doctor);
}

.um-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}

.um-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.um-status--active {
  background: var(--um-status-active-bg);
  color: var(--um-status-active);
}

.um-status--suspended {
  background: var(--um-status-suspended-bg);
  color: var(--um-status-suspended);
}

.um-visits {
  font-size: 22px;
  color: var(--gold-2);
  display: block;
  line-height: 1;
}

/* ---------- Footer / pagination ---------- */
.um-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.um-pagination {
  display: flex;
  gap: 6px;
}

.um-pagination button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--um-border);
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
}

.um-pagination button.active {
  background: var(--gold-2);
  color: #fff;
  border-color: var(--gold-2);
}

/* ---------- User Information Pop Up (matches Figma node 94:1455) ---------- */
.um-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, .4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.um-modal-overlay.um-modal-overlay--open {
  display: flex;
}

.um-modal {
  background: #fff;
  width: 760px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  border-top: 4px solid var(--gold-2);
  position: relative;
  display: flex;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

.um-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--um-border);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}

.um-modal__side {
  width: 200px;
  flex-shrink: 0;
  padding: 20px;
  border-right: 1px solid var(--um-border);
  text-align: center;
}

.um-modal__photo {
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  border: 2px dashed var(--um-border);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--um-text-faint);
  gap: 4px;
}

.um-modal__photo p {
  margin: 0;
  font-size: 8px;
  letter-spacing: .05em;
}

.um-modal__name {
  margin: 0;
  font-size: 15px;
  color: var(--text-dark);
}

.um-modal__id {
  margin: 4px 0 10px;
  font-size: 9px;
  color: var(--gold-2);
}

.um-modal__side hr {
  border: none;
  border-top: 1px solid var(--um-border);
  margin: 12px 0;
}

.um-modal__label {
  margin: 0;
  font-size: 8.5px;
  letter-spacing: .05em;
  color: var(--um-text-faint);
  text-align: center;
}

.um-modal__bignum {
  margin: 6px 0 0;
  font-size: 32px;
  color: var(--gold-2);
  text-align: center;
  line-height: 1;
}

.um-modal__bignum-label {
  margin: 2px 0 0;
  font-size: 9.5px;
  color: var(--text-muted);
  text-align: center;
}

.um-modal__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  text-align: left;
}

.um-modal__row span {
  font-size: 10.5px;
  color: var(--text-muted);
}

.um-modal__row strong {
  font-size: 10.5px;
  color: var(--text-dark);
  font-weight: 500;
  text-align: right;
}

.um-modal__btn-primary {
  width: 100%;
  background: var(--gold-2);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 9px;
  font-size: 9.5px;
  letter-spacing: .04em;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
}

.um-modal__btn-primary:hover {
  background: var(--gold-dark-2);
}

.um-modal__btn-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.um-modal__btn-outline-gold,
.um-modal__btn-outline-red {
  flex: 1;
  background: #fff;
  border-radius: 5px;
  padding: 8px 4px;
  font-size: 9.5px;
  letter-spacing: .03em;
  font-family: inherit;
  cursor: pointer;
}

.um-modal__btn-outline-gold {
  border: 1px solid var(--gold-2);
  color: var(--gold-2);
}

.um-modal__btn-outline-red {
  border: 1px solid var(--um-status-suspended);
  color: var(--um-status-suspended);
}

.um-modal__main {
  flex: 1;
  padding: 20px 24px;
  min-width: 0;
}

.um-modal__section-title {
  margin: 0;
  font-size: 9px;
  letter-spacing: .05em;
  color: var(--gold-2);
}

.um-modal__main>hr,
.um-modal__note-card hr {
  border: none;
  border-top: 1px solid var(--um-border);
  margin: 8px 0 12px;
}

.um-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.um-modal__grid>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.um-modal__grid span,
.um-modal__grid-label {
  font-size: 10px;
  color: var(--text-muted);
}

.um-modal__grid strong {
  font-size: 12.5px;
  color: var(--text-dark);
  font-weight: 400;
}

.um-allergy-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 12px;
}

.um-allergy-tag {
  background: var(--um-status-suspended-bg);
  color: var(--um-status-suspended);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 11px;
}

.um-modal__note-card {
  background: var(--um-bg-cream);
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 4px;
}

.um-modal__note-meta {
  margin: 0;
  font-size: 9.5px;
  color: var(--gold-2);
}

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

.um-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--um-border);
  margin-top: 16px;
  padding-top: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.um-modal__footer p {
  margin: 0;
  font-size: 10px;
  color: var(--um-text-faint);
}

.um-modal__footer a {
  font-size: 10px;
  color: var(--gold-2);
  text-decoration: none;
}

@media (max-width: 900px) {
  .um-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .um-modal {
    flex-direction: column;
    width: 100%;
  }

  .um-modal__side {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--um-border);
  }

  .um-modal__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROFILE DROPDOWN (public header) ===== */
body:not(.profile-ready) .header-profile-wrap,
body:not(.profile-ready) .mobile-nav-profile {
  visibility: hidden;
}

.header-profile-wrap {
  position: relative;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 200px;
  background-color: var(--white);
  border: 1px solid rgb(230, 230, 230);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  z-index: 20;
  overflow: hidden;
  padding: 6px;
}

.profile-dropdown.show {
  display: block;
}

.profile-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(60, 60, 60);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.profile-dropdown-item:hover {
  background-color: rgba(201, 168, 76, 0.12);
  color: #C9A84C;
}

.profile-dropdown-divider {
  height: 1px;
  background-color: rgb(235, 235, 235);
  margin: 6px 4px;
}

.profile-dropdown-item--signout {
  color: #B93C3C;
}

.profile-dropdown-item--signout:hover {
  background-color: rgba(185, 60, 60, 0.08);
  color: #B93C3C;
}

@media (max-width: 480px) {
  .profile-dropdown {
    right: -10px;
  }
}


/* ============================================
   Admin Dashboard â€” content placeholder panels
   (AdminDashboard.html)
   ============================================ */

.um-dashboard-panel {
  background: #fff;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 24px;
}

.admin-dashboard-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-dashboard-panel__eyebrow {
  margin: 0 0 6px;
  color: var(--gold-2);
  font-size: 9px;
  font-weight: 600;
}

.admin-dashboard-panel__heading h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
}

.admin-dashboard-panel__marker {
  flex-shrink: 0;
  padding: 5px 8px;
  border: 1px solid var(--um-border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 8px;
}

.um-dashboard-panel--top {
  height: 500px;
  margin-bottom: 16px;
}

.um-dashboard-panel--bottom {
  height: 264px;
}

.um-dashboard-placeholder-text {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--um-text-faint);
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
  padding-left: 12px;
  border-left: 2px solid var(--gold-2);
}

/* --- Appointment Summary / Checkout page --- */

.summary-page-main {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px 80px;
}

.summary-page-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-section-title {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgb(150, 150, 150);
  margin: 24px 0 14px 0;
}

#paymongoCheckout {
  padding-top: 16px;
  border-top: 1px solid #e7e2d7;
}

.checkout-back-link {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgb(120, 120, 120);
  text-decoration: none;
}

.checkout-back-link:hover {
  color: #C9A84C;
}

@media (max-width: 720px) {
  .summary-page-main {
    padding: 0 16px 60px;
  }
}

/* ===== MyAppointments.html ===== */
.my-appointments-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.appointments-section {
  margin-top: 32px;
}

.appointments-section h2 {
  font-family: "Raleway", sans-serif;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 14px;
}

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

.appointment-card,
.appointments-empty {
  background: #fff;
  border: 1px solid #e7e2d7;
  border-radius: 10px;
  padding: 18px;
  margin: 0;
}

.appointment-card h3 {
  margin: 0 0 8px;
  font-family: "Raleway", sans-serif;
  color: #3b3429;
}

.appointment-card p {
  margin: 6px 0;
  color: #666;
  font-size: .9rem;
}

.appointment-status {
  text-transform: capitalize;
  font-weight: 700;
  color: #9d7d27 !important;
}

.appointment-fee {
  font-weight: 600;
}

.appointment-cancel-btn {
  margin-top: 10px;
  padding: 9px 13px;
  border: 1px solid #b93c3c;
  border-radius: 5px;
  background: #fff;
  color: #b93c3c;
  cursor: pointer;
  font: 700 .76rem "Raleway", sans-serif;
}

.appointment-cancel-btn:disabled {
  cursor: wait;
  opacity: .6;
}

.appointments-message {
  min-height: 1.2em;
  color: #b93c3c;
  font: 600 .85rem "Raleway", sans-serif;
}

@media (max-width: 600px) {
  .my-appointments-main {
    width: min(100% - 24px, 920px);
    padding-top: 36px;
  }
}

/* ===== Treatment Notes (sticky notes beside the appointment modal) ===== */

.appt-modal-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Trigger icon: sits just outside the modal's top-right corner */
.notes-trigger-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgb(230, 225, 210);
  background-color: #C9A84C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(90, 58, 30, 0.28);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.notes-trigger-btn:hover {
  background-color: #b7963f;
  transform: scale(1.06);
}

.notes-trigger-icon {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
  display: block;
  pointer-events: none;
}

/* Panel that holds the sticky notes, positioned to the right of the modal */
.notes-panel {
  position: relative;
  margin-left: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: min(var(--notes-max-height, 90vh), 90vh);
  max-height: min(var(--notes-max-height, 90vh), 90vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 6px;
  padding-bottom: 6px;
  box-sizing: border-box;
  scrollbar-width: thin;
}

.notes-panel[aria-hidden="true"] {
  display: none;
}

.notes-scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 1px solid rgba(90, 58, 30, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(90, 58, 30, 0.18);
  cursor: pointer;
  z-index: 4;
}

.notes-scroll-indicator.show {
  display: flex;
}

.notes-scroll-indicator img {
  width: 12px;
  height: 12px;
  display: block;
}

/* Individual sticky note */
.sticky-note {
  position: relative;
  background-color: #FFF3B0;
  /* default: yellow */
  border-radius: 4px;
  padding: 14px 14px 40px 14px;
  min-height: calc((var(--notes-max-height, 90vh) - 26px) / 2);
  box-sizing: border-box;
  overflow: visible;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  font-family: "Raleway", sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: stickyPop 0.18s ease-out;
}

.sticky-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

@keyframes stickyPop {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(0deg);
  }

  to {
    opacity: 1;
  }
}

.sticky-note-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 8px;
}

.sticky-note-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.sticky-note-icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.16);
}

.sticky-note-icon-btn img {
  width: 12px;
  height: 12px;
  display: block;
  pointer-events: none;
}

.sticky-note-icon-btn.note-close-btn {
  color: #6b3a3a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.sticky-note-color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: block;
  pointer-events: none;
}

/* Color picker dropdown that appears under the color-changer icon */
.note-color-picker {
  position: absolute;
  top: 34px;
  right: 8px;
  display: none;
  gap: 6px;
  background-color: #FFFFFF;
  border: 1px solid rgb(225, 225, 225);
  border-radius: 20px;
  padding: 6px 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  z-index: 3;
}

.note-color-picker.show {
  display: flex;
}

.note-color-option {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
}

.note-color-option:hover {
  transform: scale(1.15);
}

.note-color-option.active {
  outline: 2px solid rgb(80, 80, 80);
  outline-offset: 1px;
}

/* Note body: static (read) vs editable (textarea) */
.sticky-note-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgb(60, 55, 40);
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 40px;
}

.sticky-note-textarea {
  width: 100%;
  min-height: 90px;
  max-height: calc(var(--notes-max-height, 90vh) - 150px);
  box-sizing: border-box;
  overflow-y: auto;
  resize: vertical;
  border: none;
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgb(50, 45, 30);
}

.sticky-note-textarea:focus {
  outline: 2px solid rgba(0, 0, 0, 0.15);
}

.sticky-note-meta {
  position: absolute;
  bottom: 10px;
  left: 14px;
  right: 14px;
  font-size: 0.62rem;
  color: rgba(60, 55, 40, 0.6);
  display: flex;
  justify-content: space-between;
}

.sticky-note-save-btn {
  display: none;
  margin-top: 8px;
  align-self: flex-end;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.sticky-note.editing .sticky-note-save-btn {
  display: inline-flex;
}

.sticky-note.editing .sticky-note-text {
  display: none;
}

.sticky-note:not(.editing) .sticky-note-textarea,
.sticky-note:not(.editing) .sticky-note-save-btn {
  display: none;
}

@media (max-width: 860px) {
  .appt-modal-wrap {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(100%, 420px);
  }

  .notes-panel {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    max-width: 420px;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-y: auto;
  }

  .sticky-note {
    width: 100%;
  }

  .sticky-note-textarea {
    max-height: calc(var(--notes-max-height, 92vh) - 150px);
  }

  .notes-trigger-btn {
    top: -14px;
    right: 6px;
  }
}

/* Keep the aesthetician sidebar vertical when opened as the mobile drawer. */
@media (max-width: 860px) {
  section.staff-sidebar.mobile-sidebar-open {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 0 15px 15px;
  }

  section.staff-sidebar.mobile-sidebar-open .staff-sidebar-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 8px;
  }

  section.staff-sidebar.mobile-sidebar-open .staff-sidebar-logo {
    width: 130px;
    height: auto;
  }

  section.staff-sidebar.mobile-sidebar-open nav ul {
    display: block;
  }

  section.staff-sidebar.mobile-sidebar-open .nav-item {
    width: auto;
  }

  section.staff-sidebar.mobile-sidebar-open .profile-wrap {
    width: auto;
    margin-top: auto;
  }
}

/* ===== AESTHETICIAN OVERVIEW DASHBOARD ===== */

.aesthetician-dashboard-content {
  gap: 16px;
  min-height: 0;
  overflow: auto;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  flex-shrink: 0;
}

.dashboard-summary-card,
.dashboard-client-panel,
.dashboard-side-card {
  background: #fff;
  border: 1px solid rgb(232, 228, 220);
  box-shadow: 0 2px 7px rgba(80, 60, 30, 0.04);
}

.dashboard-summary-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  padding: 10px 14px;
  border-top: 3px solid #C9A84C;
}

.dashboard-summary-card p,
.dashboard-summary-card small {
  display: block;
  margin: 0;
  font-family: "Raleway", sans-serif;
}

.dashboard-summary-card p {
  color: rgb(125, 120, 111);
  font-size: calc(0.57rem + 2px);
  font-weight: 600;
}

.dashboard-summary-card strong {
  display: block;
  margin: 4px 0 2px;
  color: #C9A84C;
  font-family: "Playfair Display", serif;
  font-size: calc(1.7rem + 2px);
  font-weight: 500;
  line-height: 1;
}

.dashboard-summary-card small {
  color: #5D965D;
  font-size: calc(0.57rem + 2px);
}

.dashboard-summary-card a,
.dashboard-side-heading a {
  color: #C9A84C;
  font-family: "Raleway", sans-serif;
  font-size: calc(0.6rem + 2px);
  text-decoration: none;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.dashboard-client-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.dashboard-panel-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid rgb(232, 228, 220);
  font-family: "Raleway", sans-serif;
  font-size: calc(0.58rem + 2px);
}

.dashboard-panel-tabs span {
  display: inline-flex;
  height: 31px;
  align-items: center;
  border-bottom: 3px solid #C9A84C;
  color: #C9A84C;
}

.dashboard-panel-tabs>.search {
  width: min(260px, 42%);
  margin: 0 18px 0 auto;
  padding: 9px 16px;
}

.dashboard-table-search {
  width: 180px;
  height: 24px;
  margin-right: 10px;
  padding: 4px 8px;
  border: 1px solid rgb(232, 228, 220);
  color: rgb(90, 86, 80);
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  outline: none;
}

.dashboard-table-search:focus {
  border-color: #C9A84C;
}

.dashboard-table-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 10px;
}

.dashboard-table-heading h1 {
  margin: 0;
  color: rgb(55, 51, 46);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.dashboard-table-heading>p,
.dashboard-table-footer p {
  margin: 0;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.63rem;
}

.dashboard-table-wrap {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow: auto;
}

.dashboard-client-table {
  min-width: 620px;
}

.dashboard-client-table th,
.dashboard-client-table td {
  padding-left: 14px;
  padding-right: 14px;
}

.dashboard-client-table th {
  font-size: calc(0.55rem + 2px);
}

.dashboard-client-table td {
  font-size: calc(0.68rem + 2px);
}

.dashboard-client-table .client-name-cell small,
.dashboard-client-table .client-appointment-cell span {
  font-size: calc(0.55rem + 2px);
}

.dashboard-client-table .client-status {
  font-size: calc(0.5rem + 2px);
}

.dashboard-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
}

.dashboard-sort-icon,
.dashboard-status-icon {
  width: 9px;
  height: 9px;
  object-fit: contain;
}

.dashboard-sort-button:hover,
.dashboard-sort-button.active {
  color: #A9843A;
}

.treatment-sort-button {
  min-height: 24px;
}

.treatment-sort-indicator {
  display: inline-flex;
  width: 10px;
  align-items: center;
  justify-content: center;
  color: #9b9489;
  font-size: 12px;
  line-height: 1;
}

.treatment-sort-indicator::before {
  content: "↕";
}

.treatment-sort-button.active .treatment-sort-indicator {
  color: #A9843A;
}

.treatment-sort-button[data-sort-direction="ascending"] .treatment-sort-indicator::before {
  content: "↑";
}

.treatment-sort-button[data-sort-direction="descending"] .treatment-sort-indicator::before {
  content: "↓";
}

.dashboard-status-filter,
.dashboard-service-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.dashboard-status-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.dashboard-status-button:hover,
.dashboard-status-button[aria-expanded="true"] {
  background: rgb(248, 247, 243);
}

.dashboard-status-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 5;
  min-width: 125px;
  padding: 4px 0;
  border: 1px solid rgb(232, 228, 220);
  background: #fff;
  box-shadow: 0 4px 12px rgba(80, 60, 30, 0.12);
}

.dashboard-status-menu.show {
  display: grid;
}

.dashboard-status-menu button {
  padding: 6px 10px;
  border: none;
  background: #fff;
  color: rgb(105, 101, 95);
  cursor: pointer;
  font-family: "Raleway", sans-serif;
  font-size: 0.56rem;
  text-align: left;
}

.dashboard-status-menu button:hover {
  background: rgb(248, 247, 243);
  color: #A9843A;
}

.dashboard-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgb(240, 237, 231);
}

.dashboard-side-panels {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.dashboard-side-card {
  min-width: 0;
  padding: 14px 15px;
}

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

.dashboard-side-heading h2 {
  margin: 0;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
}

.dashboard-side-heading span {
  color: #C9A84C;
  font-family: "Raleway", sans-serif;
  font-size: 0.6rem;
}

.dashboard-timeline {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow-y: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 8px;
  position: relative;
  font-family: "Raleway", sans-serif;
}

.timeline-item:not(:last-child)::after {
  position: absolute;
  top: 11px;
  bottom: -9px;
  left: 4px;
  border-left: 1px solid #E4DDCF;
  content: "";
}

.timeline-dot {
  z-index: 1;
  width: 8px;
  height: 8px;
  margin-top: 3px;
  border-radius: 50%;
  background: #C9A84C;
}

.timeline-item.client-status--confirmed .timeline-dot {
  background: #147A22;
}

.timeline-item.client-status--completed .timeline-dot {
  background: #4388E8;
}

.timeline-item.client-status--cancelled .timeline-dot {
  background: #B93C3C;
}

.timeline-item time,
.timeline-item strong,
.timeline-item small {
  display: block;
}

.timeline-item time,
.timeline-item small {
  color: rgb(145, 145, 145);
  font-size: 0.58rem;
}

.timeline-item strong {
  margin: 3px 0;
  padding: 6px 8px;
  background: #F7FAF7;
  border: 1px solid #DFEAE0;
  color: rgb(90, 86, 80);
  font-size: 0.62rem;
  font-weight: 500;
}

.timeline-item small {
  padding-left: 8px;
  color: #4B9655;
  font-size: 0.55rem;
}

.dashboard-empty-state {
  margin: 8px 0;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.65rem;
}

.dashboard-breakdown {
  display: grid;
  gap: 10px;
}

.dashboard-breakdown-row>div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: rgb(105, 101, 95);
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
}

.dashboard-breakdown-track,
.rating-breakdown-track {
  display: block;
  height: 7px;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid #EEEAE2;
}

.dashboard-breakdown-track i {
  display: block;
  height: 100%;
  background: #C9A84C;
}

.dashboard-breakdown-row--completed .dashboard-breakdown-track i {
  background: #4388E8;
}

.dashboard-breakdown-row--confirmed .dashboard-breakdown-track i {
  background: #147A22;
}

.dashboard-breakdown-row--cancelled .dashboard-breakdown-track i {
  background: #B96B6B;
}

.dashboard-rating-content {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-rating-content>strong {
  color: #C9A84C;
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.dashboard-rating-content p {
  margin: 5px 0 0;
  color: rgb(145, 145, 145);
  font-family: "Raleway", sans-serif;
  font-size: 0.58rem;
}

.rating-star {
  color: #E0DDD5;
  font-size: 0.8rem;
}

.rating-star.filled {
  color: #C9A84C;
}

.dashboard-rating-card .rating-breakdown {
  gap: 5px;
}

.dashboard-rating-card .rating-breakdown-row {
  gap: 6px;
}

@media (max-width: 1050px) {
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 760px) {
  .dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dashboard-side-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dashboard-table-search {
    width: 145px;
  }

  .dashboard-side-panels {
    grid-template-columns: 1fr;
  }

  .dashboard-table-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

.dashboard-side-heading a {
  white-space: nowrap;
}

/* ===== USERMANAGEMENT ===== */
.um-shell {
  display: flex;
  min-height: 100vh;
}

.um-sidebar {
  width: 220px;
  flex-shrink: 0;
  /* sidebar keeps its width, never gets squeezed */
  background: #fff;
  border-right: 1px solid #e0dcd4;
}

.um-main {
  display: flex;
  flex-direction: column;
  /* stack header + content vertically, override main{} row default */
  flex: 1;
  /* takes up all remaining space beside the sidebar */
  min-width: 0;
  /* prevents table overflow from pushing layout */
  padding: 20px 24px;
  background: #f7f5f0;
}

/* Topbar */
.um-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.um-header__title {
  font-size: 20px;
  color: #1a1714;
  margin: 0;
}

.um-header__subtitle {
  font-size: 11px;
  color: #8a837a;
  margin: 4px 0 0;
}

.um-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

#adminDashboardMain>.um-header {
  height: 90px;
  padding-left: 24px;
}

#appointmentsMain>.um-header {
  height: 72px;
  flex-shrink: 0;
  padding-left: 24px;
}

.um-search {
  position: relative;
  display: flex;
  align-items: center;
}

.um-search svg {
  position: absolute;
  left: 14px;
  color: #b0aaa3;
}

.um-search input {
  padding: 8px 10px 8px 34px;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
  font-size: 11px;
  width: 190px;
  background: #fff;
}

.um-btn {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  border: none;
}

.um-btn--ghost {
  background: #fff;
  border: 1px solid #e0dcd4;
  color: #4a4540;
}

.um-btn--primary {
  background: #c9a84c;
  color: #fff;
  font-weight: 500;
}

/* Filter dropdown */
.um-filter-wrap {
  position: relative;
}

.um-filter-panel {
  display: none;
  position: absolute;
  top: 36px;
  right: 0;
  background: #fff;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 11px;
  z-index: 20;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.um-filter-panel--open {
  display: block;
}

.um-filter-panel__label {
  font-size: 9px;
  color: #8a837a;
  margin: 0 0 6px;
}

.um-filter-panel label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #4a4540;
}

/* Stat cards */
.um-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.um-stat-card {
  background: #fff;
  border-top: 3px solid #c9a84c;
  border-radius: 4px;
  padding: 12px 18px;
}

.um-stat-card__label {
  font-size: 9px;
  color: #8a837a;
  margin: 0;
  letter-spacing: .5px;
}

.um-stat-card__value {
  font-size: 30px;
  color: #c9a84c;
  margin: 6px 0;
}

.um-stat-card__hint {
  font-size: 10px;
  color: #8a837a;
  margin: 0;
}

.um-stat-card__hint--positive {
  color: #006400;
}

.um-stat-card__hint--negative {
  color: #9b2626;
}

/* Tabs */
.um-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #e0dcd4;
  overflow: hidden;
}

.um-tab {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 11px;
  color: #8a837a;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.um-tab--active {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
  font-weight: 600;
}

#userManagementMain .um-tabs {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  min-height: 38px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

#userManagementMain .um-tabs .um-tab {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Table */
.um-table-wrap {
  background: #fff;
  border-radius: 0 0 6px 6px;
  overflow-x: auto;
}

.um-table {
  width: 100%;
  border-collapse: collapse;
}

.um-table thead th {
  text-align: left;
  font-size: 8.5px;
  color: #8a837a;
  letter-spacing: .5px;
  padding: 10px 12px;
  border-bottom: 1px solid #e0dcd4;
  white-space: nowrap;
}

.um-table tbody td {
  padding: 10px 12px;
  font-size: 11.5px;
  color: #4a4540;
  border-bottom: 1px solid #f0ede7;
  vertical-align: middle;
}

.um-table__checkbox-col {
  width: 30px;
}

.um-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.um-user-cell__info {
  display: flex;
  flex-direction: column;
}

.um-user-cell__name {
  font-size: 12.5px;
  color: #1a1714;
}

.um-user-cell__meta {
  font-size: 10px;
  color: #8a837a;
}

.um-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3ecd9;
  color: #c9a84c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.um-avatar--sm {
  width: 32px;
  height: 32px;
}

.um-avatar--muted {
  background: #f0ede7;
  color: #b0aaa3;
}

.um-badge {
  font-size: 9px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.um-badge--staff {
  background: #f3ecd9;
  color: #c9a84c;
}

.um-badge--client {
  background: #e8f0fe;
  color: #3b82f6;
}

.um-badge--doctor {
  background: #f6efd8;
  color: #8a6e2f;
}

.um-visits {
  display: flex;
  flex-direction: column;
}

.um-visits__count {
  font-size: 22px;
  color: #c9a84c;
  line-height: 1;
}

.um-visits__label {
  font-size: 9.5px;
  color: #8a837a;
}

.um-status {
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.um-status--active {
  color: #006400;
}

.um-status--suspended {
  color: #9b2626;
}

.um-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  flex-wrap: nowrap;
}

.um-action {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #4a4540;
  text-decoration: none;
  cursor: pointer;
}

.um-action--view {
  color: #c9a84c;
}

.um-action--danger {
  color: #9b2626;
}

.um-row--muted td {
  color: #b0aaa3;
}

.um-row--muted .um-user-cell__name {
  color: #b0aaa3;
}

/* Footer / pagination */
.um-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  font-size: 11px;
  color: #8a837a;
}

.um-pagination {
  display: flex;
  gap: 6px;
}

.um-pagination button {
  width: 28px;
  height: 28px;
  border: 1px solid #e0dcd4;
  background: #fff;
  border-radius: 4px;
  font-size: 11px;
  color: #8a837a;
  cursor: pointer;
}

.um-pagination button.active {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #fff;
}

.um-pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ===== View/Edit modal ===== */
.um-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, .45);
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.um-modal-overlay--open {
  display: flex;
}

.um-modal {
  background: #fff;
  width: 760px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  border-top: 4px solid #c9a84c;
  display: flex;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.um-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e0dcd4;
  background: #fff;
  font-size: 16px;
  color: #8a837a;
  cursor: pointer;
}

.um-modal__side {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px solid #e0dcd4;
  padding: 20px;
  text-align: center;
}

.um-modal__side hr {
  border: none;
  border-top: 1px solid #e0dcd4;
  margin: 12px 0;
}

.um-modal__photo {
  width: 144px;
  height: 144px;
  margin: 0 auto 8px;
  border: 1px dashed #e0dcd4;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  background: #f7f5f0;
}

.um-modal__photo p {
  font-size: 8px;
  color: #b0aaa3;
  margin: 4px 0 0;
}

.um-modal__name {
  font-size: 17px;
  color: #1a1714;
  margin: 4px 0 2px;
}

.um-modal__id {
  font-size: 9px;
  color: #c9a84c;
  margin: 0 0 8px;
}

.um-modal__label {
  font-size: 8.5px;
  color: #b0aaa3;
  margin: 0;
  letter-spacing: .5px;
}

.um-modal__bignum {
  font-size: 34px;
  color: #c9a84c;
  margin: 4px 0 0;
}

.um-modal__bignum-label {
  font-size: 9.5px;
  color: #8a837a;
  margin: 0;
}

.um-modal__row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
}

.um-modal__row span {
  color: #8a837a;
}

.um-modal__row strong {
  color: #1a1714;
  font-weight: 500;
  text-align: right;
}

.um-modal__btn-primary {
  width: 100%;
  padding: 8px;
  background: #c9a84c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 9.5px;
  letter-spacing: .5px;
  cursor: pointer;
  margin-top: 6px;
}

.um-modal__btn-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.um-modal__btn-outline-gold {
  flex: 1;
  padding: 7px;
  background: #fff;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  border-radius: 6px;
  font-size: 9.5px;
  cursor: pointer;
}

.um-modal__btn-outline-red {
  flex: 1;
  padding: 7px;
  background: #fff;
  border: 1px solid #9b2626;
  color: #9b2626;
  border-radius: 6px;
  font-size: 9.5px;
  cursor: pointer;
}

.um-modal__main {
  flex: 1;
  padding: 20px 24px;
}

.um-modal__section-title {
  font-size: 9px;
  color: #c9a84c;
  letter-spacing: .5px;
  margin: 14px 0 0;
}

.um-modal__main hr {
  border: none;
  border-top: 1px solid #e0dcd4;
  margin: 8px 0;
}

.um-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.um-modal__grid div span {
  display: block;
  font-size: 10px;
  color: #8a837a;
}

.um-modal__grid div strong {
  display: block;
  font-size: 12.5px;
  color: #1a1714;
  font-weight: 400;
  margin-top: 3px;
}

.um-modal__grid-label {
  display: block;
  font-size: 10px;
  color: #8a837a;
  margin-bottom: 6px;
}

.um-allergy-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #1a1714;
}

.um-allergy-tag {
  background: #fbeceb;
  color: #9b2626;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 10px;
}

.um-modal__note-card {
  background: #fdfaf3;
  border: 1px solid #f0e6c8;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 6px;
}

.um-modal__note-meta {
  font-size: 9.5px;
  color: #c9a84c;
  margin: 0 0 6px;
}

.um-modal__note-card hr {
  margin: 0 0 8px;
}

.um-modal__note-text {
  font-size: 12px;
  color: #4a4540;
  margin: 0;
  line-height: 1.5;
}

.um-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 10px;
  color: #b0aaa3;
}

.um-modal__footer a {
  color: #c9a84c;
  text-decoration: none;
}

.um-edit-input {
  width: 100%;
  padding: 5px 7px;
  font-size: 12px;
  border: 1px solid #c9a84c;
  border-radius: 4px;
  font-family: inherit;
}

.um-modal--editing .um-modal__grid strong {
  margin-top: 2px;
}

.um-password-change {
  display: none;
}

.um-password-fields {
  margin-top: 10px;
}

.um-password-fields>label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  color: #8a837a;
}

.um-password-fields .um-password-change__hint {
  grid-column: 1 / -1;
  margin: 0;
}

.um-password-change__hint {
  margin: 6px 0 0;
  font-size: 10px;
  color: #8a837a;
}

/* Create user modal */
.um-create-modal {
  background: #fff;
  width: 380px;
  max-width: 92vw;
  border-radius: 8px;
  border-top: 4px solid #c9a84c;
  padding: 22px;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.um-create-modal hr {
  border: none;
  border-top: 1px solid #e0dcd4;
  margin: 8px 0 16px;
}

.um-create-modal label {
  display: block;
  font-size: 11px;
  color: #8a837a;
  margin-bottom: 12px;
}

.um-create-modal input,
.um-create-modal select {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
}

.um-create-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.um-create-modal__submit {
  width: 100%;
  margin-top: 6px;
}

.um-delete-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid #e0dcd4;
  border-top: 4px solid #9b2626;
  border-radius: 8px;
  color: #1a1714;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 22px 60px rgba(26, 23, 20, .24);
}

.um-delete-dialog::backdrop {
  background: rgba(26, 23, 20, .58);
  backdrop-filter: blur(2px);
}

.um-delete-dialog__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f8e9e7;
  color: #9b2626;
  font-size: 20px;
  font-weight: 600;
}

.um-delete-dialog h2 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.um-delete-dialog p {
  margin: 0;
  color: #6d665e;
  font-size: 13px;
  line-height: 1.55;
}

.um-delete-dialog .um-delete-dialog__status {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #f8e9e7;
  color: #86231f;
}

.um-delete-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.um-delete-dialog__actions button {
  min-height: 38px;
  padding: 0 14px;
}

.um-delete-dialog__confirm {
  border: 1px solid #9b2626;
  border-radius: 4px;
  background: #9b2626;
  color: #fff;
  cursor: pointer;
}

.um-delete-dialog__confirm:hover:not(:disabled) {
  background: #7e1d1d;
}

.um-delete-dialog button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

/* ===== Mobile sidebar toggle ===== */
.um-sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 110;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.um-sidebar-toggle--admin {
  left: 14px;
  right: auto;
}

.um-sidebar-toggle.um-sidebar-toggle--open {
  display: none;
}

.um-sidebar-toggle span {
  width: 18px;
  height: 2px;
  background: #4a4540;
}

.um-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, .4);
  z-index: 105;
}

.um-sidebar-overlay--open {
  display: block;
}

.um-header__actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Responsive breakpoints ===== */
@media (max-width: 1024px) {
  .um-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    overflow-y: auto;
    z-index: 106;
    transform: translateX(-100%);
    transition: transform .25s ease;
  }

  .um-sidebar__logo,
  .um-sidebar__label,
  .um-sidebar__nav,
  .um-sidebar__account {
    flex-shrink: 0;
  }

  .um-sidebar--open {
    transform: translateX(0);
  }

  .um-sidebar-toggle {
    display: flex;
  }

  .um-main {
    padding-top: 60px;
  }

  /* no more margin-left here â€” flex handles spacing on desktop, fixed sidebar only kicks in here */

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

@media (max-width: 640px) {
  .um-shell {
    display: block;
  }

  .um-main {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px 14px 20px;
  }

  .um-header {
    height: auto;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 20px;
  }

  #adminDashboardMain>.um-header {
    height: auto;
    padding-left: 0;
  }

  #adminDashboardMain>.um-header {
    margin-right: -14px;
  }

  #appointmentsMain>.um-header {
    height: auto;
    padding-left: 0;
    margin-right: -14px;
  }

  .um-header>div:first-child {
    order: 2;
  }

  .um-header__actions {
    order: 1;
    width: calc(100% - 46px);
    margin-left: 46px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .admin-notification-wrap {
    align-self: flex-end;
  }

  #adminDashboardMain>.um-header .um-header__actions {
    width: calc(100% - 14px);
    margin: 0 14px 0 0;
  }

  #userManagementMain>.um-header .um-header__actions {
    width: 100%;
    margin: 0;
  }

  .um-sidebar-actions {
    margin-top: auto;
  }

  .um-search input {
    width: 100%;
  }

  .um-search {
    width: 100%;
  }

  .um-header__actions-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(104px, 1.3fr);
    gap: 8px;
  }

  #adminDashboardMain>.um-header .um-search {
    width: min(280px, calc(100vw - 120px));
    margin-inline: auto;
  }

  #appointmentsMain>.um-header .um-search {
    width: min(280px, calc(100vw - 120px));
    margin-inline: auto;
  }

  #userManagementMain>.um-header .um-search {
    width: min(260px, calc(100vw - 120px));
    margin-inline: auto;
  }

  #userManagementMain #umSearchControl {
    width: 100%;
    margin: 0 0 10px;
  }

  #userManagementMain .um-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
  }

  #userManagementMain .um-tabs::-webkit-scrollbar {
    display: none;
  }

  #userManagementMain .um-tabs .um-tab {
    flex: 0 0 auto;
  }

  .um-header__actions-row .um-btn {
    width: 100%;
    padding: 7px 5px;
    line-height: 1.2;
  }

  .um-dashboard-panel {
    padding: 18px;
    gap: 32px;
  }

  .um-dashboard-panel--top {
    height: auto;
    min-height: 240px;
    margin-bottom: 12px;
  }

  .um-dashboard-panel--bottom {
    height: auto;
    min-height: 180px;
  }

  .admin-dashboard-panel__heading {
    gap: 8px;
  }

  .admin-dashboard-panel__heading h2 {
    font-size: 15px;
  }

  .admin-dashboard-panel__marker {
    max-width: 112px;
    text-align: center;
  }

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

  .um-stat-card--wide {
    grid-column: auto;
  }

  .um-stat-card {
    min-width: 0;
    padding: 10px;
  }

  .um-stat-card__value {
    font-size: 25px;
  }

  .um-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .um-tabs::-webkit-scrollbar {
    display: none;
  }

  .um-tab {
    flex: 0 0 auto;
  }

  .um-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .um-table {
    min-width: 640px;
    table-layout: fixed;
  }

  .um-table th,
  .um-table td {
    padding-left: 6px;
    padding-right: 6px;
  }

  .um-table th:nth-child(4),
  .um-table td:nth-child(4),
  .um-table th:nth-child(5),
  .um-table td:nth-child(5),
  .um-table th:nth-child(6),
  .um-table td:nth-child(6),
  .um-table th:nth-child(7),
  .um-table td:nth-child(7) {
    display: none;
  }

  .um-user-cell__info {
    min-width: 0;
  }

  .um-user-cell__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .um-actions {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .um-table-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .um-modal {
    flex-direction: column;
    width: 94vw;
    max-height: 92vh;
  }

  .um-modal__side {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0dcd4;
  }

  .um-modal__grid {
    grid-template-columns: 1fr;
  }

  .um-create-modal {
    width: 92vw;
    padding: 18px;
  }

  .um-create-modal__row {
    grid-template-columns: 1fr;
  }

  .um-filter-panel {
    right: auto;
    left: 0;
  }
}

/* ===== ACCOUNT PAGE ===== */

.account-page {
  flex: 1;
  display: block;
  min-height: calc(100vh - 80px);
  padding: 42px 24px 70px;
  background: #fbf9f5;
}

.account-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.account-heading {
  margin: 0;
  color: #201c18;
  font-family: "Playfair Display", serif;
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.account-sub {
  margin: 8px 0 28px;
  color: #8c8177;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
}

.account-section {
  width: 100%;
  margin-bottom: 24px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e5ddd2;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(80, 58, 35, 0.05);
}

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

.account-section-title {
  margin: 0;
  color: #201c18;
  font-family: "Raleway", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.account-edit-btn {
  min-width: 58px;
  padding: 9px 17px;
  color: #b5892a;
  background: #ffffff;
  border: 1px solid #d4a937;
  border-radius: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.account-edit-btn:hover {
  color: #ffffff;
  background: #d4a937;
}

.account-section .auth-form-group {
  margin-bottom: 23px;
}

.account-section label {
  display: block;
  margin-bottom: 8px;
  color: #82766b;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-section input {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  color: #302923;
  background: #ffffff;
  border: 1px solid #ded5ca;
  border-radius: 7px;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.account-section input:disabled {
  color: #3d352e;
  background: #ffffff;
  opacity: 1;
  cursor: default;
}

.account-section input:not(:disabled):focus {
  border-color: #d4a937;
  box-shadow: 0 0 0 3px rgba(212, 169, 55, 0.14);
}

.account-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.account-form-actions[hidden] {
  display: none;
}

.account-form-actions .btn {
  min-width: 140px;
  min-height: 39px;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.account-form-actions .btn-primary {
  color: #ffffff;
  background: #d4a937;
  border: 1px solid #d4a937;
}

.account-form-actions .btn-primary:hover {
  background: #b5892a;
  border-color: #b5892a;
}

.account-form-actions .btn-primary:disabled {
  background: #d8c58e;
  border-color: #d8c58e;
  cursor: not-allowed;
}

.account-form-actions .btn-outline {
  color: #806f60;
  background: #ffffff;
  border: 1px solid #ded5ca;
}

.account-form-actions .btn-outline:hover {
  background: #f8f3ec;
}

.account-success {
  margin: 14px 0 0;
  color: #16833d;
  font-family: "Raleway", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.account-success[hidden] {
  display: none;
}

.account-section .field-error {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  color: #b93c3c;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
}

.account-section .has-error input {
  border-color: #b93c3c;
}

#password-form {
  margin-top: 24px;
}

#password-form[hidden] {
  display: none;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.toggle-password:hover svg path,
.toggle-password:hover svg circle {
  stroke: #b5892a;
}

@media (max-width: 600px) {
  .account-page {
    padding: 32px 16px 50px;
  }

  .account-heading {
    font-size: 2rem;
  }

  .account-sub {
    margin-bottom: 24px;
    font-size: 0.88rem;
  }

  .account-section {
    padding: 25px 28px;
  }

  .account-section-title {
    font-size: 1.05rem;
  }

  .account-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-form-actions .btn {
    width: 100%;
  }
}

[hidden] {
  display: none !important;
}

.reset-success p {
  color: #2e7d32;
  font-weight: 600;
}

/* ============================================
   Admin â€” Appointment Management page (AdminAppointment.html)
   Append this block to the END of the shared style.css.
   Reuses the existing um-* shell, header, stat cards, tabs,
   buttons, and pagination. New classes are prefixed apt-
   so they cannot collide with the existing appt-* classes.
   ============================================ */

/* ---------- Summary cards ---------- */
.apt-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.5fr;
}

.apt-stats .um-stat-card {
  position: relative;
}

.apt-stat-link {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 10px;
  color: var(--gold-2);
  text-decoration: underline;
  cursor: pointer;
}

.apt-hint--warn {
  color: var(--um-role-doctor);
}

/* ---------- Layout: table + right column ---------- */
.apt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 16px;
  align-items: start;
}

.apt-card,
.apt-side-card {
  background: #fff;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  min-width: 0;
}

/* ---------- Toolbar (tabs + tools) ---------- */
.apt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-right: 16px;
  border-bottom: 1px solid var(--um-border);
}

.apt-toolbar .um-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: none;
  scrollbar-width: none;
}

.apt-toolbar .um-tabs::-webkit-scrollbar {
  display: none;
}

.apt-toolbar .um-tab {
  flex: 0 0 auto;
}

.apt-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.apt-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--um-border);
  border-radius: 4px;
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
}

.apt-icon-btn:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.apt-search-input {
  display: none;
  width: 180px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--um-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-dark);
  outline: none;
}

.apt-search-input:focus {
  border-color: var(--gold-2);
}

.apt-search-input--open {
  display: block;
}

.apt-date-range {
  display: block;
  min-width: 172px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--um-border);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 10.5px;
  color: var(--text-muted);
  cursor: pointer;
}

.apt-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--gold-2);
  border-radius: 12px;
  background: var(--um-role-staff-bg);
  font-family: inherit;
  font-size: 10px;
  color: var(--um-role-doctor);
  cursor: pointer;
}

/* ---------- Table ---------- */
.apt-table-wrap {
  overflow-x: auto;
}

.apt-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.apt-table thead tr {
  background: var(--um-bg-cream);
}

.apt-table th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--um-border);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .06em;
  text-align: left;
  color: var(--text-muted);
  white-space: nowrap;
}

.apt-table th:first-child,
.apt-table td:first-child {
  padding-left: 18px;
}

.apt-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0ede7;
  font-size: 12px;
  color: var(--um-text-body);
  vertical-align: middle;
  white-space: nowrap;
}

.apt-table tbody tr:last-child td {
  border-bottom: none;
}

.apt-table tbody tr:hover {
  background: #fbfaf7;
}

.apt-table .um-avatar {
  width: 26px;
  height: 26px;
  font-size: 9px;
}

.apt-ref {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apt-ref strong {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--gold-2);
}

.apt-ref span {
  font-size: 9.5px;
  color: var(--um-text-faint);
}

.apt-name {
  display: block;
  font-size: 12px;
  color: var(--text-dark);
}

.apt-sub {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--text-muted);
}

.apt-empty {
  padding: 28px 12px !important;
  text-align: center;
  color: var(--text-muted) !important;
}

.apt-row--live {
  background: #fdfaf1;
}

.apt-row--live td:first-child {
  box-shadow: inset 3px 0 0 var(--gold-2);
}

.apt-row--muted td,
.apt-row--muted .apt-name {
  color: var(--um-text-faint);
}

.apt-row--muted .apt-sub {
  color: var(--um-text-faint-2);
}

.apt-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
}

.apt-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.apt-status--confirmed {
  background: var(--um-status-active-bg);
  color: var(--um-status-active);
}

.apt-status--in-progress {
  background: var(--um-role-staff-bg);
  color: var(--gold-2);
}

.apt-status--pending {
  background: var(--um-role-doctor-bg);
  color: var(--um-role-doctor);
}

.apt-status--completed {
  background: var(--um-role-client-bg);
  color: var(--um-role-client);
}

.apt-status--cancelled {
  background: var(--um-status-suspended-bg);
  color: var(--um-status-suspended);
}

.apt-actions {
  display: flex;
  gap: 12px;
}

.apt-action {
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
}

.apt-action--view {
  color: var(--gold-2);
}

.apt-action:hover {
  text-decoration: underline;
}

.apt-card .um-table-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--um-border);
}

/* ---------- Right column ---------- */
.apt-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.apt-side-card {
  padding-bottom: 16px;
}

.apt-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--um-border);
}

.apt-side-title {
  margin: 0;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.apt-side-meta {
  font-size: 10px;
  color: var(--gold-2);
}

.apt-timeline {
  margin: 0;
  padding: 16px 20px 0;
  list-style: none;
}

.apt-timeline__item {
  position: relative;
  padding: 0 0 12px 20px;
}

.apt-timeline__item::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: -2px;
  left: 4px;
  width: 1px;
  background: #e4ddcf;
}

.apt-timeline__item:last-child {
  padding-bottom: 0;
}

.apt-timeline__item:last-child::before {
  display: none;
}

.apt-timeline__dot {
  position: absolute;
  top: 3px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--um-status-active);
}

.apt-timeline__time {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.apt-timeline__event {
  padding: 6px 10px;
  border: 1px solid #dbe8db;
  border-radius: 3px;
  background: #f3f8f3;
  font-size: 11px;
  color: var(--um-text-body);
}

.apt-timeline__event small {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: #22a752;
}

.apt-timeline__item--live .apt-timeline__dot {
  background: var(--gold-2);
}

.apt-timeline__item--live .apt-timeline__event {
  border-color: #eadfb8;
  background: #fdf8e8;
}

.apt-timeline__item--live .apt-timeline__event small {
  color: var(--gold-2);
}

.apt-timeline__item--upcoming .apt-timeline__dot {
  background: #f1e5ac;
}

.apt-timeline__item--upcoming .apt-timeline__event {
  border-color: #eeeae2;
  background: #faf9f6;
  color: var(--um-text-faint);
}

.apt-timeline__item--upcoming .apt-timeline__event small {
  color: var(--um-text-faint);
}

.apt-breakdown {
  display: grid;
  gap: 12px;
  padding: 14px 20px 0;
}

.apt-breakdown__row>div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 11px;
  color: var(--um-text-body);
}

.apt-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 2px;
  background: #f0ede7;
}

.apt-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.apt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 20px 0;
  padding-top: 12px;
  border-top: 1px solid var(--um-border);
  font-size: 11px;
  color: var(--text-muted);
}

.apt-total strong {
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-2);
}

.apt-top-services {
  margin: 0;
  padding: 12px 20px 0;
  list-style: none;
}

.apt-top-services li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 11px;
  color: var(--um-text-body);
}

.apt-top-services strong {
  font-weight: 400;
  color: var(--gold-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .apt-layout {
    grid-template-columns: 1fr;
  }

  .apt-side {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
  }
}

@media (max-width: 1024px) {
  .apt-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .apt-toolbar {
    padding-right: 0;
  }

  .apt-toolbar__tools {
    width: 100%;
    padding: 8px 14px;
    flex-wrap: wrap;
  }

  .apt-search-input--open {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .apt-date-range {
    flex: 1;
  }
}

/* ---------- Cancelled Appointments modal (Cancelled This Month "View") ---------- */
.apt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 23, 20, .4);
}

.apt-modal-overlay--open {
  display: flex;
}

.apt-modal {
  position: relative;
  width: 864px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 4px solid var(--um-status-suspended);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

.apt-modal__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 12px 56px 12px 20px;
  border-bottom: 1px solid var(--um-border);
  background: #fbfaf7;
}

.apt-modal__accent {
  flex-shrink: 0;
  width: 10px;
  height: 24px;
  background: var(--um-status-suspended);
}

.apt-modal__titles {
  flex: 1 1 260px;
  min-width: 0;
}

.apt-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
}

.apt-modal__subtitle {
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--text-muted);
}

.apt-modal__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.apt-pill {
  min-width: 100px;
  padding: 5px 12px;
  border: 1px solid;
  border-radius: 3px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

.apt-pill--red {
  border-color: #e6b9b9;
  background: var(--um-status-suspended-bg);
  color: var(--um-status-suspended);
}

.apt-pill--gold {
  border-color: #e8dcb4;
  background: #faf5e6;
  color: var(--um-role-doctor);
}

.apt-modal--walk-in {
  width: 620px;
}

.new-appointment-form {
  padding: 20px;
}

.new-appointment-form .form-row {
  gap: 0 14px;
}

.new-appointment-form input[readonly] {
  background: #fbfaf7;
  color: var(--text-muted);
}

.new-appointment-form .booking-status-message {
  margin: 0 0 12px;
}

.new-appointment-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--um-border);
}

.apt-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
}

.apt-modal__close:hover {
  color: var(--um-status-suspended);
}

.apt-table--cancelled {
  min-width: 900px;
}

.apt-table--cancelled td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.apt-table--cancelled .apt-sub {
  margin-top: 4px;
}

.apt-cancel-row:nth-child(even) {
  background: #fbf9f5;
}

.apt-cancel-row td:first-child {
  box-shadow: inset 3px 0 0 var(--um-status-suspended);
}

.apt-sub--alert {
  color: var(--um-status-suspended);
}

.apt-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid;
  border-radius: 3px;
  font-size: 9px;
  white-space: nowrap;
}

.apt-tag--personal,
.apt-tag--resched {
  border-color: #c7d9fb;
  background: var(--um-role-client-bg);
  color: var(--um-role-client);
}

.apt-tag--medical {
  border-color: #e8dcb4;
  background: #faf5e6;
  color: var(--um-role-doctor);
}

.apt-tag--noshow {
  border-color: #e6b9b9;
  background: var(--um-status-suspended-bg);
  color: var(--um-status-suspended);
}

.apt-modal__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 60px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--um-border);
  background: #fbfaf7;
}

.apt-modal__summary-title {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--um-border);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.apt-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--um-text-body);
}

.apt-summary-row strong {
  font-weight: 400;
  color: var(--text-dark);
}

.apt-summary-row .apt-summary-row__good {
  color: var(--um-status-active);
}

.apt-summary-row .apt-summary-row__bad {
  color: var(--um-status-suspended);
}

.apt-reason-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  font-size: 10.5px;
  color: var(--um-text-body);
}

.apt-reason-track {
  display: block;
  height: 10px;
  overflow: hidden;
  background: #ece8df;
}

.apt-reason-fill {
  display: block;
  height: 100%;
}

.apt-reason-fill--personal,
.apt-reason-fill--resched {
  background: #9db8ea;
}

.apt-reason-fill--medical {
  background: #d5bc73;
}

.apt-reason-fill--noshow {
  background: #d98e8e;
}

.apt-reason-count {
  font-size: 10px;
  color: var(--text-muted);
}

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

  .apt-modal__pills {
    width: 100%;
  }
}

/* ---------- Admin inquiries ---------- */
.inquiries-main {
  min-width: 0;
}

.inquiries-workspace {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  min-height: calc(100vh - 132px);
  border: 1px solid var(--um-border);
  background: #fff;
}

.inquiries-list-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--um-border);
}

.inquiries-list-toolbar {
  padding: 14px;
  border-bottom: 1px solid var(--um-border);
}

.inquiries-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 13px;
}

.inquiry-filter {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.inquiry-filter:hover {
  background: #f7f4ed;
}

.inquiry-filter--active {
  border-color: #e8dcb4;
  background: #faf5e6;
  color: var(--gold-dark-2);
}

.inquiries-search-label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  color: var(--text-muted);
}

.inquiries-search-control {
  position: relative;
}

.inquiries-search-control svg {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.inquiries-search {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px 8px 36px;
  border: 1px solid var(--um-border);
  border-radius: 3px;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  font-size: 11px;
}

.inquiries-search:focus,
.inquiry-reply-input:focus {
  outline: 2px solid rgba(201, 168, 76, .35);
  outline-offset: 1px;
  border-color: var(--gold-2);
}

.inquiries-list-count {
  margin: 0;
  padding: 11px 14px 8px;
  color: var(--text-muted);
  font-size: 10px;
}

.inquiries-list {
  overflow-y: auto;
}

.inquiry-list-item {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-top: 1px solid #f0ede7;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.inquiry-list-item:hover {
  background: #fbfaf7;
}

.inquiry-list-item--selected {
  box-shadow: inset 3px 0 0 var(--gold-2);
  background: #fdfaf1;
}

.inquiry-list-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.inquiry-list-heading strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-list-heading time {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 9px;
}

.inquiry-list-email,
.inquiry-list-preview {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-list-preview {
  color: var(--um-text-body);
}

.inquiry-list-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.inquiry-type,
.inquiry-state {
  color: var(--text-muted);
  font-size: 9px;
  text-transform: capitalize;
}

.inquiry-state {
  color: var(--um-status-suspended);
}

.inquiry-state--replied {
  color: var(--um-status-active);
}

.inquiries-list-empty {
  margin: 0;
  padding: 25px 16px;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}

.inquiries-list-empty--error {
  color: var(--um-status-suspended);
}

.inquiry-detail {
  min-width: 0;
  padding: 24px clamp(16px, 4vw, 38px);
}

.inquiry-detail-empty {
  display: grid;
  min-height: 250px;
  place-items: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.inquiry-detail-header {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--um-border);
}

.inquiry-detail-eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark-2);
  font-size: 9px;
  letter-spacing: .06em;
}

.inquiry-detail-header h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.inquiry-detail-date {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 10px;
}

.inquiry-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--um-border);
  color: var(--um-text-body);
  font-size: 11px;
}

.inquiry-contact a {
  color: var(--gold-dark-2);
  overflow-wrap: anywhere;
}

.inquiry-message-section,
.inquiry-previous-reply {
  padding: 17px 0;
  border-bottom: 1px solid var(--um-border);
}

.inquiry-message-section h3,
.inquiry-previous-reply h3 {
  margin: 0 0 9px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.inquiry-message-body,
.inquiry-previous-reply p {
  margin: 0;
  color: var(--um-text-body);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.inquiry-previous-reply {
  background: #fbfaf7;
  padding: 14px;
}

.inquiry-reply-form {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.inquiry-reply-form label {
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 500;
}

.inquiry-reply-input {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 10px;
  border: 1px solid var(--um-border);
  border-radius: 3px;
  color: var(--text-dark);
  font: inherit;
  font-size: 11px;
  line-height: 1.6;
}

.inquiry-reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.inquiry-reply-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
}

.inquiry-reply-status--success {
  color: var(--um-status-active);
}

.inquiry-reply-status--error {
  color: var(--um-status-suspended);
}

@media (max-width: 900px) {
  .inquiries-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiries-list-panel {
    border-right: 0;
    border-bottom: 1px solid var(--um-border);
  }

  .inquiries-list {
    max-height: 330px;
  }

  .inquiry-detail {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .inquiries-filters {
    gap: 2px;
  }

  .inquiry-filter {
    padding-right: 8px;
    padding-left: 8px;
  }

  .inquiry-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .inquiry-list-email,
  .inquiry-list-preview {
    white-space: normal;
    line-height: 1.5;
  }

  .inquiry-detail-header h2 {
    font-size: 17px;
  }

  .inquiry-reply-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .inquiry-reply-actions .um-btn {
    width: 100%;
  }
}

.appt-cancellation-form {
  display: grid;
  gap: 8px;
  padding: 0 24px 16px;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
}

.appt-cancellation-form input,
.appt-cancellation-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ded8cc;
  border-radius: 5px;
  padding: 9px;
  font: inherit;
  resize: vertical;
}

.modal-btn-finish {
  background: #4388e8;
  color: #fff;
}

.modal-btn-no-show {
  background: #9d3e3e;
  color: #fff;
}

.cancellation-requests-modal {
  max-width: 620px;
}

.cancellation-requests-list {
  display: grid;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0 24px 24px;
}

.cancellation-request-card {
  border: 1px solid var(--um-border, #e7ddc9);
  border-left: 4px solid #b96b6b;
  border-radius: 6px;
  padding: 14px;
}

.cancellation-request-card__title,
.cancellation-request-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cancellation-request-card__reason,
.cancellation-request-card__description {
  margin: 8px 0;
  color: #3b3429;
  font: 0.78rem/1.45 "Raleway", sans-serif;
}

.cancellation-request-card__description {
  white-space: pre-wrap;
}

.cancellation-request-card__actions {
  justify-content: flex-end;
  margin-top: 12px;
}

.cancellation-requests-empty {
  padding: 24px;
  text-align: center;
}

main.my-appointments-main {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  box-sizing: border-box;
}

main.my-appointments-main .booking-intro {
  margin-bottom: 24px;
}

.client-appointment-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px;
}

.client-appointment-lists[hidden],
.client-calendar[hidden],
.appointment-history-link-wrap[hidden],
.appointment-calendar-link-wrap[hidden] {
  display: none;
}

.appointment-history-link-wrap,
.appointment-calendar-link-wrap {
  margin: 0 0 24px;
}

.client-appointment-history-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #c9a84c;
  border-radius: 4px;
  background: #fff;
  color: #4f421f;
  font: 600 13px "Raleway", sans-serif;
  text-decoration: none;
}

.client-appointment-history-link:hover {
  background: #f8f4e9;
}

.client-appointment-section {
  min-width: 0;
  border-top: 2px solid #c9a84c;
  padding-top: 14px;
}

.client-appointment-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.client-appointment-section-heading h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 18px;
}

.client-appointment-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1eee7;
  color: #4d493f;
  font-size: 13px;
  font-weight: 700;
}

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

.client-appointment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e3ded3;
  border-radius: 6px;
  background: #fff;
}

.client-appointment-details h3,
.client-appointment-details p {
  margin: 0;
}

.client-appointment-details h3 {
  color: #302d27;
  font-size: 15px;
}

.client-appointment-details p {
  margin-top: 4px;
  color: #68645b;
  font-size: 13px;
}

.client-appointment-status {
  padding: 5px 8px;
  border-radius: 4px;
  background: #edf4ec;
  color: #32603a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}

.client-appointment-status.status-cancelled,
.client-appointment-status.status-no-show {
  background: #f2e9e8;
  color: #8b3934;
}

.client-appointment-status.status-completed {
  background: #e9eef5;
  color: #36516f;
}

.client-appointment-status.status-pending,
.client-appointment-status.status-confirmation-requested,
.client-appointment-status.status-reschedule-requested,
.client-appointment-status.status-cancellation-requested {
  background: #f7f0dd;
  color: #725a1d;
}

.client-appointment-view {
  padding: 8px 10px;
  border: 1px solid #c9a84c;
  border-radius: 4px;
  background: #fff;
  color: #4f421f;
  font: 600 12px "Raleway", sans-serif;
  cursor: pointer;
}

.client-appointment-view:hover {
  background: #f8f4e9;
}

.client-appointment-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed #d9d3c6;
  color: #6b6b6b;
  font-size: 13px;
}

.appointments-message {
  min-height: 1.2em;
  margin: 0 0 12px;
  color: #6b6b6b;
  font-size: 14px;
}

/* ---------- Toolbar ---------- */
.client-calendar {
  width: 100%;
}

@media (max-width: 760px) {
  .client-appointment-lists {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .client-appointment-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .client-appointment-status {
    grid-column: 2;
    grid-row: 1;
  }

  .client-appointment-view {
    grid-column: 1 / -1;
  }
}

.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cal-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cal-icon {
  color: #1a1a1a;
}

.cal-title {
  margin: 0 8px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.cal-nav-btn,
.cal-toggle-btn {
  font: inherit;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #fff;
  color: #1a1a1a;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  font-size: 15px;
  line-height: 1;
}

.cal-nav-btn:hover,
.cal-toggle-btn:hover {
  background: #f5f5f5;
}

.cal-toggle {
  display: flex;
  gap: 8px;
}

.cal-toggle-btn {
  padding: 8px 16px;
  font-size: 14px;
}

.cal-toggle-btn.active {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* ---------- Grid ---------- */
.cal-scroll {
  overflow-x: auto;
}

.cal-inner {
  min-width: 760px;
}

#calWeekView.week-view {
  display: none;
  min-width: 760px;
}

#calWeekView .week-day-col {
  padding-bottom: 4px;
}

#calWeekView .week-date-num.is-today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border: 1.5px solid #c9a84a;
  border-radius: 50%;
  color: #1a1a1a;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8a8a8a;
  padding-bottom: 8px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
}

.cal-cell {
  min-height: 110px;
  padding: 8px 6px 6px;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  box-sizing: border-box;
  min-width: 0;
}

.cal-grid.is-week .cal-cell {
  min-height: 360px;
}

.cal-cell.other-month {
  background: #fcfcfc;
}

.cal-cell.other-month .cal-daynum {
  color: #bdbdbd;
}

.cal-cell.other-month .cal-chip {
  opacity: 0.55;
}

.cal-daynum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #1f3a5f;
}

.cal-daynum.is-today {
  border: 1.5px solid #c9a84a;
  border-radius: 50%;
  color: #1a1a1a;
}

/* ---------- Appointment chips ---------- */
.cal-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 4px;
  padding: 5px 8px;
  font: inherit;
  font-size: 11px;
  text-align: left;
  color: #4a2a2a;
  background: #f7e8e8;
  border: none;
  border-left: 3px solid #c0454a;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  transition: filter 0.15s;
}

.cal-chip:hover {
  filter: brightness(0.96);
}

.cal-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-chip-time {
  flex-shrink: 0;
  color: #7a5a5a;
}

.cal-chip.is-past {
  opacity: 0.6;
}

.cal-chip.is-cancelled {
  background: #efefef;
  border-left-color: #a5a5a5;
  color: #8a8a8a;
}

.cal-chip.is-cancelled .cal-chip-name {
  text-decoration: line-through;
}

#calWeekView .appt-chip-week {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  font: inherit;
  color: #4a2a2a;
  background: #f7e8e8;
  border-left: 3px solid #c0454a;
  transition: filter 0.15s;
}

#calWeekView .appt-chip-week:hover {
  filter: brightness(0.96);
}

#calWeekView .appt-chip-week .cal-chip-time {
  font-size: 10px;
}

#calWeekView .appt-chip-week.is-past {
  opacity: 0.6;
}

#calWeekView .appt-chip-week.is-cancelled {
  background: #efefef;
  border-left-color: #a5a5a5;
  color: #8a8a8a;
}

#calWeekView .appt-chip-week.is-cancelled .cal-chip-name {
  text-decoration: line-through;
}

/* ---------- Details modal ---------- */
.my-appt-details-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}

.my-appt-details-overlay[hidden] {
  display: none;
}

.appt-modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.appt-modal-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #1a1a1a;
}

.appt-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #777;
  cursor: pointer;
}

.appt-modal-close:hover {
  color: #000;
}

.appt-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.appt-detail-row:last-child {
  border-bottom: none;
}

.appt-detail-label {
  color: #8a8a8a;
}

.appt-modal-rating-container {
  padding: 0 24px 16px;
}

.appt-modal-rating-container[hidden] {
  display: none;
}

.appt-rating-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.appt-rating-heading {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.appt-rating-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.appt-rating-star {
  border: none;
  background: none;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: #e0ddd5;
  cursor: pointer;
}

.appt-rating-stars--readonly .appt-rating-star {
  cursor: default;
}

.appt-rating-star.is-filled {
  color: #C9A84C;
}

.appt-rating-comment {
  width: 100%;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid #e0ddd5;
  border-radius: 8px;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  resize: vertical;
  box-sizing: border-box;
}

.appt-rating-readonly-comment {
  margin: 6px 0 0;
  font-size: 13px;
  color: #555;
}

.appt-rating-error {
  min-height: 16px;
  margin: 6px 0 0;
  font-size: 12px;
  color: #c0392b;
}

.appt-rating-submit {
  margin-top: 10px;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: #C9A84C;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.appt-rating-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.appt-detail-value {
  text-align: right;
  color: #1a1a1a;
  font-weight: 500;
}

/* ============================================
   Admin â€” Content Management page (ContentManagement.html)
   Append this block to the END of the shared style.css.
   Reuses the existing um-* shell, header, tabs, table, and
   apt-action buttons from AdminAppointment.html. New classes
   are prefixed cm- so they can't collide with anything else.
   ============================================ */

.cm-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: calc(100vh - 150px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--um-border);
  border-radius: 6px;
}

.cm-card .um-tabs {
  padding: 0 20px;
}

.cm-services-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
  padding: 18px 16px 18px;
}

.cm-card > .cm-panel--active {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.cm-services-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 14px;
}

.cm-toolbar-group {
  flex: 1;
  min-width: 0;
}

.cm-select-field {
  display: grid;
  gap: 7px;
  width: min(100%, 420px);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 600;
}

.cm-search-field {
  display: grid;
  gap: 7px;
  width: min(100%, 260px);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 600;
}

.cm-select-field span {
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cm-search-field span {
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cm-select-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-dark);
  padding: 8px 10px;
  font: inherit;
}

.cm-search-field input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-dark);
  padding: 8px 10px;
  font: inherit;
}

.cm-search-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: normal;
  text-transform: none;
}

.cm-search-control:focus-within {
  border-color: var(--gold-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.cm-search-control svg {
  flex: 0 0 18px;
}

.cm-search-field .cm-search-control input {
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.cm-search-field .cm-search-control input:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.modal-search-input{
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    height: 36px;
    padding: 0 13px;
    border: 1px solid #E6E2DB;
    background: var(--white);
}

.modal-search-input svg {
    flex: 0 0 18px;
    color: #847A6D;
}

.modal-search-input input{
    box-sizing: border-box;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    outline: none;
}

.cm-select-field select:focus {
  border-color: var(--gold-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.cm-service-list {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.cm-category-scroll {
  display: grid;
  align-content: start;
  flex: 1;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.cm-service-item {
  display: grid;
  gap: 10px;
  border: 1px solid #e7ddc9;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
}

.cm-service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cm-service-summary {
  min-width: 0;
}

.cm-service-name {
  margin: 0;
  color: var(--text-dark);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.cm-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.cm-mini-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: #faf3df;
  color: var(--gold-dark-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.cm-mini-tag--muted {
  background: #f3f0ec;
  color: var(--text-muted);
}

.cm-service-price {
  color: var(--gold-2);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
}

.cm-service-description {
  margin: 0;
  color: var(--um-text-body);
  font-size: 12px;
  line-height: 1.5;
}

.cm-service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0ede7;
}

.cm-service-meta {
  color: var(--text-muted);
  font-size: 11px;
}

.cm-service-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.cm-service-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cm-panel {
  display: none;
}

.cm-panel--active {
  display: block;
}

.cm-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}

.cm-status--published {
  background: var(--um-status-active-bg);
  color: var(--um-status-active);
}

.cm-status--draft {
  background: #f0ede7;
  color: var(--text-muted);
}

.cm-status--pending {
  background: var(--um-role-doctor-bg);
  color: var(--um-role-doctor);
}

.cm-actions {
  display: flex;
  gap: 12px;
}

.cm-feedback {
  max-width: 260px;
  white-space: normal;
  color: var(--um-text-body);
}

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

.cm-notice {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--um-border);
  border-radius: 6px;
  background: #fff;
  color: var(--um-text-body);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  font-size: 12px;
}

.cm-notice--error,
.cm-editor__error {
  color: #9b2626;
}

.cm-editor {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(600px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: min(86vh, 760px);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid var(--um-border);
  border-radius: 8px;
  background: #fff;
  color: var(--um-text-body);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.cm-editor::backdrop {
  background: rgba(26, 23, 20, .42);
}

.cm-editor__form {
  display: grid;
  gap: 18px;
  max-height: min(86vh, 760px);
  overflow-y: auto;
  padding: 22px;
  box-sizing: border-box;
}

.cm-editor__header,
.cm-editor__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cm-editor__header h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: 18px;
}

.cm-editor__header h5 {
  margin: 0;
  padding-top:8px;
  font-size: 12px;
}

.cm-editor__close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #fff;
  color: var(--um-text-body);
  font-size: 20px;
  cursor: pointer;
}

.cm-editor__fields {
  display: grid;
  gap: 14px;
}

.cm-editor__section-title {
  margin: 8px 0 -4px;
  color: #705d42;
  font-size: 0.82rem;
  font-weight: 600;
}

.cm-editor__image-preview {
  display: block;
  width: min(100%, 360px);
  max-height: 180px;
  margin: 4px 0;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #f3f0ec;
  object-fit: cover;
}

.cm-editor__image-preview[hidden] {
  display: none;
}

.cm-editor__field {
  display: grid;
  gap: 6px;
  color: var(--um-text-body);
  font-size: 12px;
}

.cm-editor__checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--um-text-body);
  font-size: 12px;
}

.cm-editor__checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold-2);
}

.cm-editor__input {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #fff;
  color: var(--text-dark);
  font: inherit;
}

textarea.cm-editor__input {
  min-height: 78px;
  resize: vertical;
}

.cm-editor__error {
  margin: 0;
  font-size: 12px;
}

.cm-editor__footer {
  justify-content: flex-end;
}

/* ---------- Homepage Content (block list, not a table) ---------- */
.cm-block-list {
  display: flex;
  flex-direction: column;
}

.cm-block-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0ede7;
}

.cm-block-row:last-child {
  border-bottom: none;
}

.cm-block-info {
  flex: 1;
  min-width: 0;
}

.cm-block-label {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-dark);
}

.cm-block-detail {
  margin: 4px 0 0;
  font-size: 10.5px;
  color: var(--text-muted);
}

.cm-page-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 16px;
}

.cm-page-toolbar {
  flex: 0 0 auto;
  padding-bottom: 14px;
}

.cm-page-toolbar .cm-select-field {
  width: min(100%, 420px);
}

.cm-page-list {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: min(64vh, 600px);
  overflow-y: auto;
  padding: 1px 6px 1px 1px;
}

.cm-content-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e7ddc9;
  border-radius: 6px;
  background: #fff;
}

.cm-content-card__image {
  display: block;
  width: 128px;
  height: 84px;
  border-radius: 4px;
  background: #f3f0ec;
  object-fit: cover;
}

.cm-content-card__image--empty {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 10px;
}

.cm-content-card__main {
  min-width: 0;
}

.cm-content-card__label {
  margin: 0 0 5px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cm-content-card__title {
  margin: 0;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.cm-content-card__body {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--um-text-body);
  font-size: 11px;
  line-height: 1.5;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cm-content-card__controls {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.cm-announcement-list {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: min(68vh, 680px);
  overflow-y: auto;
  padding: 16px;
}

.cm-announcement-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e7ddc9;
  border-radius: 6px;
  background: #fff;
}

.cm-announcement-card__details {
  min-width: 0;
}

.cm-announcement-card--with-image {
  grid-template-columns: 112px minmax(0, 1fr) auto;
}

.cm-announcement-card__image {
  display: block;
  width: 112px;
  height: 84px;
  border-radius: 4px;
  background: #f3f0ec;
  object-fit: cover;
}

.cm-announcement-card .cm-content-card__body {
  display: block;
  overflow: visible;
  line-clamp: unset;
  -webkit-line-clamp: unset;
}

@media (max-width: 640px) {
  .cm-page-shell {
    padding: 12px;
  }

  .cm-content-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  .cm-content-card__image {
    width: 76px;
    height: 64px;
  }

  .cm-content-card__controls {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .cm-announcement-list {
    padding: 12px;
  }

  .cm-announcement-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .cm-announcement-card__image {
    width: 100%;
    height: 150px;
  }

  .cm-announcement-card .cm-content-card__controls {
    grid-column: 1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cm-services-toolbar {
    flex-direction: column;
    align-items: stretch;
    margin-top: 12px;
  }

  .cm-select-field,
  .cm-search-field {
    width: 100%;
  }

  .cm-block-row {
    flex-wrap: wrap;
  }

  .cm-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cm-card .um-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cm-card .um-tabs::-webkit-scrollbar {
    display: none;
  }

  .cm-card .um-tab {
    flex: 0 0 auto;
  }

  .cm-editor__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .cm-editor__footer .um-btn {
    width: 100%;
  }
}

/* Appointment inventory review and editable service defaults */
.appointment-inventory-modal {
  width: min(900px, 100%);
}

.appointment-edit-modal {
  width: min(720px, 100%);
}

.appointment-products-modal {
  display: flex;
  flex-direction: column;
  width: min(900px, calc(100vw - 40px));
  height: min(900px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  min-height: 0;
  overflow: hidden;
}

.appointment-products-modal > .apt-modal__head,
.appointment-products-modal > .appointment-inventory-actions {
  flex: 0 0 auto;
}

.appointment-edit-modal form {
  margin: 0;
}

.appointment-edit-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 0;
}

.appointment-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  padding: 16px 20px 8px;
}

.appointment-edit-fields .form-group {
  min-width: 0;
  margin-bottom: 8px;
}

.appointment-edit-fields input,
.appointment-edit-fields select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.appointment-edit-fields__status {
  grid-column: 1 / -1;
  position: relative;
}

.appointment-edit-status-hint {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  left: 0;
  display: none;
  width: min(360px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #fffdfa;
  box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
  color: var(--text-dark);
  font-size: 12px;
  line-height: 1.45;
}

.appointment-edit-fields__status--completion-hint:hover .appointment-edit-status-hint,
.appointment-edit-fields__status--completion-hint:focus-within .appointment-edit-status-hint {
  display: block;
}

.appointment-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 20px;
}

.appointment-details-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #fffdfa;
}

.appointment-details-grid dt {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.appointment-details-grid dd {
  margin: 0;
  color: var(--text-dark);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.appointment-inventory-message {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-height: 18px;
  margin: 0;
  padding: 0 20px 12px;
  color: #705d42;
  font-size: 12px;
}

.appointment-inventory-message--error {
  width: 100%;
  padding: 8px 12px;
  border-left: 4px solid #9b2626;
  border-radius: 4px;
  background: #fbeaea;
  color: #7f1d1d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.appointment-inventory-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--um-border);
}

.appointment-products-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 12px 20px 10px;
}

.appointment-products-toolbar {
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  gap: 12px;
}

.appointment-products-toolbar .cm-search-field {
  flex: 1;
}

.appointment-inventory-note {
  flex: 0 0 auto;
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.appointment-products-lists {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 6px 2px 2px;
}

.appointment-products-list {
  display: grid;
  gap: 8px;
  padding: 2px;
}

.appointment-products-section {
  margin-top: 10px;
}

.appointment-products-section:first-child {
  margin-top: 0;
}

.appointment-products-section h3 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
}

.appointment-product-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
}

.appointment-product-row > input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-2);
}

.appointment-product-row__details {
  display: grid;
  min-width: 0;
  gap: 3px;
  color: var(--um-text-body);
  font-size: 11px;
}

.appointment-product-row__details strong {
  color: var(--text-dark);
  font-size: 12px;
}

.appointment-product-row__details span {
  overflow-wrap: anywhere;
}

.appointment-product-tag {
  color: #705d42;
  font-size: 10px;
  font-weight: 600;
}

.appointment-product-tag--manual {
  color: var(--um-role-client);
}

.appointment-product-review-note {
  color: var(--text-muted);
  font-size: 10px;
  font-style: italic;
}

.appointment-product-row__quantity {
  display: grid;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
}

.appointment-product-row__quantity input {
  width: 100%;
  min-height: 34px;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid var(--um-border);
  border-radius: 4px;
  font: inherit;
}

.appointment-product-row__quantity input:disabled {
  background: #f6f4f0;
}

.appointment-products-review {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #fbfaf7;
  color: var(--um-text-body);
  font-size: 12px;
}

.appointment-products-review h3 {
  margin: 0 0 6px;
  color: var(--text-dark);
  font-size: 14px;
}

.appointment-products-review p {
  margin: 0 0 10px;
}

.appointment-products-review ul {
  margin: 0;
  padding-left: 20px;
}

.appointment-products-confirm-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  border-top: 4px solid var(--um-status-suspended);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  overflow-y: auto;
}

.appointment-products-confirm-dialog::backdrop {
  background: rgba(26, 23, 20, .55);
}

.appointment-products-confirm-content {
  padding: 16px 20px 4px;
}

.appointment-products-confirm-content p {
  margin: 0;
  color: var(--um-text-body);
  font-size: 12px;
  line-height: 1.6;
}

.appointment-products-confirm-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.appointment-products-confirm-content ul[hidden] {
  display: none;
}

.appointment-products-confirm-content li {
  padding: 10px 12px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
  background: #fbfaf7;
  color: var(--um-text-body);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.appointment-products-confirm-dialog footer {
  margin-top: 12px;
}

.apt-alert-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(19, 16, 14, 0.56);
  z-index: 2000;
}

.apt-alert-overlay[hidden] {
  display: none;
}

.apt-alert {
  width: min(100%, 470px);
  border: 1px solid var(--um-border);
  border-top: 4px solid var(--um-status-suspended);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  overflow: hidden;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
}

.apt-alert__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--um-border);
  background: #fbfaf7;
}

.apt-alert__accent {
  flex: 0 0 10px;
  height: 24px;
  background: var(--um-status-suspended);
}

.apt-alert__title {
  margin: 0;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
}

.apt-alert__body {
  padding: 16px 20px 4px;
}

.apt-alert__body p {
  margin: 0;
  color: var(--um-text-body);
  font-size: 12px;
  line-height: 1.6;
}

.apt-alert__actions {
  display: flex;
  justify-content: flex-end;
  padding: 14px 20px 20px;
}

.apt-alert__actions .um-btn {
  min-width: 140px;
  justify-content: center;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 11px;
}

.apt-alert-overlay--error .apt-alert {
  border-top-color: var(--um-status-suspended);
}

.apt-alert-overlay--error .apt-alert__accent {
  background: var(--um-status-suspended);
}

.cm-service-defaults-dialog {
  width: min(860px, calc(100vw - 32px));
}

.cm-service-defaults-dialog .cm-editor__header > div {
  min-width: 0;
}

.cm-service-defaults-dialog .cm-editor__header p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 11px;
}

.cm-service-defaults-dialog .cm-service-defaults-category {
  color: var(--gold-dark-2);
  font-weight: 700;
}

.cm-service-defaults-note {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--gold-2);
  background: #fbfaf7;
  color: var(--um-text-body);
  font-size: 11px;
  line-height: 1.5;
}

.cm-service-defaults-list {
  display: grid;
  gap: 8px;
  max-height: 44vh;
  overflow-y: auto;
}

.cm-service-default-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 145px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--um-border);
  border-radius: 5px;
}

.cm-service-default-row__details {
  display: grid;
  min-width: 0;
  gap: 3px;
  color: var(--um-text-body);
  font-size: 11px;
}

.cm-service-default-row__details strong {
  color: var(--text-dark);
  font-size: 12px;
}

.cm-service-default-row__review {
  color: #8b6b1f;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .appointment-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .appointment-edit-summary {
    padding: 14px 14px 0;
  }

  .appointment-edit-fields {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 14px 6px;
  }

  .appointment-edit-fields__status {
    grid-column: auto;
  }

  .appointment-products-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .appointment-product-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .appointment-product-row__quantity {
    grid-column: 2;
  }

  .cm-service-default-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .cm-service-default-row__details {
    grid-column: 2;
  }

  .cm-service-default-row > .cm-editor__field {
    grid-column: 2;
  }

  .appointment-inventory-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .appointment-products-modal .appointment-inventory-actions {
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    padding: 10px 14px 14px;
  }

  .appointment-products-modal .appointment-inventory-actions .um-btn {
    width: auto;
  }

  .appointment-products-content {
    padding: 10px 14px 8px;
  }

  .appointment-inventory-actions .um-btn {
    width: 100%;
  }
}

/* Finance module */
.fin-page-flow {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.fin-page-toolbar,
.fin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fin-page-toolbar h1,
.fin-section-heading h2 {
  margin: 0;
  color: #201c18;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.fin-page-toolbar p,
.fin-section-heading span {
  margin: 4px 0 0;
  color: #756c62;
  font: 0.75rem "Raleway", sans-serif;
}

.fin-button {
  min-height: 38px;
  border: 1px solid #d8d1c4;
  border-radius: 5px;
  background: #fff;
  color: #332f29;
  padding: 8px 13px;
  font: 600 0.75rem "Raleway", sans-serif;
  cursor: pointer;
}

.fin-button:hover {
  border-color: #8a6e2f;
}

.fin-button-primary {
  border-color: #8a6e2f;
  background: #8a6e2f;
  color: #fff;
}

.fin-button-danger {
  border-color: #b93c3c;
  background: #b93c3c;
  color: #fff;
}

.fin-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e7ddc9;
  border-bottom: 1px solid #e7ddc9;
}

.fin-filters label,
.fin-form label {
  display: grid;
  gap: 5px;
  min-width: 145px;
  color: #756c62;
  font: 600 0.68rem "Raleway", sans-serif;
}

.fin-filters input,
.fin-filters select,
.fin-form input,
.fin-form select,
.fin-form textarea {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  border: 1px solid #d8d1c4;
  border-radius: 4px;
  background: #fff;
  color: #201c18;
  padding: 8px 9px;
  font: 0.78rem "Raleway", sans-serif;
}

.fin-search-field {
  flex: 1;
}

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

.fin-summary-grid--single {
  grid-template-columns: minmax(180px, 1fr);
}

.fin-summary-grid--dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fin-expenses-page .fin-filters {
  padding-bottom: 8px;
  border-bottom: 0;
}

.fin-expense-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7ddc9;
}

.fin-expense-overview article {
  box-sizing: border-box;
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  height: 96px;
  padding: 12px 14px;
  border: 1px solid #e7ddc9;
  border-left: 3px solid #c9a84c;
  border-radius: 5px;
  background: #fff;
}

.fin-expense-overview article span,
.fin-expense-overview article small {
  color: #756c62;
  font: 0.7rem "Raleway", sans-serif;
}

.fin-expense-overview article strong,
.fin-expense-overview article span#machineExpenseTotal {
  overflow-wrap: anywhere;
  color: #201c18;
  font: 600 1.12rem "Playfair Display", serif;
}

.fin-expense-upload {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid #d8d1c4;
  border-radius: 4px;
  background: #fff;
  color: #8a6e2f;
  font: 600 0.62rem "Raleway", sans-serif;
  cursor: pointer;
}

.fin-demo-badge {
  width: fit-content;
  border: 1px solid #e7ddc9;
  border-radius: 3px;
  background: #fbf7ec;
  color: #8a6e2f !important;
  padding: 4px 6px;
  font: 700 0.58rem "Raleway", sans-serif !important;
  letter-spacing: 0.04em;
}

.fin-expense-chart-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.fin-expense-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.fin-expense-analytics-grid > .fin-chart-section {
  box-sizing: border-box;
  height: 360px;
  min-width: 0;
}

.fin-expense-analytics-grid > .fin-chart-section {
  display: flex;
  flex-direction: column;
}

.fin-expense-category-chart .fin-chart-frame,
.fin-machine-expense-chart .fin-chart-frame {
  flex: 1;
  height: auto;
  min-height: 0;
}

.fin-machine-expense-total {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.fin-machine-expense-total strong {
  overflow-wrap: anywhere;
  color: #201c18;
  font: 600 1.25rem "Playfair Display", serif;
}

.fin-machine-expense-total small {
  color: #756c62;
  font: 0.7rem "Raleway", sans-serif;
}

.fin-expense-record-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.fin-expense-record-search {
  box-sizing: border-box;
  width: min(100%, 300px);
  min-width: 170px;
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid #d8d1c4;
  border-radius: 4px;
  background: #fff;
  color: #201c18;
  font: 0.78rem "Raleway", sans-serif;
}

@media (max-width: 900px) {
  .fin-expense-analytics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-expense-analytics-grid > .fin-chart-section {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .fin-expense-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-expense-record-toolbar {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .fin-expense-overview article {
    height: 88px;
  }

  .fin-expense-analytics-grid > .fin-chart-section {
    height: 320px;
  }

  .fin-expense-record-actions {
    flex: 1 1 100%;
  }

  .fin-expense-record-search {
    flex: 1;
  }
}

.fin-expenses-page {
  align-content: start;
  gap: 14px;
  grid-auto-rows: max-content;
  min-height: 0;
}

.fin-expenses-page .fin-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 2px 0;
  border: 0;
}

.fin-expenses-page .fin-filter-period-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  padding: 0;
  border: 0;
  width: 100%;
}

.fin-expenses-page .fin-filter-period-controls .fin-segmented {
  flex: 0 0 auto;
  margin-right: 0;
}

.fin-expenses-page .fin-filter-period-controls > label {
  flex: 0 1 156px;
  min-width: 136px;
}

.fin-expenses-page .fin-filters > label {
  width: min(240px, 100%);
  min-width: 0;
}

.fin-expenses-page .fin-filters input,
.fin-expenses-page .fin-filters select {
  min-height: 40px;
  border-radius: 6px;
}

.fin-expenses-page .fin-expense-overview {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  padding-bottom: 0;
  border: 0;
}

.fin-expenses-page .fin-expense-overview article {
  height: auto;
  min-height: 112px;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e9e4da;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-expenses-page .fin-expense-summary-total {
  border-left: 3px solid #b5892a !important;
  background: linear-gradient(105deg, #fffdf8, #fff 55%);
}

.fin-expenses-page .fin-expense-overview article > span:first-child,
.fin-expenses-page .fin-expense-overview article > strong {
  color: #514a40;
  font: 600 0.76rem "Raleway", sans-serif;
}

.fin-expenses-page .fin-expense-overview article strong#expenseTotal {
  color: #201c18;
  font: 600 1.55rem "Playfair Display", serif;
}

.fin-expenses-page .fin-expense-overview article span#machineExpenseTotal,
.fin-expenses-page .fin-expense-overview article span#utilitiesExpenseTotal {
  color: #201c18;
  font: 600 1.24rem "Playfair Display", serif;
}

.fin-expenses-page .fin-expense-overview article small {
  line-height: 1.4;
}

.fin-expenses-page .fin-expense-card--machine {
  border-left: 3px solid #8b9ca7;
}

.fin-expenses-page .fin-expense-card--electricity {
  border-left: 3px solid #94a88a;
}

.fin-expenses-page .fin-expense-analytics-grid {
  gap: 16px;
}

.fin-expenses-page .fin-expense-analytics-grid > .fin-chart-section {
  height: auto;
  min-height: 0;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-expenses-page .fin-chart-section .fin-section-heading {
  align-items: flex-start;
  margin-bottom: 4px;
}

.fin-expenses-page .fin-chart-frame {
  flex: 0 0 248px;
  height: 248px;
}

.fin-expenses-page .fin-chart-frame.is-empty {
  flex-basis: 116px;
  height: 116px;
}

.fin-expenses-page .fin-chart-empty {
  border-radius: 6px;
  background: #faf9f6;
  font-size: 0.76rem;
}

.fin-expenses-page .fin-chart-frame.is-empty .fin-chart-empty {
  inset: 4px 0 0;
}

.fin-expenses-page .fin-expense-records {
  min-height: 0;
  height: auto;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-expenses-page .fin-expense-records .staff-table-toolbar {
  margin-bottom: 12px;
}

.fin-expenses-page .fin-expense-records .staff-empty-state {
  min-height: 0;
  padding: 22px 16px;
}

.fin-expenses-page .fin-expense-records {
  display: flex;
  flex-direction: column;
}

.fin-expenses-page .fin-expense-records .fin-expense-table-scroll {
  display: block;
  flex: 0 0 auto;
  max-height: none;
  min-height: 0;
}

.fin-expenses-page .fin-expense-records .fin-table th:nth-child(5),
.fin-expenses-page .fin-expense-records .fin-table td:nth-child(5) {
  text-align: right;
  white-space: nowrap;
}

.fin-expenses-page .fin-expense-record-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.fin-expenses-page .fin-expense-record-toolbar h2 {
  margin: 0;
}

.fin-expenses-page .fin-expense-record-actions {
  flex-wrap: wrap;
  gap: 8px;
}

.fin-expenses-page .fin-expense-record-search {
  min-height: 40px;
  border-radius: 6px;
}

.fin-expenses-page .fin-pagination {
  padding: 12px 0 0;
}

@media (max-width: 900px) {
  .fin-expenses-page .fin-expense-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-expenses-page .fin-expense-summary-total {
    grid-column: 1 / -1;
  }

  .fin-expenses-page .fin-expense-record-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-expenses-page .fin-expense-record-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .fin-expenses-page .fin-expense-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-expenses-page .fin-expense-summary-total {
    grid-column: auto;
  }

  .fin-expenses-page .fin-expense-record-actions {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .fin-expenses-page .fin-filter-period-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-expenses-page .fin-filter-period-controls .fin-segmented {
    grid-column: 1 / -1;
  }

  .fin-expenses-page .fin-filter-period-controls > label {
    min-width: 0;
  }

  .fin-expenses-page .fin-expense-analytics-grid > .fin-chart-section {
    height: auto;
  }

  .fin-expenses-page .fin-chart-frame {
    flex-basis: 220px;
    height: 220px;
  }

  .fin-expenses-page .fin-expense-record-actions > button {
    flex: 1 1 auto;
  }
}

.fin-alert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fin-alert-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  border: 1px solid #e7ddc9;
  border-radius: 5px;
  background: #fff;
  padding: 0 12px;
  color: #332f29;
  text-decoration: none;
  font: 600 0.72rem "Raleway", sans-serif;
}

.fin-alert-chip strong {
  color: #b93c3c;
  font-size: 0.85rem;
}

.fin-summary-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  border-left: 3px solid #c9a84c;
  background: #fff;
}

.fin-summary-grid article span,
.fin-summary-grid article small {
  color: #756c62;
  font: 0.7rem "Raleway", sans-serif;
}

.fin-summary-grid article strong {
  overflow-wrap: anywhere;
  color: #201c18;
  font: 600 1.25rem "Playfair Display", serif;
}

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

.fin-chart-section {
  min-width: 0;
  padding: 16px;
}

.fin-cash-closing-note {
  margin: 0 0 14px;
  color: #756c62;
  font: 0.75rem "Raleway", sans-serif;
  line-height: 1.55;
}

.fin-cash-closing-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.fin-cash-closing-totals > div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #eee9df;
  border-radius: 5px;
}

.fin-cash-closing-totals span {
  color: #756c62;
  font: 0.68rem "Raleway", sans-serif;
}

.fin-cash-closing-totals strong {
  color: #201c18;
  font: 600 1.1rem "Playfair Display", serif;
}

.fin-cash-closing h3 {
  margin: 16px 0 6px;
  color: #201c18;
  font: 600 1rem "Playfair Display", serif;
}

.fin-section-heading {
  margin-bottom: 10px;
}

.fin-chart-frame {
  position: relative;
  width: 100%;
  height: 270px;
  min-width: 0;
}

.fin-chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #756c62;
  font: 0.8rem "Raleway", sans-serif;
}

.fin-chart-empty[hidden] {
  display: none;
}

.fin-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.fin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font: 0.75rem "Raleway", sans-serif;
}

.fin-table th,
.fin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eee9df;
  text-align: left;
  vertical-align: middle;
}

.fin-table th {
  color: #756c62;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fin-table td {
  color: #332f29;
}

.fin-table tr.fin-row-voided td {
  color: #8b8580;
  text-decoration: line-through;
}

.fin-table .fin-row-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.fin-table .fin-row-actions .fin-button {
  min-height: 30px;
  padding: 5px 8px;
}

.fin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px;
  color: #756c62;
  font: 0.72rem "Raleway", sans-serif;
}

.fin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(26, 23, 20, .5);
}

.fin-modal-overlay[hidden] {
  display: none;
}

.fin-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  border-top: 4px solid #c9a84c;
  border-radius: 6px;
  background: #fff;
  padding: 24px;
}

.fin-modal--compact {
  width: min(420px, 100%);
}

.fin-modal h2 {
  margin: 0 32px 18px 0;
  color: #201c18;
  font: 600 1.2rem "Playfair Display", serif;
}

.fin-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #554f47;
  font-size: 1.4rem;
  cursor: pointer;
}

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

.fin-form label:nth-of-type(3),
.fin-form label:has(textarea),
.fin-form-message,
.fin-modal-actions {
  grid-column: 1 / -1;
}

.fin-form-message,
.fin-page-message {
  min-height: 1em;
  margin: 0;
  color: #b93c3c;
  font: 0.75rem "Raleway", sans-serif;
}

.fin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.fin-page-message {
  color: #4388e8;
}

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

  .fin-cash-closing-totals {
    grid-template-columns: 1fr;
  }

  .fin-summary-grid,
  .fin-summary-grid--dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .fin-page-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .fin-filters label {
    flex: 1 1 140px;
  }

  .fin-filters .fin-search-field {
    flex-basis: 100%;
  }

  .fin-form {
    grid-template-columns: 1fr;
  }

  .fin-form label,
  .fin-form-message,
  .fin-modal-actions {
    grid-column: 1;
  }

  .fin-chart-frame {
    height: 240px;
  }
}

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

  .fin-modal {
    padding: 18px;
  }
}

.fin-page-flow [hidden] {
  display: none !important;
}

.fin-period-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e7ddc9;
  border-bottom: 1px solid #e7ddc9;
}

.fin-period-controls>label {
  display: grid;
  gap: 5px;
  min-width: 145px;
  color: #756c62;
  font: 600 0.68rem "Raleway", sans-serif;
}

.fin-period-controls input {
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  border: 1px solid #d8d1c4;
  border-radius: 4px;
  padding: 8px;
  font: 0.78rem "Raleway", sans-serif;
}

.fin-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-right: auto;
}

.fin-segmented button {
  min-height: 36px;
  border: 1px solid #d8d1c4;
  border-radius: 4px;
  background: #fff;
  color: #554f47;
  padding: 7px 11px;
  font: 600 0.7rem "Raleway", sans-serif;
  cursor: pointer;
}

.fin-segmented button.is-active {
  border-color: #8a6e2f;
  background: #8a6e2f;
  color: #fff;
}

.fin-filter-period-controls {
  flex: 1 1 100%;
  min-width: 0;
}

.fin-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  box-sizing: border-box;
  border: 1px solid #d8d1c4;
  border-radius: 999px;
  background: #f4f1eb;
  color: #554f47;
  padding: 3px 9px;
  font: 600 0.66rem "Raleway", sans-serif;
  line-height: 1.2;
  white-space: nowrap;
}

.fin-status-badge--active,
.fin-status-badge--paid,
.fin-status-badge--posted,
.fin-status-badge--completed {
  border-color: #b8dcc4;
  background: #edf7f0;
  color: #226b3b;
}

.fin-status-badge--pending {
  border-color: #ead9a9;
  background: #fbf5e5;
  color: #80651e;
}

.fin-status-badge--refunded,
.fin-status-badge--reversed,
.fin-status-badge--voided,
.fin-status-badge--cancelled {
  border-color: #e6bcbc;
  background: #fbefef;
  color: #982f2f;
}

.fin-status-badge--forfeited {
  border-color: #d8d1c4;
  background: #f4f1eb;
  color: #655a4d;
}

.fin-comparison {
  margin: 0;
  color: #756c62;
  font: 0.72rem "Raleway", sans-serif;
  line-height: 1.45;
}

.fin-report-stat small {
  display: block;
  margin-top: 6px;
  color: #756c62;
  font: 0.65rem "Raleway", sans-serif;
  line-height: 1.45;
}

.fin-summary-grid--dashboard article small {
  line-height: 1.4;
}

.fin-audit-values {
  display: grid;
  gap: 5px;
  min-width: 180px;
  margin: 0;
  padding-left: 17px;
  color: #554f47;
  font: 0.7rem "Raleway", sans-serif;
  overflow-wrap: anywhere;
}

.fin-modal :focus-visible,
.fin-period-controls :focus-visible,
.fin-button:focus-visible,
.fin-tab:focus-visible {
  outline: 3px solid #4388e8;
  outline-offset: 2px;
}

.fin-period-controls input[aria-invalid="true"] {
  border-color: #b93c3c;
  box-shadow: 0 0 0 1px #b93c3c;
}

.fin-report-section {
  break-inside: avoid;
}

.fin-summary-grid--report {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fin-summary-grid--report article {
  border-left: 0;
  border-top: 2px solid #c9a84c;
  padding: 12px;
}

@media (max-width: 760px) {
  .fin-summary-grid--report {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-filter-period-controls {
    align-items: stretch;
  }

  .fin-filter-period-controls .fin-segmented {
    flex: 1 1 100%;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .fin-filter-period-controls>label {
    min-width: 0;
    flex: 1 1 130px;
  }
}

@media print {

  .fin-printable .staff-header,
  .fin-printable .staff-sidebar,
  .fin-printable .mobile-nav-drawer,
  .fin-printable .mobile-nav-overlay,
  .fin-printable .fin-button,
  .fin-printable .fin-period-controls,
  .fin-printable .profile-wrap,
  .fin-printable .actions {
    display: none !important;
  }

  .fin-printable .staff-page-content,
  .fin-printable .main-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .fin-printable .fin-page-flow {
    gap: 12px;
  }

  .fin-printable .fin-report-section {
    page-break-inside: avoid;
    border: 1px solid #ddd;
  }

  .fin-printable .fin-chart-frame {
    height: 220px;
  }

  body.fin-printable {
    background: #fff !important;
  }
}

.fin-tabs {
  align-self: start;
  align-content: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 42px;
  gap: 8px;
  border: 0;
}

.fin-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #ded8cc;
  border-radius: 4px;
  background: #fff;
  color: #756c62;
  padding: 8px 12px;
  font: 600 0.75rem/1.25 "Raleway", sans-serif;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.fin-tab.is-active {
  border-color: #8a6e2f;
  background: #f7f3e8;
  color: #5d471e;
  box-shadow: inset 0 -2px #c9a84c;
  transform: none;
}

.fin-period-controls {
  align-items: center;
}

.fin-period-label {
  color: #756c62;
  font: 600 0.72rem "Raleway", sans-serif;
  white-space: nowrap;
}

.fin-daily-cash {
  padding: 16px;
}

.fin-daily-cash .fin-section-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid #eee9df;
}

.fin-daily-cash .fin-table {
  min-width: 520px;
}

@media (max-width: 520px) {
  .fin-tabs {
    gap: 5px;
    grid-auto-rows: 48px;
  }

  .fin-tab {
    height: 48px;
    padding: 7px 5px;
    font-size: 0.68rem;
  }

  .fin-period-controls {
    align-items: stretch;
  }

  .fin-period-controls .fin-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1 1 100%;
  }

  .fin-period-controls>label {
    flex: 1 1 130px;
    min-width: 0;
  }

  .fin-period-label {
    flex-basis: 100%;
  }

  .fin-daily-cash .fin-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .fin-daily-cash .fin-section-heading h2 {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .fin-daily-cash .fin-section-heading .fin-button {
    align-self: flex-end;
    white-space: nowrap;
  }
}

.fin-reports-page {
  gap: 18px;
  align-content: start;
}

.fin-dashboard {
  align-content: start;
  grid-auto-rows: max-content;
  gap: 12px;
  padding-top: 16px;
}

.fin-dashboard .staff-table-card {
  min-height: 0;
}

.fin-dashboard .fin-period-controls {
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
}

.fin-dashboard .fin-period-controls .fin-segmented {
  gap: 4px;
  margin-right: 4px;
}

.fin-dashboard .fin-period-controls .fin-segmented button {
  min-height: 34px;
  padding: 6px 10px;
}

.fin-dashboard .fin-period-controls > label {
  flex: 0 1 150px;
  min-width: 130px;
}

.fin-dashboard .fin-summary-grid--dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fin-dashboard .fin-dashboard-kpi {
  box-sizing: border-box;
  min-height: 104px;
  align-content: center;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #e9e4da;
  border-left: 3px solid #c9a84c;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-dashboard-kpi--collected {
  border-left-color: #6f9877 !important;
}

.fin-dashboard-kpi--expenses {
  border-left-color: #b57970 !important;
}

.fin-dashboard-kpi--net {
  border-left-color: #8a6e2f !important;
}

.fin-dashboard .fin-dashboard-kpi > span {
  color: #655d53;
  font-size: 0.72rem;
  font-weight: 700;
}

.fin-dashboard .fin-dashboard-kpi > strong {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.fin-dashboard .fin-dashboard-kpi > small {
  display: -webkit-box;
  overflow: hidden;
  color: #756c62;
  font-size: 0.64rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fin-dashboard-followups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 0 2px 9px;
  border-bottom: 1px solid #e7ddc9;
}

.fin-dashboard-followups > div,
.fin-dashboard-followups > a {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #756c62;
  font: 600 0.68rem "Raleway", sans-serif;
}

.fin-dashboard-followups > a {
  color: #765c25;
  text-decoration: none;
}

.fin-dashboard-followups > a:hover {
  text-decoration: underline;
}

.fin-dashboard-followups strong {
  overflow-wrap: anywhere;
  color: #332f29;
  font: 600 0.75rem "Raleway", sans-serif;
  text-align: right;
}

.fin-dashboard-followups > a strong {
  color: #8a6e2f;
}

.fin-dashboard-followups > div:last-child strong {
  color: #9a5148;
}

.fin-dashboard-activity {
  padding: 0;
  border-color: #e9e4da;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-dashboard-activity .staff-table-toolbar {
  margin: 0;
  padding: 11px 14px;
}

.fin-dashboard-activity .staff-table-toolbar h2 {
  margin: 0;
  color: #201c18;
  font: 600 1.12rem "Playfair Display", serif;
}

.fin-dashboard-activity .fin-table {
  min-width: 640px;
}

.fin-dashboard-activity .fin-table th,
.fin-dashboard-activity .fin-table td {
  padding: 8px 10px;
}

.fin-dashboard-activity .fin-table th:nth-child(4),
.fin-dashboard-activity .fin-table td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

.fin-dashboard-activity .staff-empty-state {
  min-height: 0;
  padding: 14px;
}

.fin-dashboard-activity .fin-page-message {
  padding: 0 12px 8px;
}

.fin-dashboard-chart {
  min-height: 0;
  padding: 13px;
  border: 1px solid #e9e4da;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-dashboard-chart .fin-section-heading {
  align-items: flex-start;
  margin-bottom: 6px;
}

.fin-dashboard-chart .fin-section-heading h2 {
  font-size: 1.05rem;
}

.fin-dashboard-chart .fin-section-heading span {
  font-size: 0.66rem;
  text-align: right;
}

.fin-dashboard-chart .fin-chart-frame {
  height: 220px;
}

.fin-dashboard .fin-chart-frame:has(.fin-chart-empty:not([hidden])) {
  height: 104px;
}

.fin-dashboard-trends-grid {
  grid-template-columns: minmax(0, 1fr);
}

.fin-dashboard-trends {
  width: 100%;
}

.fin-dashboard-trends .fin-chart-frame {
  width: min(100%, 860px);
  height: 220px;
  margin-inline: auto;
}

@media (max-width: 1150px) {
  .fin-dashboard .fin-summary-grid--dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-dashboard-followups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-dashboard .fin-chart-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-dashboard-trends-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .fin-dashboard {
    gap: 10px;
    padding: 12px 14px;
  }

  .fin-dashboard .fin-period-controls {
    align-items: stretch;
  }

  .fin-dashboard .fin-period-controls .fin-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 1 1 100%;
    margin: 0;
  }

  .fin-dashboard .fin-period-controls .fin-segmented button {
    padding-inline: 5px;
    font-size: 0.65rem;
  }

  .fin-dashboard .fin-period-controls > label {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .fin-dashboard .fin-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .fin-dashboard-chart .fin-section-heading span {
    text-align: left;
  }

  .fin-dashboard-chart .fin-chart-frame,
  .fin-dashboard-trends .fin-chart-frame {
    height: 190px;
  }
}

@media (max-width: 360px) {
  .fin-dashboard .fin-summary-grid--dashboard,
  .fin-dashboard-followups {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fin-report-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  padding: 2px 0 8px;
  border: 0;
}

.fin-report-controls .fin-segmented {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 5px;
  margin-right: 0;
}

.fin-report-controls > label {
  flex: 0 1 148px;
  min-width: 132px;
  color: #655e56;
  font-size: 0.7rem;
}

.fin-report-controls input {
  width: 100%;
  min-height: 38px;
}

.fin-report-controls .fin-report-toolbar-export {
  min-height: 38px;
  margin-left: auto;
  border-color: #c9a84c;
  background: #c9a84c;
  color: #28231b;
}

.fin-report-controls .fin-report-toolbar-export:hover {
  border-color: #b59655;
  background: #b59655;
}

@media (max-width: 760px) {
  .fin-report-controls {
    align-items: end;
  }

  .fin-report-controls .fin-report-toolbar-export {
    margin-left: 0;
  }
}

.fin-report-section {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.fin-report-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid #e7ddc9;
  padding: 0 2px 9px;
}

.fin-report-band-letter {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #f7f1e2;
  color: #8a6e2f;
  font: 700 0.68rem "Raleway", sans-serif;
}

.fin-report-section-heading h2 {
  margin: 0;
  color: #201c18;
  font: 600 1.08rem "Playfair Display", serif;
}

.fin-report-section-heading p {
  margin: 3px 0 0;
  color: #756c62;
  font: 0.72rem "Raleway", sans-serif;
}

.fin-report-band-period {
  margin-left: auto;
  color: #756c62;
  font: 0.68rem "Raleway", sans-serif;
  white-space: nowrap;
}

.fin-report-export {
  min-height: 26px;
  padding: 4px 8px;
  border-color: #e2ddd2;
  background: #fff;
  color: #655e56;
  font-size: 0.6rem;
  white-space: nowrap;
}

.fin-report-export:hover {
  border-color: #c9a84c;
  color: #8a6e2f;
}

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

.fin-report-stat {
  display: flex;
  min-width: 0;
  min-height: 126px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  box-sizing: border-box;
  border: 1px solid #e9e4da;
  border-left: 3px solid #c9a84c;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-report-stat span {
  color: #756c62;
  font: 600 0.73rem "Raleway", sans-serif;
}

.fin-report-stat strong {
  color: #c9a84c;
  font: 600 1.4rem "Playfair Display", serif;
  white-space: nowrap;
}

.fin-reports-page .fin-report-stat small {
  display: -webkit-box;
  overflow: hidden;
  color: #756c62;
  font: 0.68rem/1.4 "Raleway", sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fin-report-stat--collected {
  border-top-color: #228b46;
}

.fin-report-stat--collected strong {
  color: #228b46;
}

.fin-report-stat--expenses {
  border-top-color: #b93c3c;
}

.fin-report-stat--expenses strong {
  color: #b93c3c;
}

.fin-report-stat--net {
  border-top-color: #8a6e2f;
}

.fin-report-stat--net strong {
  color: #8a6e2f;
}

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

.fin-report-panel {
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #e9e4da;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(41, 34, 24, 0.035);
}

.fin-report-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eeeae2;
  padding-bottom: 8px;
}

.fin-report-panel-heading h3 {
  margin: 0;
  color: #332f29;
  font: 600 0.86rem "Raleway", sans-serif;
}

.fin-report-panel .fin-chart-frame {
  height: 224px;
}

.fin-report-panel .fin-chart-frame--deposit {
  height: 190px;
}

.fin-report-panel .fin-chart-frame--compact {
  height: 224px;
}

.fin-report-panel.is-empty .fin-chart-frame {
  height: 82px;
}

.fin-report-panel.is-empty .fin-chart-frame--compact {
  height: 82px;
}

.fin-deposit-content {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 8px;
}

.fin-deposit-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.fin-deposit-stats div {
  display: grid;
  min-width: 0;
  gap: 5px;
  border: 1px solid #efede7;
  border-radius: 6px;
  background: #fbfaf7;
  padding: 10px;
}

.fin-deposit-stats dt {
  color: #756c62;
  font: 500 0.56rem "Raleway", sans-serif;
  text-transform: uppercase;
}

.fin-deposit-stats dd {
  margin: 0;
  color: #c9a84c;
  font: 500 1rem "Playfair Display", serif;
  overflow-wrap: anywhere;
}

.fin-deposit-stats small {
  color: #228b46;
  font: 0.56rem "Raleway", sans-serif;
}

.fin-daily-cash .fin-report-panel-heading {
  margin-bottom: 6px;
}

.fin-daily-cash .fin-table {
  min-width: 430px;
  font-size: 0.68rem;
}

.fin-daily-cash .fin-table th,
.fin-daily-cash .fin-table td {
  padding: 8px 9px;
}

.fin-daily-cash-scroll {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

.fin-daily-cash-pagination {
  padding: 8px 0 0;
}

.fin-daily-cash .fin-table th:not(:first-child),
.fin-daily-cash .fin-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.fin-daily-cash-scroll .fin-table thead th {
  white-space: nowrap;
}

.fin-daily-cash .staff-empty-state {
  min-height: 0;
  padding: 18px 12px;
}

@media (max-width: 760px) {
  .fin-report-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-report-grid,
  .fin-report-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-report-panel .fin-chart-frame,
  .fin-report-panel .fin-chart-frame--compact {
    height: 230px;
  }

  .fin-report-panel.is-empty .fin-chart-frame,
  .fin-report-panel.is-empty .fin-chart-frame--compact {
    height: 82px;
  }
}

@media (max-width: 480px) {
  .fin-report-controls .fin-segmented {
    flex-basis: 100%;
  }

  .fin-report-controls > label {
    flex: 1 1 125px;
  }

  .fin-report-controls .fin-report-toolbar-export {
    margin-left: auto;
  }

  .fin-report-section-heading {
    align-items: flex-start;
  }

  .fin-report-section-heading h2 {
    font-size: 0.98rem;
  }

  .fin-report-section-heading .fin-report-band-period {
    display: none;
  }

  .fin-report-export {
    padding: 4px 6px;
    font-size: 0.56rem;
  }

  .fin-report-stat {
    min-height: 104px;
    padding: 11px;
  }

  .fin-report-stat strong {
    font-size: 1.05rem;
  }

  .fin-report-stat small {
    font-size: 0.6rem;
  }

  .fin-deposit-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-deposit-content .fin-chart-frame--deposit {
    max-width: 210px;
    margin: 0 auto;
  }
}
.category-card[id],
.featured-treatment[id] {
  scroll-margin-top: 110px;
}

/* ===== GLASSMORPHISM HEADER (homepage + client pages via body.client-header) ===== */

body.homepage {
  --homepage-header-height: max(72px, calc(48px + 32px));
}

body.client-header {
  --homepage-header-height: max(72px, calc(48px + 32px));
  padding-top: var(--homepage-header-height);
}

body.services.client-header {
  padding-top: 0;
}

body.homepage .public-header,
body.client-header .public-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
  padding: 16px 30px;
  justify-content: space-between;
  flex-wrap: nowrap;
  z-index: 100;
}

body.homepage .public-header {
  min-height: var(--homepage-header-height);
}

body.client-header .public-header {
  min-height: var(--homepage-header-height);
}

body.homepage .glass-pill,
body.client-header .glass-pill {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: none;
  box-shadow: 0 8px 28px rgba(31, 38, 60, 0.12);
  border-radius: 999px;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  body.homepage .glass-pill,
  body.client-header .glass-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* <picture> wrappers must not affect the existing image sizing rules */
body.homepage picture {
  display: contents;
}

body.homepage .header-left,
body.client-header .header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.homepage .header-left .logo-container,
body.client-header .header-left .logo-container {
  width: auto;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  box-sizing: border-box;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.homepage .header-left .logo-container a,
body.client-header .header-left .logo-container a {
  display: flex;
  align-items: center;
  height: 100%;
}

body.homepage .header-left #logo,
body.client-header .header-left #logo {
  height: 28px;
  width: auto;
  display: block;
  border-radius: 6px;
}

body.homepage .theme-toggle,
body.client-header .theme-toggle {
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  background: #fff;
  border: none;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

body.homepage .theme-toggle:hover,
body.client-header .theme-toggle:hover {
  background-color: rgb(201, 168, 76);
}

body.homepage .theme-toggle-icon,
body.client-header .theme-toggle-icon {
  width: 14px;
  height: 14px;
}

body.homepage .header-pill,
body.client-header .header-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 10px;
  margin-left: auto;
}

body.homepage .public-nav,
body.client-header .public-nav {
  margin: 0;
  gap: 0;
  flex-wrap: nowrap;
}

body.homepage .public-nav-links,
body.client-header .public-nav-links {
  gap: 4px;
}

body.homepage .public-nav-links li a,
body.client-header .public-nav-links li a {
  display: block;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  color: rgb(40, 44, 52);
  font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

body.homepage .public-nav-links,
body.client-header .public-nav-links {
  position: relative;
}

body.homepage .public-nav-links li,
body.client-header .public-nav-links li {
  position: relative;
  z-index: 1;
}

body.homepage .public-nav-links li a:hover,
body.client-header .public-nav-links li a:hover {
  background: none;
  border: none;
}

body.homepage .public-nav-links li a.active,
body.client-header .public-nav-links li a.active {
  background: #fff;
  color: #C9A84C;
  border: none;
}

body.homepage .nav-indicator,
body.client-header .nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

body.homepage .public-header-actions,
body.client-header .public-header-actions {
  gap: 10px;
}

body.homepage .book-now-btn,
body.client-header .book-now-btn {
  border-radius: 999px;
  padding: 11px 22px;
}

@media (max-width: 768px) {
  body.homepage {
    --homepage-header-height: max(60px, calc(48px + 20px));
  }

  body.client-header {
    --homepage-header-height: max(60px, calc(48px + 20px));
  }

  body.homepage .public-header,
  body.client-header .public-header {
    padding: 10px 12px;
    gap: 8px;
  }

  body.homepage .public-header {
    min-height: var(--homepage-header-height);
  }

  body.client-header .public-header {
    min-height: var(--homepage-header-height);
  }

  body.homepage .header-pill,
  body.client-header .header-pill {
    padding: 4px 8px;
    margin-left: auto;
  }

  body.homepage .header-left .logo-container,
  body.client-header .header-left .logo-container {
    height: 40px;
    padding: 0 12px;
  }

  body.homepage .header-left #logo,
  body.client-header .header-left #logo {
    height: 22px;
  }

  body.homepage .theme-toggle,
  body.client-header .theme-toggle {
    width: 34px;
    height: 34px;
  }

  body.homepage .hamburger-btn,
  body.client-header .hamburger-btn {
    order: 0;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  body.homepage .book-now-btn,
  body.client-header .book-now-btn {
    padding: 8px 12px;
  }
}

@media (max-width: 425px) {
  body.homepage .header-left .logo-container,
  body.client-header .header-left .logo-container {
    display: none;
  }
}

body.client-header {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
}

/* Services: header floats over the dark headline so it starts at the very top */
body.services .public-header {
  position: fixed;
  left: 0;
  right: 0;
}

body.services .services-headline {
  padding-top: 110px;
}

/* Client pages: same footer as index (index gets its image from .homepage-closing) */
body.client-header .index-footer {
  background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .62)), url("images/CenterOutsideImg.webp") center / cover no-repeat #131414;
}

body.client-header .index-footer a {
  color: rgba(255, 255, 255, .84);
}

body.client-header .index-footer a:hover {
  color: var(--gold);
}

/* ===== Homepage editorial hero ===== */
body.homepage .hero {
  --hero-frame-gutter: max(24px, calc((100% - 1440px) / 2));
  display: block;
  position: relative;
  min-height: max(580px, 100vh);
  min-height: max(580px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

body.homepage .hero-visual {
  position: absolute;
  inset: 0 calc(var(--hero-frame-gutter) - 32px) auto auto;
  z-index: 0;
  width: min(52%, 760px);
  height: max(580px, 100svh);
  pointer-events: none;
}

body.homepage .hero-visual::before {
  position: absolute;
  inset: -5% -4%;
  background: radial-gradient(ellipse at 54% 45%, rgba(244, 226, 191, .78) 0%, rgba(250, 241, 222, .54) 36%, rgba(255, 255, 255, 0) 68%);
  content: "";
}

body.homepage .hero-photo-img {
  position: absolute;
  inset: clamp(56px, 8vh, 80px) 0 auto auto;
  display: block;
  width: min(100%, 44vw, 760px);
  height: auto;
  object-fit: contain;
  object-position: right top;
  mix-blend-mode: multiply;
}

body.homepage .hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(52%, 660px);
  margin-left: clamp(48px, 5.5vw, 112px);
  min-height: max(580px, 100vh);
  min-height: max(580px, 100svh);
  padding: clamp(56px, calc(177px - 9vh), 129px) 0 56px 0;
  text-align: left;
}

body.homepage .hero-copy::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  width: 100%;
  height: min(100%, 620px);
  background: radial-gradient(ellipse at 46% 50%, rgba(244, 226, 191, .7) 0%, rgba(250, 241, 222, .5) 36%, rgba(255, 255, 255, 0) 64%);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

body.homepage .hero-copy .eyebrow {
  margin: 0 0 clamp(6px, .6vw, 10px);
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: .04em;
}

body.homepage .hero-copy .headline {
  max-width: 14ch;
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 7.8vw, 6rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.035em;
}

@keyframes homepage-hero-headline-breathe {
  0%,
  100% {
    scale: 1;
    translate: 0 0;
  }

  50% {
    scale: 1.012;
    translate: 0 -3px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.homepage .hero-copy .eyebrow,
  body.homepage .hero-copy .headline,
  body.homepage .hero-copy .lede,
  body.homepage .hero-copy .hero-cta-row {
    animation: homepage-hero-headline-breathe 5.5s ease-in-out 2.2s infinite;
    transform-origin: center;
  }
}

body.homepage .hero-copy .lede {
  max-width: 39ch;
  margin: 10px 0 clamp(8px, 1vw, 14px) 8px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.4;
}

body.homepage .hero-cta-row {
  display: inline-flex;
  margin-left: 8px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

body.homepage .hero-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--gold);
  border-radius: 15px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.homepage .hero-cta--primary {
  min-width: 130px;
}

body.homepage .hero-cta:hover {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  transform: translateY(-1px);
}

body.homepage .hero-cta:focus-visible {
  outline: 3px solid rgba(181, 137, 42, .42);
  outline-offset: 3px;
}

body.homepage .hero-cta--secondary {
  min-width: 160px;
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

body.homepage .hero-cta--secondary:hover {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
}

@media (min-width: 701px) and (max-width: 900px) {
  body.homepage .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
    min-height: max(580px, 100svh);
    overflow: visible;
  }

  body.homepage .hero.hero-scrolly {
    grid-template-rows: auto minmax(0, 1fr);
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }

  body.homepage .hero-copy {
    grid-row: 1;
    width: auto;
    margin-left: 0;
    min-height: 0;
    align-items: center;
    padding: clamp(88px, 12vh, 112px) clamp(24px, 5vw, 40px) 12px;
    text-align: center;
  }

  body.homepage .hero-visual {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    min-height: 0;
  }

  body.homepage .hero.hero-scrolly .hero-visual {
    height: 100%;
    aspect-ratio: auto;
  }

  body.homepage .hero-photo-img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  body.homepage .hero-copy .headline {
    width: min(100%, 15ch);
    font-size: clamp(2.5rem, 7.4vw, 3.5rem);
    text-align: center;
  }

  body.homepage .hero-copy .lede {
    width: min(100%, 38ch);
    margin: 10px 0 14px;
    text-align: center;
  }

  body.homepage .hero-cta-row {
    display: flex;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  body.homepage .faq-chat {
    right: 20px;
    bottom: 26px;
  }

  body.homepage .faq-chat-launcher {
    width: 62px;
    height: 62px;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  body.homepage .hero-copy {
    width: min(45%, 560px);
    margin-left: clamp(32px, 4vw, 48px);
    padding: clamp(48px, 6vh, 64px) 0 clamp(96px, 12vh, 128px);
  }

  body.homepage .hero-visual {
    right: clamp(24px, 3%, 40px);
    width: min(46%, 480px);
  }

  body.homepage .hero-photo-img {
    inset: auto 0 0 auto;
    width: min(100%, 46vw, 480px);
    max-height: calc(100svh - var(--homepage-header-height));
    object-position: right bottom;
  }

  body.homepage .hero-copy .headline {
    font-size: clamp(3.2rem, 5.8vw, 3.75rem);
  }
}

@media (min-width: 1200px) {
  body.homepage .hero-copy {
    width: min(44%, 1100px);
    margin-left: clamp(56px, 7.8%, 200px);
  }

  body.homepage .hero-visual {
    right: clamp(24px, 2%, 48px);
    width: min(45%, 1120px);
  }

  body.homepage .hero-photo-img {
    inset: auto 0 0 auto;
    width: 100%;
    height: calc(100% - var(--homepage-header-height));
    object-fit: cover;
    object-position: center top;
  }

  body.homepage .hero-copy .headline {
    font-size: clamp(5rem, 5.9vw, 9rem);
  }
}

@media (min-width: 901px) {
  body.homepage .hero.hero-scrolly .hero-visual {
    height: 100svh;
  }
}

@media (min-width: 1200px) and (min-height: 1200px) {
  body.homepage .hero-copy {
    padding-bottom: clamp(200px, 24vh, 420px);
  }
}

@media (max-width: 700px) {
  body.homepage .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  body.homepage .hero-visual {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 7;
  }

  body.homepage .hero-photo-img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  body.homepage .hero-copy {
    grid-row: 1;
    width: auto;
    margin-left: 0;
    min-height: 0;
    align-items: center;
    padding: 104px 24px 24px;
    text-align: center;
  }

  body.homepage .hero-copy .eyebrow {
    margin-bottom: 12px;
  }

  body.homepage .hero-copy::before {
    top: 52%;
    left: -10%;
    width: 120%;
    height: 115%;
  }

  body.homepage .hero-copy .headline {
    max-width: 15ch;
    width: min(100%, 15ch);
    margin-bottom: 14px;
    font-size: clamp(2.5rem, 10vw, 3.2rem);
    text-align: center;
  }

  body.homepage .hero-copy .lede {
    max-width: 38ch;
    margin: 0 0 20px;
    width: min(100%, 38ch);
    font-size: 16px;
    line-height: 1.5;
  }

  body.homepage .hero-cta-row {
    display: flex;
    margin-left: 0;
    width: 100%;
    gap: 10px;
    justify-content: center;
  }

  body.homepage .hero-cta {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 13px;
  }

  body.homepage .hero-band {
    display: none;
  }
}

@media (max-width: 768px) {
  body.homepage .public-header,
  body.client-header .public-header {
    justify-content: flex-start;
    gap: 8px;
  }

  body.homepage .hamburger-btn,
  body.client-header .hamburger-btn {
    order: -1;
    width: 40px;
    height: 40px;
  }

  body.homepage .header-left,
  body.client-header .header-left {
    order: 0;
    gap: 8px;
  }

  body.homepage .header-pill,
  body.client-header .header-pill {
    order: 1;
    margin-left: auto;
    gap: 6px;
  }

  body.homepage .public-header-actions .profile-info,
  body.client-header .public-header-actions .profile-info {
    display: none;
  }
}

@media (min-width: 901px) {
  body.homepage .hero.hero-static {
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  body.homepage .hero.hero-static > .hero-copy {
    position: relative;
    inset: auto;
    min-height: max(620px, 100svh);
  }

  body.homepage .hero.hero-static > .homepage-service-panels-section {
    position: relative;
    z-index: 3;
    background: var(--cream);
  }

  body.homepage .hero.hero-static .homepage-service-panels {
    min-height: max(560px, 100svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.homepage .hero.hero-static > .treatments-section {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 701px) {
  body.homepage .hero.hero-static > .treatments-section {
    min-height: max(600px, 100svh);
  }

  body.homepage .hero.hero-scrolly {
    height: 100vh;
    height: 100svh;
  }

  body.homepage .hero.hero-scrolly .hero-band {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background: var(--cream);
  }

  body.homepage .hero.hero-scrolly > .hero-copy {
    z-index: 1;
  }

  body.homepage .hero.hero-scrolly > .homepage-service-panels-section {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    background: transparent;
    pointer-events: none;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__header,
  body.homepage .hero.hero-scrolly .homepage-service-panel {
    pointer-events: auto;
  }

  body.homepage .hero.hero-scrolly > .treatments-section {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: circle(0px at 100% 100%);
  }

  body.homepage .hero.hero-static .homepage-service-panels,
  body.homepage .hero.hero-scrolly .homepage-service-panels {
    padding-top: clamp(64px, 9vh, 88px);
    padding-bottom: clamp(24px, 4vh, 40px);
  }

  body.homepage .hero.hero-static > .treatments-section,
  body.homepage .hero.hero-scrolly > .treatments-section {
    padding: max(64px, 8vh) 0 max(24px, 4vh);
  }
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .homepage-scroll-story.homepage-scroll-story--animated {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .testimonials-section,
  .testimonials-section.testimonials-section--pinned {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
    background: var(--white);
    padding: 72px 24px 100px;
    overflow: visible;
  }

  .testimonials-section__header {
    margin-bottom: 32px;
  }

  .testimonials-section__inner,
  .testimonials-section--pinned .testimonials-section__inner {
    height: auto;
  }

  .testimonials-viewport,
  .testimonials-section--pinned .testimonials-viewport {
    min-height: 0;
    overflow: visible;
  }

  .testimonials-track {
    transform: none;
    will-change: auto;
  }

  .testimonials-brand {
    margin: 64px auto 32px;
  }

  .homepage-signup,
  .homepage-signup.homepage-signup--pinned {
    position: relative;
    inset: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 72px 24px;
  }

  .homepage-signup.homepage-signup--released {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .homepage-signup,
  .homepage-signup.homepage-signup--pinned {
    position: relative;
    inset: auto;
    min-height: 0;
    visibility: visible;
    opacity: 1;
    padding: 72px 24px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .homepage-signup__logo img {
    width: clamp(170px, 36vw, 260px);
  }

  .homepage-signup__content {
    margin: 0 auto;
  }

}
/* Admin headers need room to wrap before the mobile layout breakpoint. */
@media (min-width: 641px) and (max-width: 1024px) {
  #adminDashboardMain > .um-header,
  #appointmentsMain > .um-header,
  #userManagementMain > .um-header {
    height: auto;
    min-height: 0;
    padding-left: 0;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  #appointmentsMain > .um-header {
    flex-shrink: 0;
  }

  #adminDashboardMain > .um-header .um-header__actions,
  #appointmentsMain > .um-header .um-header__actions,
  #userManagementMain > .um-header .um-header__actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #adminDashboardMain > .um-header .um-header__actions-row,
  #appointmentsMain > .um-header .um-header__actions-row,
  #userManagementMain > .um-header .um-header__actions-row {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  #adminDashboardMain > .um-header .um-header__actions-row,
  #appointmentsMain > .um-header .um-header__actions-row,
  #userManagementMain > .um-header .um-header__actions-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #adminDashboardMain > .um-header .um-header__actions-row .um-btn,
  #appointmentsMain > .um-header .um-header__actions-row .um-btn,
  #userManagementMain > .um-header .um-header__actions-row .um-btn {
    min-width: 0;
    white-space: normal;
  }
}

@media (min-width: 1025px) {
  .admin-inventory-main {
    padding: 0;
  }

  .admin-inventory-main > .inventory-header {
    min-height: 72px;
    padding: 0 28px;
  }
}

.admin-inventory-main .summary-cards {
  padding-top: 12px;
  padding-bottom: 12px;
}

.admin-inventory-main .summary-card {
  min-height: 72px;
  padding: 11px 14px;
}

.admin-inventory-main .summary-value {
  font-size: 25px;
}

/* Batch invoice upload */
body.inventory-officer-page {
  display: block;
  height: auto;
}

body.inventory-officer-page > main.inventory-page {
  display: block;
  flex: initial;
}

.batch-upload-modal[hidden],
.batch-review-section[hidden],
.batch-preview-wrap[hidden],
.batch-preview-actions[hidden],
.batch-raw-text[hidden] {
  display: none;
}

.batch-upload-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 28, 24, 0.58);
}

.batch-upload-dialog {
  width: min(100%, 1080px);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid #e7ddc9;
  border-radius: 14px;
  background: #fff;
  color: #201c18;
  box-shadow: 0 20px 60px rgba(32, 28, 24, 0.24);
}

.batch-upload-heading,
.batch-review-heading,
.batch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.batch-upload-heading h2 {
  font-size: 22px;
  font-weight: 600;
}

.batch-upload-close,
.batch-row-delete {
  border: 0;
  background: transparent;
  color: #5a3a1e;
  font-size: 20px;
}

.batch-upload-help {
  margin: 8px 0 16px;
  color: #756c62;
  font-size: 14px;
}

.batch-file-label,
.batch-input-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
}

.batch-camera-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.batch-camera-wrap {
  margin-top: 12px;
}

.batch-camera-video {
  display: block;
  width: 100%;
  max-height: 55vh;
  border-radius: 8px;
  background: #201c18;
  object-fit: contain;
}

.batch-upload-modal input,
.batch-upload-modal select {
  width: 100%;
  min-width: 90px;
  padding: 9px 10px;
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  background: #fff;
  color: #201c18;
}

.batch-preview-wrap {
  margin-top: 12px;
}

.batch-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.batch-preview-image {
  display: block;
  width: min(100%, 520px);
  max-height: 36vh;
  border: 1px solid #e7ddc9;
  border-radius: 8px;
  object-fit: contain;
}

.batch-upload-status {
  min-height: 24px;
  margin: 10px 0;
  color: #5a3a1e;
  font-size: 14px;
}

.batch-upload-status[data-error="true"] {
  color: #a52a2a;
}

.batch-review-section {
  margin-top: 16px;
}

.batch-review-heading {
  margin-bottom: 10px;
}

.batch-review-heading h3 {
  font-size: 17px;
}

.batch-table-wrap {
  overflow: auto;
  border: 1px solid #e7ddc9;
  border-radius: 8px;
}

.batch-review-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13px;
}

.batch-review-table th,
.batch-review-table td {
  padding: 9px;
  border-bottom: 1px solid #eeeae3;
  text-align: left;
  vertical-align: top;
}

.batch-review-table th {
  background: #fbf3e7;
  color: #5a3a1e;
}

.batch-review-table tr:last-child td {
  border-bottom: 0;
}

.batch-review-table .batch-row--review td {
  background: #fff5e7;
}

.batch-review-reason {
  display: block;
  margin-top: 4px;
  color: #9a4e00;
  font-size: 11px;
}

.batch-existing-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 12px;
  background: #e8f3e7;
  color: #315c32;
  font-size: 11px;
}

.batch-row-delete {
  font-size: 14px;
}

.batch-raw-text {
  margin-top: 12px;
}

.batch-raw-text pre {
  max-height: 150px;
  overflow: auto;
  padding: 10px;
  background: #f6f4f0;
  white-space: pre-wrap;
}

.batch-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.batch-action-button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #b5892a;
  border-radius: 6px;
  background: #d4a937;
  color: #201c18;
  font-weight: 600;
}

.batch-action-button.batch-secondary {
  border-color: #d3d3d3;
  background: #fff;
}

.batch-action-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.batch-toast {
  position: fixed;
  z-index: 6000;
  top: 18px;
  right: 18px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 16px;
  border-radius: 8px;
  background: #315c32;
  color: #fff;
  box-shadow: 0 8px 24px rgba(32, 28, 24, 0.2);
}

.batch-toast[data-error="true"] {
  background: #a52a2a;
}

@media (max-width: 600px) {
  .batch-upload-modal {
    padding: 8px;
  }

  .batch-upload-dialog {
    max-height: 96vh;
    padding: 16px;
  }
}

/* Public promo pop-up and notification menu */
body.homepage .announcement-popup,
body.client-header .announcement-popup {
  position: fixed;
  z-index: 5000;
  top: max(88px, calc(env(safe-area-inset-top) + 76px));
  right: clamp(16px, 3vw, 36px);
  display: grid;
  box-sizing: border-box;
  align-content: start;
  gap: 10px;
  width: min(410px, calc(100vw - 48px));
  max-height: calc(100dvh - max(104px, calc(env(safe-area-inset-top) + 92px)));
  min-height: 0;
  overflow-y: auto;
  padding: 24px 28px;
  border: 1px solid #eadfc9;
  border-left: 4px solid #c9a84c;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 18px 48px rgba(36, 31, 26, 0.2);
  color: #302a23;
  font-family: var(--font-body, "Inter", sans-serif);
  animation: announcement-pop-in 220ms ease-out both;
}

body.homepage .announcement-popup[hidden],
body.client-header .announcement-popup[hidden] {
  display: none;
}

body.homepage .announcement-popup__close,
body.client-header .announcement-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #eee6d8;
  border-radius: 50%;
  background: #fff;
  color: #71695e;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.homepage .announcement-popup__close:hover,
body.client-header .announcement-popup__close:hover {
  transform: rotate(90deg);
  background: #f6f0e4;
  color: #302a23;
}

body.homepage .announcement-popup__type,
body.client-header .announcement-popup__type {
  justify-self: start;
  max-width: calc(100% - 42px);
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7efd9;
  color: #8e6c22;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

body.homepage .announcement-popup__title,
body.client-header .announcement-popup__title {
  margin: 0;
  padding: 0;
  color: #28231e;
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

body.homepage .announcement-popup__message,
body.client-header .announcement-popup__message {
  margin: 0;
  padding: 0;
  color: #665d52;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

body.homepage .notification-dropdown,
body.client-header .notification-dropdown {
  z-index: 5001;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 32px));
  border-color: #eadfc9;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(36, 31, 26, 0.18);
}

body.homepage .notification-dropdown-header,
body.client-header .notification-dropdown-header {
  padding: 16px 18px;
  color: #302a23;
  font-size: 16px;
  font-weight: 600;
}

body.homepage .notification-list,
body.client-header .notification-list {
  max-height: min(58vh, 420px);
  padding: 4px;
}

body.homepage .notification-item--announcement,
body.client-header .notification-item--announcement {
  gap: 6px;
  padding: 14px;
  border-radius: 9px;
  color: #39332e;
  font-size: 13px;
  overflow-wrap: anywhere;
}

body.homepage .notification-item--announcement strong,
body.client-header .notification-item--announcement strong {
  color: #2d2822;
  font-size: 14px;
  line-height: 1.35;
}

body.homepage .notification-item--announcement .notification-item__message,
body.client-header .notification-item--announcement .notification-item__message {
  color: #71685d;
  font-weight: 400;
  line-height: 1.5;
}

body.homepage .notification .badge,
body.client-header .notification .badge {
  min-width: 18px;
  width: auto;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

@keyframes announcement-pop-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 8px)) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 768px) {
  body.homepage .announcement-popup,
  body.client-header .announcement-popup {
    top: max(76px, calc(env(safe-area-inset-top) + 64px));
    right: 14px;
    width: min(390px, calc(100vw - 48px));
    max-height: calc(100dvh - max(92px, calc(env(safe-area-inset-top) + 80px)));
    padding: 20px 22px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  body.homepage .announcement-popup,
  body.client-header .announcement-popup {
    top: max(70px, calc(env(safe-area-inset-top) + 58px));
    right: 12px;
    width: calc(100vw - 40px);
    max-height: calc(100dvh - max(84px, calc(env(safe-area-inset-top) + 72px)));
    gap: 8px;
    padding: 18px 18px 20px;
    border-radius: 12px;
  }

  body.homepage .announcement-popup__close,
  body.client-header .announcement-popup__close {
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
  }

  body.homepage .announcement-popup__title,
  body.client-header .announcement-popup__title {
    max-width: calc(100% - 24px);
    font-size: 22px;
  }

  body.homepage .announcement-popup__message,
  body.client-header .announcement-popup__message {
    font-size: 13px;
    line-height: 1.55;
  }

  body.homepage .notification-dropdown,
  body.client-header .notification-dropdown {
    top: max(76px, calc(env(safe-area-inset-top) + 64px));
    left: auto;
    right: 12px;
    width: min(360px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    transform: none;
  }

  body.homepage .notification-list,
  body.client-header .notification-list {
    max-height: min(55dvh, 380px);
  }
}

@media (max-width: 360px) {
  body.homepage .announcement-popup,
  body.client-header .announcement-popup {
    right: 10px;
    width: calc(100vw - 36px);
    padding: 16px;
  }

  body.homepage .notification-dropdown,
  body.client-header .notification-dropdown {
    right: 10px;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.homepage .announcement-popup,
  body.client-header .announcement-popup,
  body.homepage .announcement-popup__close,
  body.client-header .announcement-popup__close {
    animation: none;
    transition: none;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-halo {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
      circle,
      rgba(241, 229, 172, 0.38) 0%,
      rgba(212, 169, 55, 0.2) 40%,
      rgba(212, 169, 55, 0) 74%
    );
    filter: blur(12px);
    transform: translate(-200px, -200px);
    transition: opacity 250ms ease;
    will-change: transform, opacity;
  }

  .cursor-halo.is-visible {
    opacity: 0.9;
  }

  body.homepage .hero-copy .hero-letter {
    display: inline-block;
    color: color-mix(in srgb, var(--ink) calc(100% - var(--letter-light, 0%)), #B5892A var(--letter-light, 0%));
    transform: scale(var(--letter-scale, 1));
    transform-origin: center bottom;
    transition: color 180ms ease, transform 180ms ease;
  }
}

.announcement-popup-backdrop {
  position: fixed;
  z-index: 4999;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(1px);
}

.announcement-popup-backdrop[hidden] {
  display: none;
}

.announcement-popup {
  top: 50%;
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

body.homepage .announcement-popup,
body.client-header .announcement-popup {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: min(460px, calc(100vw - 36px));
  padding: 0;
  border-left: 1px solid #eadfc9;
  overflow: hidden auto;
}

body.homepage .announcement-popup__image,
body.client-header .announcement-popup__image {
  display: block;
  width: 100%;
  max-height: min(38dvh, 260px);
  object-fit: cover;
}

body.homepage .announcement-popup__content,
body.client-header .announcement-popup__content {
  display: grid;
  gap: 10px;
  padding: 26px 28px;
}

body.homepage .announcement-popup--with-image .announcement-popup__content,
body.client-header .announcement-popup--with-image .announcement-popup__content {
  padding-top: 22px;
}

body.homepage .announcement-popup__close,
body.client-header .announcement-popup__close {
  z-index: 1;
}

body.homepage .notification,
body.client-header .notification {
  border-radius: 50%;
  box-sizing: border-box;
}

body.homepage .halo-toggle .theme-toggle-icon {
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

body.homepage .halo-toggle[aria-pressed="true"] {
  background-color: rgb(201, 168, 76);
}

body.homepage .halo-toggle[aria-pressed="true"] .theme-toggle-icon {
  opacity: 1;
}

body.halo-off .cursor-halo {
  display: none;
}

/* Admin pages: cohesive phone layout */
@media (max-width: 640px) {
  #adminDashboardMain,
  #appointmentsMain,
  #userManagementMain,
  .inquiries-main,
  #contentManagementMain {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 72px 16px 28px;
    overflow: visible;
    background: #f7f5f0;
  }

  #adminDashboardMain > .um-header,
  #appointmentsMain > .um-header,
  #userManagementMain > .um-header,
  .inquiries-main > .um-header,
  #contentManagementMain > .um-header {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  #adminDashboardMain > .um-header > div:first-child,
  #appointmentsMain > .um-header > div:first-child,
  #userManagementMain > .um-header > div:first-child,
  .inquiries-main > .um-header > div:first-child,
  #contentManagementMain > .um-header > div:first-child {
    order: 0;
    min-width: 0;
  }

  #adminDashboardMain .um-header__title,
  #appointmentsMain .um-header__title,
  #userManagementMain .um-header__title,
  .inquiries-main .um-header__title,
  #contentManagementMain .um-header__title {
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  #adminDashboardMain .um-header__subtitle,
  #appointmentsMain .um-header__subtitle,
  #userManagementMain .um-header__subtitle,
  .inquiries-main .um-header__subtitle,
  #contentManagementMain .um-header__subtitle {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.5;
  }

  #adminDashboardMain > .um-header .um-header__actions,
  #appointmentsMain > .um-header .um-header__actions,
  #userManagementMain > .um-header .um-header__actions,
  #contentManagementMain > .um-header .um-header__actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  #adminDashboardMain > .um-header .admin-notification-wrap,
  #appointmentsMain > .um-header .admin-notification-wrap,
  #userManagementMain > .um-header .admin-notification-wrap {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 120;
  }

  #adminDashboardMain .admin-notification-btn,
  #appointmentsMain .admin-notification-btn,
  #userManagementMain .admin-notification-btn,
  .admin-inventory-main .admin-notification-btn {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: #fff;
  }

  #adminDashboardMain > .um-header .um-search,
  #appointmentsMain > .um-header .um-search,
  #userManagementMain > .um-header .um-search {
    width: 100%;
    height: 44px;
    margin: 0;
    border-radius: 8px;
  }

  #adminDashboardMain > .um-header .um-search input,
  #appointmentsMain > .um-header .um-search input,
  #userManagementMain > .um-header .um-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    font-size: 13px;
  }

  #adminDashboardMain .um-header__actions-row,
  #appointmentsMain .um-header__actions-row,
  #userManagementMain .um-header__actions-row,
  #contentManagementMain .um-header__actions-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #adminDashboardMain .um-header__actions-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #adminDashboardMain .um-header__actions-row .um-btn,
  #appointmentsMain .um-header__actions-row .um-btn,
  #userManagementMain .um-header__actions-row .um-btn,
  #contentManagementMain .um-header__actions-row .um-btn,
  .inquiries-main > .um-header > .um-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }

  #appointmentsMain .um-header__actions-row .um-btn:last-child {
    grid-column: 1 / -1;
  }

  #userManagementMain .um-header__actions-row .um-btn:last-child {
    grid-column: 1 / -1;
  }

  #contentManagementMain .um-header__actions-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiries-main > .um-header > .um-btn {
    order: 1;
  }

  #adminDashboardMain .um-btn--primary,
  #appointmentsMain .um-btn--primary,
  #userManagementMain .um-btn--primary,
  #contentManagementMain .um-btn--primary {
    min-height: 44px;
    background: #c9a84c;
    color: #fff;
  }

  #adminDashboardMain .um-dashboard-panel {
    min-height: 0;
    gap: 20px;
    margin-bottom: 12px;
    padding: 18px;
    border: 1px solid var(--um-border);
    border-radius: 9px;
    background: #fff;
  }

  #adminDashboardMain .um-dashboard-panel--top,
  #adminDashboardMain .um-dashboard-panel--bottom {
    height: auto;
    min-height: 140px;
  }

  #adminDashboardMain .admin-dashboard-panel__heading {
    align-items: flex-start;
    gap: 10px;
  }

  #adminDashboardMain .admin-dashboard-panel__heading h2 {
    font-size: 17px;
  }

  #adminDashboardMain .admin-dashboard-panel__marker {
    max-width: 112px;
    flex-shrink: 0;
    text-align: center;
  }

  #adminDashboardMain .um-dashboard-placeholder-text {
    margin-top: 0;
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  #appointmentsMain .apt-stats,
  #userManagementMain .um-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
  }

  #appointmentsMain .apt-stats .um-stat-card,
  #userManagementMain .um-stat-card {
    min-width: 0;
    min-height: 104px;
    padding: 12px;
    border: 1px solid var(--um-border);
    border-top: 3px solid #c9a84c;
    border-radius: 8px;
    background: #fff;
  }

  #appointmentsMain .um-stat-card__label,
  #userManagementMain .um-stat-card__label {
    max-width: calc(100% - 32px);
    font-size: 9px;
    line-height: 1.4;
  }

  #appointmentsMain .um-stat-card__value,
  #userManagementMain .um-stat-card__value {
    margin: 5px 0;
    font-size: 26px;
    line-height: 1.1;
  }

  #appointmentsMain .um-stat-card__hint,
  #userManagementMain .um-stat-card__hint {
    font-size: 10px;
    line-height: 1.4;
  }

  #appointmentsMain .apt-stat-link {
    top: 12px;
    right: 12px;
  }

  #appointmentsMain .apt-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  #appointmentsMain .apt-card,
  #appointmentsMain .apt-side-card {
    overflow: hidden;
    border-radius: 9px;
  }

  #appointmentsMain .apt-toolbar {
    align-items: stretch;
    padding: 0 12px 10px;
  }

  #appointmentsMain .apt-toolbar .um-tabs {
    width: calc(100% + 24px);
    margin: 0 -12px;
    padding: 0 12px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  #appointmentsMain .apt-toolbar .um-tab,
  #userManagementMain .um-tab,
  #contentManagementMain .um-tab {
    min-height: 42px;
    padding: 10px 12px;
    scroll-snap-align: start;
  }

  #appointmentsMain .apt-toolbar__tools {
    width: 100%;
  }

  #appointmentsMain .apt-date-range {
    width: 100%;
    min-height: 40px;
    font-size: 12px;
  }

  #appointmentsMain .apt-table-wrap {
    overflow: visible;
    padding: 10px;
  }

  #appointmentsMain .apt-table,
  #appointmentsMain .apt-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #appointmentsMain .apt-table thead {
    display: none;
  }

  #appointmentsMain .apt-table tbody tr.apt-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--um-border);
    border-radius: 8px;
    background: #fff;
  }

  #appointmentsMain .apt-table tbody tr.apt-row:last-child {
    margin-bottom: 0;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    content: "";
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(1)::before { content: "Reference"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(2)::before { content: "Client"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(3)::before { content: "Service"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(4)::before { content: "Date & time"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(5)::before { content: "Assigned to"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(6)::before { content: "Status"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(7)::before { content: "Actions"; }
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(2),
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(5),
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(7) {
    grid-column: 1 / -1;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(6) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    text-align: right;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(6)::before {
    text-align: right;
  }

  #appointmentsMain .apt-actions {
    gap: 18px;
  }

  #appointmentsMain .apt-actions .apt-action {
    min-height: 36px;
    font-size: 12px;
  }

  #appointmentsMain .apt-card .um-table-footer,
  #userManagementMain .um-table-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  #appointmentsMain .apt-side {
    gap: 12px;
  }

  #appointmentsMain .apt-side-head {
    padding: 13px 15px;
  }

  #userManagementMain .um-tabs {
    margin: 0 -16px 8px;
    padding: 0 16px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  #userManagementMain #umTableSearchSlot {
    margin: 0 0 10px;
  }

  #userManagementMain #umSearchControl {
    margin: 0;
  }

  #userManagementMain .um-table-wrap {
    overflow: visible;
    border: 1px solid var(--um-border);
    border-radius: 9px;
    background: transparent;
  }

  #userManagementMain .um-table,
  #userManagementMain .um-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #userManagementMain .um-table thead {
    display: none;
  }

  #userManagementMain .um-table tbody tr[data-id] {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 7px 8px;
    margin: 0;
    padding: 13px 12px;
    border-bottom: 1px solid var(--um-border);
    background: #fff;
  }

  #userManagementMain .um-table tbody tr[data-id]:last-child {
    border-bottom: 0;
  }

  #userManagementMain .um-table tbody tr[data-id] td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 11px;
    white-space: normal;
  }

  #userManagementMain .um-table tbody tr[data-id] td:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    padding-top: 4px;
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    color: var(--text-muted);
    overflow-wrap: anywhere;
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
    color: var(--text-muted);
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(5)::before {
    content: "Joined ";
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(6),
  #userManagementMain .um-table tbody tr[data-id] td:nth-child(7) {
    display: none;
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(8) {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  #userManagementMain .um-table tbody tr[data-id] td:nth-child(9) {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
  }

  #userManagementMain .um-user-cell {
    gap: 8px;
  }

  #userManagementMain .um-user-cell__name {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #userManagementMain .um-actions {
    gap: 10px;
    font-size: 11px;
  }

  .inquiries-main .inquiries-workspace {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    border: 0;
    background: transparent;
  }

  .inquiries-main .inquiries-list-panel,
  .inquiries-main .inquiry-detail {
    min-width: 0;
    border: 1px solid var(--um-border);
    border-radius: 9px;
    background: #fff;
  }

  .inquiries-main .inquiries-list-panel {
    overflow: hidden;
  }

  .inquiries-main .inquiries-list-toolbar {
    padding: 12px;
  }

  .inquiries-main .inquiries-filters {
    gap: 5px;
    margin-bottom: 10px;
  }

  .inquiries-main .inquiry-filter {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .inquiries-main .inquiries-search {
    min-height: 44px;
    border-radius: 7px;
    font-size: 13px;
  }

  .inquiries-main .inquiries-list {
    max-height: 330px;
    overscroll-behavior: contain;
  }

  .inquiries-main .inquiry-list-item {
    padding: 14px 12px;
  }

  .inquiries-main .inquiry-detail {
    min-height: 0;
    padding: 18px 16px;
  }

  #contentManagementMain .cm-card {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    border-radius: 9px;
  }

  #contentManagementMain .cm-card .um-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0 8px;
  }

  #contentManagementMain .cm-card .um-tab {
    min-width: 0;
    padding: 10px 7px;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  #contentManagementMain .cm-card > .cm-panel--active {
    flex: 0 0 auto;
    overflow: visible;
  }

  #contentManagementMain .cm-services-shell {
    flex: 0 0 auto;
    padding: 8px 12px 14px;
  }

  #contentManagementMain .cm-service-list,
  #contentManagementMain .cm-category-scroll {
    flex: 0 0 auto;
    overflow: visible;
  }

  #contentManagementMain .cm-service-item {
    padding: 12px;
  }

  #contentManagementMain #cmPanelTestimonials .um-table-wrap {
    overflow: visible;
  }

  #contentManagementMain #cmPanelTestimonials .um-table,
  #contentManagementMain #cmPanelTestimonials .um-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #contentManagementMain #cmPanelTestimonials .um-table thead {
    display: none;
  }

  #contentManagementMain #cmPanelTestimonials .um-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 14px;
    border-bottom: 1px solid var(--um-border);
  }

  #contentManagementMain #cmPanelTestimonials .um-table tbody td {
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  #contentManagementMain #cmPanelTestimonials .um-table tbody td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--text-muted);
    content: "";
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(1)::before { content: "Client"; }
  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(2)::before { content: "Service"; }
  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(3)::before { content: "Rating"; }
  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(4)::before { content: "Feedback"; }
  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(5)::before { content: "Status"; }
  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(4),
  #contentManagementMain #cmPanelTestimonials .um-table tbody td:nth-child(6) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  #adminDashboardMain,
  #appointmentsMain,
  #userManagementMain,
  .inquiries-main,
  #contentManagementMain {
    padding-right: 12px;
    padding-left: 12px;
  }

  #appointmentsMain .apt-stats,
  #userManagementMain .um-stats {
    gap: 8px;
  }

  #adminDashboardMain > .um-header .admin-notification-wrap,
  #appointmentsMain > .um-header .admin-notification-wrap,
  #userManagementMain > .um-header .admin-notification-wrap {
    right: 12px;
  }
}

#adminDashboardMain > .um-header {
  margin-bottom: 14px;
}

#adminDashboardMain {
  background: #f7f5f0;
}

#adminDashboardMain .um-header__title {
  color: #292621;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}

#adminDashboardMain .um-header__subtitle {
  margin-top: 6px;
  color: #80796f;
  font-size: 12px;
}

#adminDashboardMain > .um-header .admin-notification-btn {
  width: 40px;
  height: 40px;
  border-color: #e7e1d7;
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

#adminDashboardMain > .um-header .admin-notification-btn:hover {
  border-color: #d8c89f;
  background: #fffdf8;
  box-shadow: 0 3px 10px rgba(65, 49, 29, .07);
}

@media (min-width: 641px) {
  #adminDashboardMain > .um-header {
    height: 72px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--um-border);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  #adminDashboardMain > .um-header > div:first-child {
    padding-block: 8px;
  }
}

#adminDashboardMain > .um-header .um-header__actions {
  justify-content: flex-end;
}

.admin-dashboard-section {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e9e4da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(43, 36, 28, .035);
}

.admin-dashboard-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-dashboard-section__heading h2 {
  margin: 0;
  color: #302c26;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.admin-dashboard-section__link {
  flex-shrink: 0;
  color: #8c6d2c;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.admin-dashboard-section__link:hover {
  text-decoration: underline;
}

.admin-dashboard-panel__eyebrow {
  margin: 0 0 5px;
  color: var(--gold-dark-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
}

.admin-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-dashboard-stat {
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 128px;
  padding: 16px;
  border: 1px solid #eae5dc;
  border-left: 3px solid #c9a84c;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff 0%, #fffefa 100%);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admin-dashboard-stat:hover {
  border-color: #ded4bd;
  box-shadow: 0 5px 14px rgba(80, 58, 35, .07);
  transform: translateY(-1px);
}

.admin-dashboard-stat:focus-visible {
  outline: 3px solid #3977b8;
  outline-offset: 2px;
}

.admin-dashboard-stat__top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.admin-dashboard-stat__label {
  max-width: 132px;
  color: #716b62;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.admin-dashboard-stat__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
}

.admin-dashboard-stat__icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.admin-dashboard-stat--appointments {
  border-left-color: #c9a84c;
}

.admin-dashboard-stat--appointments .admin-dashboard-stat__icon {
  background: #f6f0e2;
}

.admin-dashboard-stat--requests {
  border-left-color: #c18a47;
}

.admin-dashboard-stat--requests .admin-dashboard-stat__icon {
  background: #fbf0df;
}

.admin-dashboard-stat--users {
  border-left-color: #829894;
}

.admin-dashboard-stat--users .admin-dashboard-stat__icon {
  background: #edf3f1;
}

.admin-dashboard-stat strong {
  margin: 4px 0;
  color: #72591f;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.admin-dashboard-stat--requests strong {
  color: #a96f2d;
}

.admin-dashboard-stat--users strong {
  color: #536c67;
}

.admin-dashboard-stat__hint {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #81786b;
  font-size: 10px;
  line-height: 1.4;
}

.admin-dashboard-stat__hint img {
  display: block;
  width: 13px;
  height: 13px;
  opacity: .55;
  transition: transform .18s ease;
}

.admin-dashboard-stat:hover .admin-dashboard-stat__hint img {
  transform: translateX(2px);
}

.admin-dashboard-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, .95fr);
  align-items: stretch;
  gap: 16px;
  margin: 0 0 24px;
}

.admin-dashboard-overview-grid > .admin-dashboard-section {
  min-height: 224px;
}

.admin-dashboard-overview-grid .admin-dashboard-stats {
  margin-bottom: 0;
}

.admin-dashboard-section--critical-stock {
  box-sizing: border-box;
  height: 240px;
  max-height: 240px;
}

.admin-dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-dashboard-section--recent {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  min-height: 480px;
  max-height: 560px;
  flex-direction: column;
  overflow: hidden;
}

.admin-dashboard-section--recent .admin-dashboard-section__heading {
  flex: 0 0 auto;
}

.admin-dashboard-activity {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.admin-dashboard-section--schedule {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  overflow: hidden;
}

.admin-dashboard-section--schedule .admin-dashboard-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.admin-dashboard-section--attention {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  min-height: 190px;
}

.admin-dashboard-section--attention-active {
  border-color: #edc9c1;
  background: linear-gradient(145deg, #fffaf8 0%, #fff 100%);
  box-shadow: 0 4px 14px rgba(160, 49, 40, .065);
}

.admin-dashboard-attention__signal {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 5px;
  border: 1px solid #f1c5bb;
  border-radius: 999px;
  background: #fff0ed;
  color: #9f3028;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-dashboard-attention__signal[hidden] {
  display: none;
}

.admin-dashboard-attention__signal > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #c83e35;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.admin-dashboard-attention__items,
.admin-dashboard-list__items {
  display: grid;
}

.admin-dashboard-attention__items {
  gap: 8px;
}

.admin-dashboard-attention-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid #f0ede7;
  color: inherit;
  text-decoration: none;
}

.admin-dashboard-attention-item:first-child,
.admin-dashboard-schedule-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-dashboard-attention-item:last-child,
.admin-dashboard-schedule-item:last-child {
  padding-bottom: 0;
}

.admin-dashboard-section--attention .admin-dashboard-attention-item {
  border: 1px solid #eeeae3;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.admin-dashboard-section--attention .admin-dashboard-attention-item:first-child,
.admin-dashboard-section--attention .admin-dashboard-attention-item:last-child {
  padding-block: 10px;
}

.admin-dashboard-section--attention .admin-dashboard-attention-item--urgent {
  border-color: #efd3cb;
  background: #fffaf8;
}

.admin-dashboard-attention-item__details,
.admin-dashboard-activity-item__details,
.admin-dashboard-schedule-item__details {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-dashboard-attention-item__details strong,
.admin-dashboard-activity-item__details strong,
.admin-dashboard-schedule-item__details strong {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.admin-dashboard-attention-item__details span,
.admin-dashboard-activity-item__details > span:last-child,
.admin-dashboard-schedule-item__details > span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-dashboard-attention-item__count {
  display: grid;
  flex: 0 0 auto;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f4f0e5;
  color: #8a6e2f;
  font-size: 12px;
  font-weight: 600;
}

.admin-dashboard-attention-item--urgent .admin-dashboard-attention-item__count {
  background: #fae8e4;
  color: #a23c32;
}

.admin-dashboard-attention-item--error .admin-dashboard-attention-item__count {
  background: #f0ede7;
  color: var(--text-muted);
  font-size: 9px;
}

.admin-dashboard-list__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-dashboard-schedule-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid #f0ede7;
}

.admin-dashboard-schedule-item__time {
  color: #8a6e2f;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-dashboard-status {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f0ec;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 500;
  text-align: center;
  text-transform: capitalize;
  white-space: nowrap;
}

.admin-dashboard-status--confirmed,
.admin-dashboard-status--completed {
  background: var(--um-status-active-bg);
  color: var(--um-status-active);
}

.admin-dashboard-status--in-progress {
  background: var(--um-role-staff-bg);
  color: var(--um-role-doctor);
}

.admin-dashboard-status--cancelled,
.admin-dashboard-status--no-show {
  background: var(--um-status-suspended-bg);
  color: var(--um-status-suspended);
}

.admin-dashboard-activity-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-bottom: 1px solid #f0ede7;
  color: inherit;
  text-decoration: none;
  transition: background-color .16s ease;
}

.admin-dashboard-activity-item:last-child {
  border-bottom: 0;
}

.admin-dashboard-activity-item:hover {
  border-radius: 7px;
  background: #fbf9f5;
}

.admin-dashboard-activity-item:hover .admin-dashboard-activity-item__details strong {
  color: #755a22;
}

.admin-dashboard-activity-item__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #eee9df;
  border-radius: 9px;
  background: #faf8f3;
}

.admin-dashboard-activity-item__icon img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.admin-dashboard-activity-item__type {
  color: #8c6d2c;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-dashboard-activity-item__details strong {
  font-size: 12px;
}

.admin-dashboard-activity-item time {
  justify-self: end;
  color: var(--text-muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.admin-dashboard-state,
.admin-dashboard-list__note {
  margin: 0;
  padding: 12px 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.admin-dashboard-state--error {
  color: #9b2626;
}

.admin-dashboard-empty-state {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #e9e4da;
  border-radius: 9px;
  background: #fcfbf8;
}

.admin-dashboard-empty-state > img {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: #f4efe3;
  object-fit: contain;
}

.admin-dashboard-empty-state__details {
  display: grid;
  gap: 4px;
}

.admin-dashboard-empty-state__details strong {
  color: #49443c;
  font-size: 12px;
  font-weight: 500;
}

.admin-dashboard-empty-state__details span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
}

.admin-dashboard-section--critical-stock {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.admin-dashboard-critical-stock__heading {
  min-width: 0;
}

.admin-dashboard-critical-stock__summary {
  margin: -6px 0 10px;
  color: var(--text-muted);
  font-size: 11px;
}

.admin-dashboard-critical-stock__summary strong {
  color: #9a762c;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.admin-dashboard-critical-stock__summary--urgent strong {
  color: #a8322b;
}

.admin-dashboard-critical-stock__summary--warning strong {
  color: #a9742d;
}

.admin-dashboard-critical-stock__icon {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #c18a47;
  box-shadow: 0 0 0 4px #fbf0df;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.admin-dashboard-critical-stock__icon--urgent {
  background: #c83e35;
  box-shadow: 0 0 0 4px #fae6e2;
}

.admin-dashboard-critical-stock__icon--warning {
  background: #c18a47;
  box-shadow: 0 0 0 4px #fbf0df;
}

.admin-dashboard-critical-stock__icon[hidden] {
  display: none;
}

.admin-dashboard-critical-stock__list {
  box-sizing: border-box;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.admin-dashboard-critical-stock__items {
  display: grid;
  margin: 0;
  padding: 0 5px 0 0;
  list-style: none;
}

.admin-dashboard-critical-stock__item {
  border-top: 1px solid #f0ede7;
}

.admin-dashboard-critical-stock__item a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px;
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease;
}

.admin-dashboard-critical-stock__item a:hover {
  background: #fcfaf6;
}

.admin-dashboard-critical-stock__item a:hover strong {
  color: #755a22;
}

.admin-dashboard-critical-stock__details {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-dashboard-critical-stock__details strong {
  overflow: hidden;
  color: #332f29;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dashboard-critical-stock__details > span {
  color: #81796e;
  font-size: 10px;
}

.admin-dashboard-critical-stock__status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fbf2df;
  color: #85651e;
  font-size: 9px;
  font-weight: 600;
}

.admin-dashboard-critical-stock__item--urgent .admin-dashboard-critical-stock__status {
  background: #fae6e2;
  color: #a42f28;
}

.admin-dashboard-critical-stock__status--urgent {
  border: 1px solid #efd0c9;
}

.admin-dashboard-section--critical-stock > .admin-dashboard-section__link {
  align-self: flex-start;
  margin-top: 8px;
  color: #8a6e2f;
  font-weight: 500;
}

.admin-dashboard-section__link:focus-visible,
.admin-dashboard-attention-item:focus-visible,
.admin-dashboard-critical-stock__item a:focus-visible {
  outline: 3px solid #3977b8;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .admin-dashboard-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-content-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .admin-dashboard-section--recent {
    grid-column: auto;
    grid-row: auto;
    min-height: 400px;
    max-height: 464px;
  }

  .admin-dashboard-section--schedule,
  .admin-dashboard-section--attention {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  #adminDashboardMain > .um-header {
    margin-bottom: 12px;
  }

  .admin-dashboard-section {
    padding: 16px;
    border-radius: 11px;
  }

  .admin-dashboard-section__heading {
    margin-bottom: 13px;
  }

  .admin-dashboard-section__heading h2 {
    font-size: 16px;
  }

  #adminDashboardMain .um-header__title {
    font-size: clamp(20px, 6vw, 24px);
  }

  .admin-dashboard-stats {
    gap: 9px;
    margin-bottom: 12px;
  }

  .admin-dashboard-stat {
    min-height: 104px;
    padding: 12px;
  }

  .admin-dashboard-stat strong {
    font-size: 28px;
  }

  .admin-dashboard-overview-grid {
    gap: 12px;
    margin-bottom: 20px;
  }

  .admin-dashboard-section--critical-stock {
    height: 240px;
    max-height: 240px;
  }

  .admin-dashboard-content-grid {
    gap: 16px;
    margin-bottom: 12px;
  }

  .admin-dashboard-section--recent {
    min-height: 360px;
    max-height: 424px;
  }

  .admin-dashboard-schedule-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
  }

  .admin-dashboard-schedule-item .admin-dashboard-status {
    grid-column: 2;
    justify-self: start;
  }

  .admin-dashboard-activity-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 4px;
  }

  .admin-dashboard-activity-item time {
    grid-column: 2;
    justify-self: start;
    max-width: none;
    text-align: left;
  }
}

@media (min-width: 641px) {
  #adminDashboardMain {
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
}

@media (max-width: 640px) {
  #adminDashboardMain {
    height: auto;
    overflow-y: visible;
  }
}

/* checking */

/* Homepage featured services */
body.homepage .homepage-service-panels-section {
  --homepage-service-image: url("images/secondSectionBackground.webp");
  --homepage-service-image-tint: rgba(251, 243, 231, .16);
  position: relative;
  isolation: isolate;
  background-color: var(--cream);
}

body.homepage .homepage-service-panels-section::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(var(--homepage-service-image-tint), var(--homepage-service-image-tint)),
    var(--homepage-service-image);
  background-position: center 56%;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

body.homepage.customer-theme-dark .homepage-service-panels-section {
  --homepage-service-image: url("images/darkModeSecondSectionBackground.webp");
  --homepage-service-image-tint: rgba(24, 26, 25, .16);
}

body.homepage .hero.hero-scrolly > .homepage-service-panels-section::before {
  opacity: 0;
  transition: opacity 1.35s ease;
}

body.homepage .hero.hero-scrolly > .homepage-service-panels-section.is-background-visible::before {
  opacity: 1;
}

body.homepage .homepage-service-panels-section::after {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  content: "";
  background: linear-gradient(180deg, rgba(251, 243, 231, .9) 0%, rgba(251, 243, 231, .48) 40%, rgba(251, 243, 231, 0) 100%);
  clip-path: ellipse(120% 100% at 50% 0%);
  pointer-events: none;
}

body.homepage.customer-theme-dark .homepage-service-panels-section::after {
  background: none;
}

body.homepage .homepage-service-panels {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(52px, 8vh, 88px) 0 clamp(32px, 5vh, 56px);
  overflow: hidden;
  background: transparent;
}

body.homepage .homepage-service-panels__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  width: min(1560px, calc(100% - clamp(40px, 9.2vw, 160px)));
  margin: 0 auto clamp(30px, 4vh, 44px);
  padding-bottom: clamp(20px, 2.8vh, 28px);
  text-align: left;
}

body.homepage .homepage-service-panels__header::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 88px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold-dark), rgba(181, 137, 42, .2));
}

body.homepage .homepage-service-panels__header h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", var(--font-display);
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
}

body.homepage .homepage-service-panels__intro p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  line-height: 1.65;
}

body.homepage .homepage-service-panels__explore {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: clamp(12px, 1.4vw, 20px);
  padding: 10px 0 10px 12px;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: clamp(.62rem, .72vw, .72rem);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-align: right;
  text-decoration: none;
  transition: color .25s ease;
}

body.homepage .homepage-service-panels__explore:hover,
body.homepage .homepage-service-panels__explore:focus-visible {
  color: var(--espresso);
}

body.homepage .homepage-service-panels__explore-arrow {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(181, 137, 42, .62);
  border-radius: 50%;
  color: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

body.homepage .homepage-service-panels__explore:hover .homepage-service-panels__explore-arrow,
body.homepage .homepage-service-panels__explore:focus-visible .homepage-service-panels__explore-arrow {
  background: var(--gold-dark);
  color: #fff;
  transform: translateX(2px);
}

body.homepage .homepage-service-panels__grid {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 0;
  padding-inline: 0;
}

body.homepage .homepage-service-panel {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  min-height: clamp(340px, 49vh, 510px);
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .4);
  border-radius: 0;
  background: #34291f;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 12px 34px rgba(54, 40, 25, .10);
  transition: flex-grow .65s cubic-bezier(.22, .61, .36, 1), min-height .45s cubic-bezier(.22, .61, .36, 1), border-color .35s ease, box-shadow .35s ease;
}

body.homepage .homepage-service-panel:last-child {
  border-right: 0;
}

body.homepage .hero.hero-static > .homepage-service-panels-section,
body.homepage .hero.hero-scrolly > .homepage-service-panels-section {
  background-color: var(--cream);
}

body.homepage .homepage-service-panel::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(28, 22, 17, .02) 12%, rgba(28, 22, 17, .12) 36%, rgba(28, 22, 17, .88) 100%);
  transition: background-color .4s ease;
}

body.homepage .homepage-service-panel > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .9s cubic-bezier(.22, .61, .36, 1), filter .45s ease;
}

body.homepage .homepage-service-panel__content {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 2.1vw, 30px);
}

body.homepage .homepage-service-panel__number {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #efd381;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

body.homepage .homepage-service-panel__number::after {
  width: 28px;
  height: 1px;
  content: "";
  background: rgba(239, 211, 129, .7);
}

body.homepage .homepage-service-panel__title {
  color: #fff;
  font-family: "Playfair Display", var(--font-display);
  font-size: clamp(1.2rem, 1.75vw, 1.8rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

body.homepage .homepage-service-panel__description {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transition: max-height .5s ease, margin-top .4s ease, opacity .3s ease;
}

body.homepage .homepage-service-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: #efd381;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  opacity: 0;
  transition: max-height .4s ease, margin-top .4s ease, opacity .3s ease, color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.homepage .homepage-service-panel:hover,
  body.homepage .homepage-service-panel:focus-visible {
    min-height: clamp(370px, 51vh, 530px);
    border-color: rgba(212, 169, 55, .9);
    box-shadow: 0 18px 42px rgba(54, 40, 25, .2);
  }

  body.homepage .homepage-service-panel:hover > img,
  body.homepage .homepage-service-panel:focus-visible > img {
    filter: saturate(1.04);
    transform: scale(1.055);
  }

  body.homepage .homepage-service-panel:hover .homepage-service-panel__description,
  body.homepage .homepage-service-panel:focus-visible .homepage-service-panel__description,
  body.homepage .homepage-service-panel:hover .homepage-service-panel__link,
  body.homepage .homepage-service-panel:focus-visible .homepage-service-panel__link {
    max-height: 180px;
    opacity: 1;
  }

  body.homepage .homepage-service-panel:hover .homepage-service-panel__description,
  body.homepage .homepage-service-panel:focus-visible .homepage-service-panel__description {
    margin-top: 12px;
  }

  body.homepage .homepage-service-panel:hover .homepage-service-panel__link,
  body.homepage .homepage-service-panel:focus-visible .homepage-service-panel__link {
    margin-top: 18px;
  }

  body.homepage .homepage-service-panel__link:hover {
    color: #fff;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.homepage .homepage-service-panels__grid:hover .homepage-service-panel:not(:hover):not(:focus-visible),
  body.homepage .homepage-service-panels__grid:focus-within .homepage-service-panel:not(:focus-visible) {
    flex-grow: .78;
  }

  body.homepage .homepage-service-panel:hover,
  body.homepage .homepage-service-panel:focus-visible {
    flex-grow: 1.65;
  }
}

@media (max-width: 900px) {
  body.homepage .homepage-service-panels__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  body.homepage .homepage-service-panel {
    min-height: clamp(290px, 40vw, 400px);
  }

  body.homepage .homepage-service-panel:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .4);
  }

  body.homepage .homepage-service-panel:nth-child(even) {
    border-right: 0;
  }

  body.homepage .homepage-service-panel:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .4);
  }
}

@media (max-width: 520px) {
  body.homepage .homepage-service-panels {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 36px;
  }

  body.homepage .homepage-service-panels__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: calc(100% - 40px);
    margin-bottom: 24px;
    padding-bottom: 17px;
  }

  body.homepage .homepage-service-panels__header h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  body.homepage .homepage-service-panels__intro p {
    max-width: 36rem;
    margin-top: 10px;
    font-size: .88rem;
  }

  body.homepage .homepage-service-panels__explore {
    justify-self: end;
    padding-left: 0;
    text-align: right;
  }

  body.homepage .homepage-service-panels__explore-arrow {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  body.homepage .homepage-service-panels__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.homepage .homepage-service-panel {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
  }

  body.homepage .homepage-service-panel:last-child {
    border-bottom: 0;
  }

  body.homepage .homepage-service-panels-section {
    background-position: center 62%;
  }

  body.homepage .homepage-service-panel__content {
    padding: 22px;
  }

  body.homepage .homepage-service-panel__title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
}

@media (max-height: 620px) and (min-width: 701px) {
  body.homepage .hero.hero-scrolly .homepage-service-panels__header {
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__intro p {
    margin-top: 8px;
    font-size: .8rem;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__explore {
    gap: 10px;
    font-size: .6rem;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__explore-arrow {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
}

@media (hover: none), (pointer: coarse) {
  body.homepage .homepage-service-panel::before {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 9px;
    border: 1px solid rgba(239, 211, 129, .62);
    color: #fff4d1;
    content: "TAP TO DISCOVER";
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    opacity: .9;
    transition: opacity .25s ease;
  }

  body.homepage .homepage-service-panel.is-expanded::before {
    opacity: 0;
  }

  body.homepage .homepage-service-panel.is-expanded {
    min-height: clamp(350px, 72vw, 440px);
    border-color: rgba(212, 169, 55, .9);
    box-shadow: 0 18px 42px rgba(54, 40, 25, .2);
  }

  body.homepage .homepage-service-panel.is-expanded .homepage-service-panel__description,
  body.homepage .homepage-service-panel.is-expanded .homepage-service-panel__link {
    max-height: 180px;
    opacity: 1;
  }

  body.homepage .homepage-service-panel.is-expanded .homepage-service-panel__description {
    margin-top: 12px;
  }

  body.homepage .homepage-service-panel.is-expanded .homepage-service-panel__link {
    margin-top: 18px;
  }
}

@media (max-height: 620px) and (min-width: 701px) {
  body.homepage .hero.hero-scrolly .homepage-service-panels {
    padding-top: 48px;
    padding-bottom: 20px;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__header {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  body.homepage .hero.hero-scrolly .homepage-service-panels__header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }

  body.homepage .hero.hero-scrolly .homepage-service-panel {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.homepage .homepage-service-panels__explore,
  body.homepage .homepage-service-panels__explore-arrow,
  body.homepage .homepage-service-panel,
  body.homepage .homepage-service-panel > img,
  body.homepage .homepage-service-panel::before,
  body.homepage .homepage-service-panel::after,
  body.homepage .homepage-service-panel__description,
  body.homepage .homepage-service-panel__link {
    transition: none;
  }
}

body.homepage .treatments-section {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding: clamp(64px, 8vw, 104px) 0;
  overflow: hidden;
  background: #C9A84C;
  background-image:
    radial-gradient(ellipse at 50% 46%, rgba(255, 247, 216, .08), transparent 56%),
    radial-gradient(ellipse at center, transparent 52%, rgba(91, 67, 18, .12) 100%);
}

body.homepage .treatments-section::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23765A1C' stroke-width='.9' opacity='.62'%3E%3Cpath d='M-110 95C80 150 115 300 30 455S-20 735 115 930'/%3E%3Cpath d='M-82 120C95 180 135 325 55 480S10 750 145 950'/%3E%3Cpath d='M-55 145C120 210 160 355 82 510S45 770 175 970'/%3E%3Cpath d='M-28 170C145 235 185 380 108 535S72 790 205 990'/%3E%3Cpath d='M1550 90C1360 155 1325 305 1410 465S1460 745 1325 940'/%3E%3Cpath d='M1522 118C1345 185 1305 330 1385 490S1435 760 1300 960'/%3E%3Cpath d='M1495 145C1320 215 1280 360 1358 515S1400 780 1270 980'/%3E%3Cpath d='M1468 172C1295 245 1255 390 1332 540S1365 800 1235 1000'/%3E%3C/g%3E%3Cg fill='none' stroke='%23765A1C' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(365 475) rotate(-13) scale(.72)' opacity='.38'%3E%3Cpath d='M0 0C-3-9-14-14-18-7-21-1-13 3-2 3-11 5-15 11-10 14-5 17-1 10 0 4 1 10 5 17 10 14 15 11 11 5 2 3 13 3 21-1 18-7 14-14 3-9 0 0ZM0 0V17M-3-4-7-9M3-4 7-9'/%3E%3C/g%3E%3Cg transform='translate(555 520) rotate(9) scale(.52)' opacity='.28'%3E%3Cpath d='M0 0C-3-9-14-14-18-7-21-1-13 3-2 3-11 5-15 11-10 14-5 17-1 10 0 4 1 10 5 17 10 14 15 11 11 5 2 3 13 3 21-1 18-7 14-14 3-9 0 0ZM0 0V17M-3-4-7-9M3-4 7-9'/%3E%3C/g%3E%3Cg transform='translate(832 485) rotate(-6) scale(.62)' opacity='.32'%3E%3Cpath d='M0 0C-3-9-14-14-18-7-21-1-13 3-2 3-11 5-15 11-10 14-5 17-1 10 0 4 1 10 5 17 10 14 15 11 11 5 2 3 13 3 21-1 18-7 14-14 3-9 0 0ZM0 0V17M-3-4-7-9M3-4 7-9'/%3E%3C/g%3E%3Cg transform='translate(1055 535) rotate(16) scale(.48)' opacity='.25'%3E%3Cpath d='M0 0C-3-9-14-14-18-7-21-1-13 3-2 3-11 5-15 11-10 14-5 17-1 10 0 4 1 10 5 17 10 14 15 11 11 5 2 3 13 3 21-1 18-7 14-14 3-9 0 0ZM0 0V17M-3-4-7-9M3-4 7-9'/%3E%3C/g%3E%3Cg transform='translate(715 565) rotate(-18) scale(.4)' opacity='.22'%3E%3Cpath d='M0 0C-3-9-14-14-18-7-21-1-13 3-2 3-11 5-15 11-10 14-5 17-1 10 0 4 1 10 5 17 10 14 15 11 11 5 2 3 13 3 21-1 18-7 14-14 3-9 0 0ZM0 0V17M-3-4-7-9M3-4 7-9'/%3E%3C/g%3E%3C/g%3E%3Cg fill='none' stroke='%23FFF3C4' stroke-width='1' opacity='.34'%3E%3Cpath d='M286 335l5 12 12 5-12 5-5 12-5-12-12-5 12-5z'/%3E%3Cpath d='M1125 370l4 9 9 4-9 4-4 9-4-9-9-4 9-4z'/%3E%3Cpath d='M720 585l3 7 7 3-7 3-3 7-3-7-7-3 7-3z'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
  content: "";
  opacity: .3;
  pointer-events: none;
}

body.homepage .treatments-section__side-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .8;
  pointer-events: none;
}

body.homepage .treatments-section > .treatments-section__header,
body.homepage .treatments-section > .appointment-process,
body.homepage .treatments-section > .treatments-section__cta,
body.homepage .treatments-section > .treatments-carousel-wrap {
  position: relative;
  z-index: 1;
}

body.homepage .treatments-section__butterflies {
  position: absolute;
  z-index: 2;
  top: -62px;
  left: 50%;
  width: min(320px, 54vw);
  height: 52px;
  color: rgba(112, 83, 20, .78);
  pointer-events: none;
  transform: translateX(-50%);
}

body.homepage .treatments-section__header {
  margin: 0 5vw clamp(18px, 2.5vw, 34px);
}

body.homepage .treatments-section .eyebrow-line {
  color: #8a6d1f;
}

body.homepage .treatments-section .eyebrow-line .dash {
  background-color: #8a6d1f;
}

body.homepage .treatments-section .treatments-heading {
  white-space: normal;
  text-align: center;
}

body.homepage .treatments-section__header {
  text-align: center;
}

body.homepage .treatments-section .treatments-heading .accent {
  color: #fff;
}

body.homepage .treatments-section .treatments-carousel {
  -webkit-mask-image: none;
  mask-image: none;
}

@media (min-width: 701px) {
  body.homepage .treatments-section .treatments-carousel-wrap {
    margin-top: clamp(14px, 2vh, 22px);
  }

  body.homepage .treatments-section .treatments-track {
    gap: 24px;
  }

  body.homepage .treatments-section .treatment-card {
    flex-basis: clamp(240px, 21vw, 320px);
    width: clamp(240px, 21vw, 320px);
    height: clamp(220px, calc(100svh - 560px), 400px);
  }

  body.homepage .treatments-section .carousel-nav {
    top: 38%;
  }

  body.homepage .treatments-section .carousel-nav--prev { left: 38px; }
  body.homepage .treatments-section .carousel-nav--next { right: 38px; }
}

@media (max-width: 700px) {
  body.homepage .treatments-section {
    padding: 60px 0 72px;
  }

  body.homepage .treatments-section__butterflies {
    top: -56px;
    width: min(280px, 68vw);
  }

  body.homepage .treatments-section__header {
    margin-inline: 24px;
  }

  body.homepage .treatments-section .treatments-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 24px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
  }

  body.homepage .treatments-section .treatments-track {
    transform: none;
    animation: none;
    will-change: auto;
  }

  body.homepage .treatments-section .treatments-track-dupe {
    display: none;
  }

  body.homepage .treatments-section .treatment-card {
    scroll-snap-align: start;
  }
}

/* Appointment process timeline (inside Treatments, above the carousel) */
body.homepage .appointment-process {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  margin: 0 5vw clamp(12px, 1.6vh, 20px);
  padding: clamp(18px, 2.6vh, 28px) clamp(16px, 3vw, 40px);
  background: none;
}

body.homepage .appointment-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.homepage .appointment-process__steps::before {
  position: absolute;
  top: 22px;
  right: 12.5%;
  left: 12.5%;
  height: 1.5px;
  content: "";
  background: linear-gradient(90deg, rgba(112, 83, 20, .58), rgba(255, 243, 196, .96), rgba(112, 83, 20, .58));
  transition: filter .3s ease, opacity .3s ease;
}

body.homepage .appointment-process__step {
  position: relative;
  min-width: 0;
  text-align: center;
  transition: transform .32s cubic-bezier(.2, .75, .25, 1), filter .32s ease;
}

body.homepage .appointment-process__step--gold { --ap-accent: #8A6D1F; }
body.homepage .appointment-process__step--amber { --ap-accent: #9A7826; }
body.homepage .appointment-process__step--bronze { --ap-accent: #80621B; }
body.homepage .appointment-process__step--ink { --ap-accent: #71571A; }

body.homepage .appointment-process__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border: 1.5px solid var(--ap-accent);
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ap-accent);
  box-shadow: 0 2px 8px rgba(32, 28, 24, .09), 0 0 0 3px rgba(255, 243, 196, .16);
  transition: transform .32s cubic-bezier(.2, .75, .25, 1), box-shadow .32s ease, background-color .32s ease;
}

body.homepage .appointment-process__icon svg {
  width: 21px;
  height: 21px;
}

body.homepage .appointment-process__step h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(.88rem, 1.1vw, 1rem);
  font-weight: 600;
  line-height: 1.25;
  transition: color .28s ease, transform .32s cubic-bezier(.2, .75, .25, 1);
}

body.homepage .appointment-process__step p {
  max-width: 230px;
  margin: 0 auto;
  color: rgba(32, 28, 24, .66);
  font-family: var(--font-body);
  font-size: .8rem;
  line-height: 1.4;
  transition: color .28s ease;
}

body.homepage .treatments-section__description {
  max-width: 620px;
  margin: 14px auto 0;
  color: rgba(32, 28, 24, .82);
  font-family: var(--font-body);
  font-size: clamp(.94rem, 1.25vw, 1.05rem);
  line-height: 1.6;
  text-align: center;
}

body.homepage .treatments-section__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
}

body.homepage .treatments-section__divider span {
  width: 48px;
  height: 1px;
  background: rgba(112, 83, 20, .46);
}

body.homepage .treatments-section__divider i {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(112, 83, 20, .72);
  transform: rotate(45deg);
}

body.homepage .treatments-section .treatments-heading .accent {
  display: inline-block;
  color: #fff;
  font-style: italic;
  font-weight: 500;
}

body.homepage .treatments-section__cta {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 13px 20px;
  border: 1px solid #94721d;
  border-radius: 999px;
  background: #fff;
  color: #8a6918;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-decoration: none;
  transition: color .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}

body.homepage .treatments-section__cta span {
  display: inline-block;
  transition: transform .24s ease;
}

body.homepage .treatments-section__cta:hover,
body.homepage .treatments-section__cta:focus-visible {
  border-color: #806018;
  background: #fff8df;
  color: #705314;
  box-shadow: 0 3px 10px rgba(112, 83, 20, .14);
}

body.homepage .treatments-section__cta:hover span,
body.homepage .treatments-section__cta:focus-visible span {
  transform: translateX(3px);
}

body.homepage .treatments-section__cta:focus-visible {
  outline: 2px solid #705314;
  outline-offset: 4px;
}

body.customer-theme-dark .treatments-section__cta {
  border-color: #d1ad3e;
  background: #111;
  color: #f0d36d;
}

body.customer-theme-dark .treatments-section__cta:hover,
body.customer-theme-dark .treatments-section__cta:focus-visible {
  border-color: #efd16a;
  background: #302b1d;
  color: #ffe58e;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

body.homepage.customer-theme-dark .public-header,
body.homepage.customer-theme-dark .public-header .header-pill {
  border-color: transparent;
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  body.homepage .appointment-process__step:hover {
    z-index: 1;
    transform: translateY(-2px) scale(1.045);
    filter: drop-shadow(0 5px 8px rgba(91, 67, 18, .12));
  }

  body.homepage .appointment-process__step:hover .appointment-process__icon {
    transform: scale(1.12);
    background: #fff;
    box-shadow: 0 4px 14px rgba(112, 83, 20, .2), 0 0 0 4px rgba(255, 243, 196, .26);
  }

  body.homepage .appointment-process__step:hover h3 {
    color: #5f4915;
    transform: scale(1.025);
  }

  body.homepage .appointment-process__step:hover p {
    color: rgba(32, 28, 24, .94);
  }

  body.homepage .appointment-process__steps:hover::before {
    opacity: 1;
    filter: brightness(1.12);
  }
}

@media (min-width: 701px) {
  body.homepage .treatments-section .treatments-heading {
    font-size: clamp(2.2rem, 4.4vw, 4rem);
  }

  body.homepage .treatments-section__header {
    margin-bottom: clamp(20px, 2.2vh, 30px);
  }

  body.homepage .hero.hero-scrolly .treatments-section__header {
    margin-bottom: clamp(20px, 2.2vh, 30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.homepage .appointment-process__step,
  body.homepage .appointment-process__icon,
  body.homepage .appointment-process__step h3,
  body.homepage .appointment-process__step p,
  body.homepage .treatments-section__cta,
  body.homepage .treatments-section__cta span {
    transition: none;
  }

  body.homepage .appointment-process__step:hover,
  body.homepage .appointment-process__step:hover .appointment-process__icon,
  body.homepage .appointment-process__step:hover h3,
  body.homepage .treatments-section__cta:hover span {
    transform: none;
  }
}

@media (max-width: 800px) {
  body.homepage .appointment-process__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  body.homepage .appointment-process__steps::before {
    top: 22px;
    right: auto;
    bottom: 22px;
    left: 21px;
    width: 1px;
    height: auto;
  }

  body.homepage .appointment-process__step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    text-align: left;
  }

  body.homepage .appointment-process__icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  body.homepage .appointment-process__step h3 {
    align-self: end;
  }

  body.homepage .appointment-process__step p {
    max-width: none;
    margin: 0;
  }
}

/* Fixed homepage progress track; pointer events pass through to page content. */
.homepage-scroll-progress {
  position: fixed;
  z-index: 1200;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  background: rgba(181, 137, 42, .2);
  pointer-events: none;
}

.homepage-scroll-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: #C9A84C;
  box-shadow: 0 0 8px rgba(201, 168, 76, .35);
  transition: width .12s linear;
}

@media (prefers-reduced-motion: reduce) {
  .homepage-scroll-progress__fill {
    transition: none;
  }
}

section.sidebar[aria-label="Finance navigation"] {
  width: 210px;
  flex: 0 0 210px;
  border-right: 1px solid #ebe6dc;
  background-color: white;
  box-shadow: none;
  overflow-y: hidden;
  padding: 0 8px 12px;
}

section.sidebar[aria-label="Finance navigation"] .sidebar-heading {
  margin: 16px 0 10px;
  padding: 0 10px;
  color: #514b43;
  font: 600 13px/1.35 "Raleway", sans-serif;
}

section.sidebar[aria-label="Finance navigation"] nav > ul {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

section.sidebar[aria-label="Finance navigation"] .nav-item {
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #514b43;
  padding: 0;
  transition: background-color .15s ease, color .15s ease;
}

section.sidebar[aria-label="Finance navigation"] .nav-item:hover {
  border: 0;
  background: #f8f6f1;
}

section.sidebar[aria-label="Finance navigation"] .nav-item.active:not(.fin-nav-dropdown) {
  border: 0;
  background: #f6f0e3;
  color: #705725;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown.nav-item.active {
  background: transparent;
  color: #705725;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-head {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 42px;
  border-radius: 8px;
  background: #f6f0e3;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-head:hover {
  background: #f2ecdf;
}

section.sidebar[aria-label="Finance navigation"] .nav-item > a,
section.sidebar[aria-label="Finance navigation"] .fin-nav-parent-link {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  border-radius: 8px;
  color: inherit;
  padding: 0 8px;
  font: 500 14px/1.35 "Raleway", sans-serif;
  text-decoration: none;
}

section.sidebar[aria-label="Finance navigation"] .nav-item > a:hover,
section.sidebar[aria-label="Finance navigation"] .fin-nav-parent-link:hover {
  color: #60491b;
}

section.sidebar[aria-label="Finance navigation"] .nav-item > a:focus-visible,
section.sidebar[aria-label="Finance navigation"] .fin-nav-parent-link:focus-visible,
section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-toggle:focus-visible,
section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab:focus-visible {
  outline: 3px solid #3977b8;
  outline-offset: 2px;
}

section.sidebar[aria-label="Finance navigation"] .finance-nav-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown {
  display: block;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-parent-link {
  flex: 1;
  gap: 8px;
  font-weight: 600;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-toggle {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 28px;
  margin-right: 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #756c62;
  cursor: pointer;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-toggle:hover {
  background: rgba(0, 0, 0, .045);
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-toggle[aria-expanded="true"] .fin-nav-chevron {
  transform: rotate(180deg);
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-view-list {
  display: grid;
  gap: 3px;
  box-sizing: border-box;
  margin: 2px 9px 8px 21px;
  border-left: 1px solid #e7e0d3;
  padding: 3px 0 3px 11px;
  list-style: none;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-view-list[hidden] {
  display: none;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-view-list li {
  min-width: 0;
  list-style: none;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #625b52;
  padding: 8px 9px;
  font: 500 13px/1.35 "Raleway", sans-serif;
  text-align: left;
  cursor: pointer;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab:hover {
  background: #f8f6f1;
}

section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab.is-active {
  border-left-color: #c9a84c;
  background: #fbf8f1;
  color: #60491b;
  font-weight: 600;
}

@media (max-width: 860px) {
  section.sidebar[aria-label="Finance navigation"].mobile-sidebar-open {
    width: min(280px, 82vw);
    flex: 0 0 auto;
  }
}

.fin-transactions-page {
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.staff-header .fin-sales-header-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.staff-header .fin-sales-record-button {
  min-height: 44px;
  border-color: #9b7a35;
  border-radius: 8px;
  background: #9b7a35;
  padding: 10px 18px;
  font-size: .8rem;
}

.staff-header .fin-sales-record-button:hover {
  border-color: #806124;
  background: #806124;
}

.fin-transactions-page .fin-sales-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fin-transactions-page .fin-sales-summary article {
  gap: 4px;
  min-height: 0;
  border: 1px solid #ece7dc;
  border-left: 3px solid #c9a84c;
  border-radius: 10px;
  background: #fff;
  padding: 10px 14px;
}

.fin-transactions-page .fin-sales-summary article strong {
  color: #29251e;
  font: 650 1.3rem/1.25 "Raleway", sans-serif;
  font-variant-numeric: tabular-nums;
}

.fin-transactions-page .fin-sales-summary article small {
  line-height: 1.45;
}

.fin-transactions-page .fin-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 8px 12px;
  padding: 0;
}

.fin-transactions-page .fin-filter-period-controls {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  gap: 8px;
  padding: 0;
  border: 0;
}

.fin-transactions-page .fin-filter-period-controls .fin-segmented {
  flex: 0 0 auto;
  gap: 5px;
  margin-right: 0;
}

.fin-transactions-page .fin-segmented button {
  min-height: 38px;
  border-color: #e6e1d7;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: .72rem;
}

.fin-transactions-page .fin-segmented button.is-active {
  border-color: #b59655;
  background: #f5f0e3;
  color: #624b1e;
}

.fin-transactions-page .fin-filter-period-controls > label,
.fin-transactions-page .fin-filters > label {
  min-width: 0;
  color: #655e56;
  font-size: .7rem;
}

.fin-transactions-page .fin-filter-period-controls > label {
  flex: 0 1 148px;
}

.fin-transactions-page .fin-filters input,
.fin-transactions-page .fin-filters select {
  min-height: 40px;
  border-color: #e3ded4;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: .76rem;
}

.fin-transactions-page .fin-filters input:focus,
.fin-transactions-page .fin-filters select:focus {
  border-color: #b59655;
  outline: 3px solid rgba(181, 150, 85, .18);
  outline-offset: 1px;
}

.fin-transactions-page #transactionSearch {
  padding-left: 36px;
  background-image: url("icons/magnifying-glass.svg");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 15px;
}

.fin-transactions-page #ledgerHelp {
  margin: 8px 0 14px;
  color: #71685f;
  font: .75rem/1.5 "Raleway", sans-serif;
}

.fin-transactions-page .fin-modal--receipt {
  display: flex;
  width: min(720px, 100%);
  height: min(78vh, 700px);
  max-height: calc(100vh - 32px);
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 72px rgba(26, 23, 20, .24);
}

.fin-transactions-page .fin-modal--receipt h2 {
  flex: 0 0 auto;
  margin-bottom: 12px;
}

.fin-transactions-page .fin-modal--receipt iframe {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 1px solid #e9e4da;
  border-radius: 4px;
  background: #fff;
}

@media (max-width: 620px) {
  .fin-transactions-page .fin-modal--receipt {
    width: 100%;
    height: 84vh;
    max-height: calc(100vh - 24px);
    padding: 16px;
  }
}

.fin-sales-analytics-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(340px, 1fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.fin-transactions-page .staff-table-card {
  min-width: 0;
  min-height: 0;
  border: 1px solid #ece7dc;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

.fin-transactions-page .fin-chart-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "heading"
    "comparison"
    "description"
    "chart"
    "legend";
  align-items: center;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 16px;
}

.fin-transactions-page #methodChartSection .fin-section-heading {
  grid-area: heading;
}

.fin-transactions-page #methodChartSection > .fin-comparison {
  grid-area: comparison;
}

.fin-transactions-page #methodChartSection > .fin-modal-copy {
  grid-area: description;
}

.fin-transactions-page #methodChartSection .fin-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 0;
}

.fin-transactions-page #methodChartSection .fin-section-heading span {
  white-space: nowrap;
  color: #71685f;
  font: 0.68rem/1.4 "Raleway", sans-serif;
  font-variant-numeric: tabular-nums;
}

.fin-transactions-page #methodChartSection .fin-section-heading h2,
.fin-transactions-page .staff-table-toolbar h2 {
  color: #29251e;
  font: 650 1rem/1.35 "Raleway", sans-serif;
}

.fin-transactions-page #methodChartSection > .fin-modal-copy {
  margin: 0;
  color: #71685f;
  font: .75rem/1.5 "Raleway", sans-serif;
}

.fin-transactions-page #receivablesPanel > .fin-modal-copy,
.fin-transactions-page #depositsPanel > .fin-modal-copy {
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px 12px;
  color: #71685f;
  font: .75rem/1.5 "Raleway", sans-serif;
  overflow-wrap: anywhere;
}

.fin-transactions-page .fin-chart-frame--donut {
  grid-area: chart;
  width: 100%;
  max-width: 180px;
  height: 180px;
  min-height: 0;
  justify-self: center;
  box-sizing: border-box;
  padding: 8px;
}

.fin-transactions-page .fin-chart-frame--donut.is-empty {
  height: 96px;
  max-width: 100%;
  aspect-ratio: auto;
}

.fin-transactions-page .fin-chart-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .9);
  color: #71685f;
  font: 600 .76rem "Raleway", sans-serif;
}

.fin-transactions-page .fin-chart-loading[hidden] {
  display: none;
}

.fin-transactions-page .fin-chart-legend {
  display: grid;
  grid-area: legend;
  align-content: center;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fin-transactions-page .fin-chart-legend li {
  display: grid;
  grid-template-columns: 10px minmax(70px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-bottom: 1px solid #f0ede7;
  padding: 10px 0;
  color: #514b43;
  font: .73rem "Raleway", sans-serif;
}

.fin-transactions-page .fin-chart-legend li:last-child {
  border-bottom: 0;
}

.fin-transactions-page .fin-chart-legend-swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.fin-transactions-page .fin-chart-legend-method {
  overflow-wrap: anywhere;
}

.fin-transactions-page .fin-chart-legend-amount {
  color: #29251e;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fin-transactions-page .fin-chart-legend-share {
  min-width: 44px;
  color: #71685f;
  font-size: .68rem;
  text-align: right;
  white-space: nowrap;
}

.fin-transactions-page .staff-table-toolbar {
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.fin-transactions-page .staff-table-toolbar > div,
.fin-transactions-page .fin-row-actions {
  align-items: center;
  gap: 8px;
}

.fin-transactions-page .staff-table-toolbar #transactionCount {
  color: #71685f;
  font: 600 .72rem "Raleway", sans-serif;
  white-space: nowrap;
}

.fin-transactions-page .fin-table {
  min-width: 980px;
  font-size: .75rem;
}

.fin-transactions-page .fin-table th {
  background: #faf9f6;
  letter-spacing: .035em;
}

.fin-transactions-page .fin-table td {
  height: 44px;
  line-height: 1.45;
}

.fin-transactions-page .fin-table tbody tr:hover {
  background: #fcfbf8;
}

.fin-transactions-page #transactionsPanel .fin-table th:nth-child(7),
.fin-transactions-page #transactionsPanel .fin-table td:nth-child(7),
.fin-transactions-page #receivablesPanel .fin-table th:nth-child(4),
.fin-transactions-page #receivablesPanel .fin-table th:nth-child(5),
.fin-transactions-page #receivablesPanel .fin-table td:nth-child(4),
.fin-transactions-page #receivablesPanel .fin-table td:nth-child(5),
.fin-transactions-page #depositsPanel .fin-table th:nth-child(4),
.fin-transactions-page #depositsPanel .fin-table td:nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fin-transactions-page #transactionsPanel .fin-table th:nth-child(2),
.fin-transactions-page #transactionsPanel .fin-table td:nth-child(2) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fin-transactions-page #transactionsPanel .fin-table td:nth-child(7) {
  font-variant-numeric: tabular-nums;
}

.fin-transactions-page #transactionsPanel .fin-row-actions {
  flex-wrap: nowrap;
  gap: 6px;
}

.fin-transactions-page #transactionsPanel .fin-row-actions .fin-button {
  min-height: 30px;
  padding: 5px 8px;
  white-space: nowrap;
}

.fin-transactions-page .fin-button {
  border-radius: 7px;
  font-size: .72rem;
}

.fin-transactions-page .fin-button-danger {
  border-color: #dcaeae;
  background: #fff4f4;
  color: #a43131;
}

.fin-transactions-page .fin-button-danger:hover {
  background: #fbefef;
}

.fin-transactions-page .fin-pagination {
  padding: 12px 16px;
}

.fin-transactions-page .staff-empty-state {
  min-height: 0;
  padding: 24px 16px;
}

.fin-transactions-page #depositsPanel .fin-table th:nth-child(7),
.fin-transactions-page #depositsPanel .fin-table td:nth-child(7) {
  min-width: 180px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.fin-transactions-page .fin-page-message:empty {
  display: none;
}

.fin-transactions-page #paymentDetailsModal .fin-modal {
  width: min(720px, 100%);
  padding: 24px;
}

.fin-transactions-page #paymentDetailsModal #paymentDetailsTitle {
  margin-bottom: 16px;
}

.fin-transactions-page #paymentDetailsModal .fin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.fin-transactions-page #paymentDetailsModal .fin-detail-grid > div {
  min-width: 0;
  border: 1px solid #eee9df;
  border-radius: 7px;
  background: #fcfbf8;
  padding: 10px 12px;
}

.fin-transactions-page #paymentDetailsModal .fin-detail-grid dt {
  color: #756c62;
  font: 600 .64rem/1.35 "Raleway", sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.fin-transactions-page #paymentDetailsModal .fin-detail-grid dd {
  min-width: 0;
  margin: 4px 0 0;
  color: #29251e;
  font: 500 .8rem/1.45 "Raleway", sans-serif;
  overflow-wrap: anywhere;
}

.fin-transactions-page #paymentDetailsModal .fin-detail-grid dd .fin-status-badge {
  vertical-align: middle;
}

.fin-transactions-page #paymentDetailsModal h3 {
  margin: 18px 0 8px;
  color: #29251e;
  font: 650 .92rem/1.35 "Raleway", sans-serif;
}

.fin-transactions-page #paymentDetailsModal .fin-table {
  min-width: 620px;
}

.fin-transactions-page #paymentDetailsModal .fin-table th,
.fin-transactions-page #paymentDetailsModal .fin-table td {
  padding: 9px 10px;
}

.fin-transactions-page :focus-visible {
  outline: 3px solid #3977b8;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .fin-transactions-page #paymentDetailsModal .fin-modal {
    padding: 20px 16px;
  }

  .fin-transactions-page #paymentDetailsModal .fin-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1050px) {
  .fin-sales-analytics-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-transactions-page .fin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-transactions-page #transactionSearchWrap {
    grid-column: 1 / -1;
  }

  .fin-transactions-page .fin-chart-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 850px) {
  .fin-transactions-page .fin-chart-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "comparison"
      "description"
      "chart"
      "legend";
  }
}

@media (max-width: 620px) {
  .fin-transactions-page .fin-sales-summary {
    gap: 8px;
  }

  .fin-transactions-page .fin-sales-summary article {
    padding: 12px;
  }

  .fin-transactions-page .fin-filter-period-controls {
    flex-wrap: wrap;
  }

  .fin-transactions-page .fin-filter-period-controls .fin-segmented {
    flex: 1 1 100%;
  }

  .fin-transactions-page .fin-segmented button {
    flex: 1 1 auto;
  }

  .fin-transactions-page .staff-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .fin-transactions-page .staff-table-toolbar > div {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .staff-header .fin-sales-record-button {
    min-height: 30px;
    padding: 5px 8px;
    font-size: .65rem;
  }
  .fin-transactions-page .fin-sales-summary {
    grid-template-columns: 1fr;
  }

  .fin-transactions-page .fin-sales-summary article {
    min-height: 0;
  }

  .fin-transactions-page .fin-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .fin-transactions-page .fin-filter-period-controls {
    grid-column: 1;
  }

  .fin-transactions-page .fin-filter-period-controls > label {
    flex: 1 1 120px;
  }

  .fin-transactions-page #transactionSearchWrap {
    grid-column: 1;
  }

  .fin-transactions-page .fin-chart-legend li {
    grid-template-columns: 10px minmax(0, 1fr) auto 42px;
    gap: 7px;
  }
}

section.sidebar[aria-label="Aesthetician navigation"] {
  width: 210px;
  flex: 0 0 210px;
  border-right: 1px solid #ebe6dc;
  background: #fff;
  box-shadow: none;
  overflow-y: hidden;
  padding: 0 8px 12px;
}

section.sidebar[aria-label="Aesthetician navigation"] .sidebar-heading {
  margin: 16px 0 10px;
  padding: 0 10px;
  color: #514b43;
  font: 600 13px/1.35 "Raleway", sans-serif;
}

section.sidebar[aria-label="Aesthetician navigation"] nav > ul {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

section.sidebar[aria-label="Aesthetician navigation"] .nav-item {
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #514b43;
  padding: 0;
}

section.sidebar[aria-label="Aesthetician navigation"] .nav-item:hover {
  background: #f8f6f1;
}

section.sidebar[aria-label="Aesthetician navigation"] .nav-item.active {
  background: #f6f0e3;
  color: #705725;
}

section.sidebar[aria-label="Aesthetician navigation"] .nav-item > a {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 42px;
  border-radius: 8px;
  color: inherit;
  padding: 0 8px;
  font: 500 14px/1.35 "Raleway", sans-serif;
  text-decoration: none;
}

section.sidebar[aria-label="Aesthetician navigation"] .nav-item > a:focus-visible {
  outline: 3px solid #3977b8;
  outline-offset: 2px;
}

section.sidebar[aria-label="Aesthetician navigation"] .finance-nav-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.um-sidebar {
  width: 210px;
  flex: 0 0 210px;
  overflow-y: hidden;
  border-right: 1px solid #ebe6dc;
  background: #fff;
  padding: 0 8px 12px;
}

.um-sidebar__logo {
  justify-content: center;
  height: 64px;
  border: 0;
  margin: 0;
  padding: 0 12px;
}

.um-sidebar__logo img {
  display: block;
  width: 142px;
  max-width: 100%;
  height: auto;
}

.um-sidebar__label {
  margin: 16px 0 10px;
  padding: 0 10px;
  color: #514b43;
  font: 600 13px/1.35 "Raleway", sans-serif;
  letter-spacing: 0;
}

.um-sidebar__nav {
  display: grid;
  gap: 4px;
}

.um-sidebar__nav .um-nav-link,
.admin-nav-group-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #514b43;
  padding: 0 8px;
  font: 500 14px/1.35 "Raleway", sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.um-sidebar__nav .um-nav-link:not(.um-nav-link--active):hover,
.admin-nav-group-toggle:hover {
  background: #f8f6f1;
  color: #60491b;
}

.um-sidebar__nav .um-nav-link--active {
  border: 0;
  background: #f6f0e3;
  color: #705725;
  font-weight: 600;
}

.um-sidebar__nav .um-nav-link:focus-visible,
.admin-nav-group-toggle:focus-visible {
  outline: 3px solid #3977b8;
  outline-offset: 2px;
}

.um-sidebar__nav .um-nav-link img,
.admin-nav-group-toggle img {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.um-sidebar__nav .um-nav-link span,
.admin-nav-group-toggle span {
  min-width: 0;
}

.admin-nav-group {
  min-width: 0;
  border-radius: 8px;
}

.admin-nav-group.is-active > .admin-nav-group-toggle {
  color: #705725;
  font-weight: 600;
}

.admin-nav-group-toggle .admin-nav-chevron {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

.admin-nav-group-toggle[aria-expanded="true"] .admin-nav-chevron {
  transform: rotate(180deg);
}

.admin-nav-submenu {
  display: grid;
  gap: 3px;
  box-sizing: border-box;
  margin: 2px 9px 8px 21px;
  border-left: 1px solid #e7e0d3;
  padding: 3px 0 3px 11px;
  list-style: none;
}

.admin-nav-submenu[hidden] {
  display: none;
}

.admin-nav-submenu li {
  min-width: 0;
  list-style: none;
}

.um-sidebar__nav .um-nav-link.admin-nav-child {
  min-height: 38px;
  border-left: 2px solid transparent;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 13px;
}

.um-sidebar__nav .um-nav-link.admin-nav-child.um-nav-link--active {
  border-left-color: #c9a84c;
  background: #fbf8f1;
  color: #60491b;
}

.um-sidebar__account {
  margin-top: auto;
  border-top: 1px solid #ebe6dc;
  padding: 12px 8px;
}

@media (max-width: 1024px) {
  .um-sidebar {
    width: min(280px, 82vw);
    flex: 0 0 min(280px, 82vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .um-sidebar__nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 860px) {
  section.sidebar[aria-label="Aesthetician navigation"].mobile-sidebar-open {
    width: min(280px, 82vw);
    flex: 0 0 auto;
  }
}

/* Appointment Management refresh */
#appointmentsMain {
  background: #f8f7f4;
  color: #302c26;
}

#appointmentsMain > .um-header {
  min-height: 78px;
  height: auto;
  margin: -20px -24px 18px;
  padding: 12px 24px;
  border-bottom-color: #eae5dc;
  box-shadow: none;
}

#appointmentsMain .um-header__title {
  color: #292621;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.025em;
}

#appointmentsMain .um-header__subtitle {
  margin-top: 4px;
  color: #80796f;
  font-size: 12px;
}

#appointmentsMain > .um-header .um-header__actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

#appointmentsMain > .um-header .admin-notification-btn {
  width: 38px;
  height: 38px;
  border-color: #e7e1d7;
  border-radius: 10px;
  background: #fff;
}

#appointmentsMain > .um-header .admin-notification-btn:hover {
  border-color: #d8c89f;
  background: #fffdf8;
}

#appointmentsMain .um-search {
  width: clamp(180px, 18vw, 230px);
  height: 38px;
  margin: 0;
  border: 1px solid #e7e1d7;
  border-radius: 9px;
  background: #fff;
}

#appointmentsMain .um-search input {
  width: 100%;
  min-width: 0;
  height: 36px;
  font-size: 12px;
}

#appointmentsMain .um-header__actions-row {
  flex-wrap: nowrap;
  gap: 8px;
}

#appointmentsMain .um-header__actions-row .um-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

#appointmentsMain .um-header__actions-row .um-btn--ghost {
  border-color: #e7e1d7;
  background: #fff;
  color: #615a50;
}

#appointmentsMain .um-header__actions-row .um-btn--ghost:hover {
  border-color: #d8c89f;
  background: #fffdf8;
  color: #614d22;
}

#appointmentsMain .um-header__actions-row .um-btn--primary {
  border-color: #b99643;
  background: #c9a84c;
  color: #fff;
}

#appointmentsMain .um-header__actions-row .um-btn--primary:hover {
  border-color: #a98531;
  background: #b99643;
}

#appointmentsMain .um-btn:focus-visible,
#appointmentsMain .admin-notification-btn:focus-visible,
#appointmentsMain .apt-stat-link:focus-visible,
#appointmentsMain .apt-date-range:focus-visible,
#appointmentsMain .um-tab:focus-visible,
#appointmentsMain .apt-action:focus-visible,
#appointmentsMain .um-pagination button:focus-visible {
  outline: 3px solid rgba(185, 150, 67, .35);
  outline-offset: 2px;
}

#appointmentsMain .apt-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

#appointmentsMain .apt-stats .um-stat-card {
  position: relative;
  min-width: 0;
  min-height: 122px;
  padding: 18px 18px 15px 72px;
  border: 1px solid #e9e4da;
  border-left: 3px solid #d2bc7d;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 36, 28, .035);
}

#appointmentsMain .apt-stat-icon {
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
}

#appointmentsMain .apt-stat-icon img {
  display: block;
  width: 21px;
  height: 21px;
}

#appointmentsMain .apt-stat-icon--today {
  background: #f7f1df;
}

#appointmentsMain .apt-stat-icon--today img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(25%) saturate(675%) hue-rotate(7deg) brightness(91%) contrast(87%);
}

#appointmentsMain .apt-stat-icon--confirmed {
  background: #edf5ef;
}

#appointmentsMain .apt-stat-icon--confirmed img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(16%) saturate(898%) hue-rotate(79deg) brightness(92%) contrast(88%);
}

#appointmentsMain .apt-stat-icon--cancelled {
  background: #fbefed;
}

#appointmentsMain .apt-stat-icon--cancelled img {
  filter: brightness(0) saturate(100%) invert(46%) sepia(22%) saturate(1091%) hue-rotate(313deg) brightness(91%) contrast(84%);
}

#appointmentsMain .um-stat-card__label {
  max-width: calc(100% - 34px);
  margin: 0;
  color: #756f66;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.45;
}

#appointmentsMain .um-stat-card__value {
  margin: 7px 0 2px;
  color: #302c26;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
}

#appointmentsMain .um-stat-card__hint {
  margin: 0;
  color: #837c72;
  font-size: 11px;
  line-height: 1.4;
}

#appointmentsMain .apt-stats .um-stat-card:nth-child(2) {
  border-left-color: #a9c9ae;
}

#appointmentsMain .apt-stats .um-stat-card:nth-child(2) .um-stat-card__value {
  color: #467450;
}

#appointmentsMain .apt-stats .um-stat-card:nth-child(3) {
  border-left-color: #d9a6a0;
}

#appointmentsMain .apt-stats .um-stat-card:nth-child(3) .um-stat-card__value {
  color: #a14f49;
}

#appointmentsMain .apt-stat-link {
  top: 19px;
  right: 17px;
  color: #8c6d2c;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

#appointmentsMain .apt-stat-link:hover {
  text-decoration: underline;
}

#appointmentsMain .apt-layout {
  grid-template-columns: minmax(0, 1fr) 286px;
  align-items: start;
  gap: 14px;
}

#appointmentsMain .apt-card,
#appointmentsMain .apt-side-card {
  overflow: hidden;
  border: 1px solid #e9e4da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 36, 28, .035);
}

#appointmentsMain .apt-toolbar {
  min-width: 0;
  gap: 8px 12px;
  padding: 0 14px;
  border-bottom-color: #eeeae2;
  background: #fff;
}

#appointmentsMain .apt-toolbar .um-tabs {
  min-width: 0;
  gap: 2px;
  overscroll-behavior-inline: contain;
}

#appointmentsMain .apt-toolbar .um-tab {
  min-height: 42px;
  padding: 11px 10px 9px;
  border-bottom: 2px solid transparent;
  color: #756f66;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
}

#appointmentsMain .apt-toolbar .um-tab:hover {
  color: #51483a;
}

#appointmentsMain .apt-toolbar .um-tab.um-tab--active {
  border-bottom-color: #c9a84c;
  color: #60491b;
  font-weight: 600;
}

#appointmentsMain .apt-toolbar__tools {
  flex: 0 0 auto;
  gap: 8px;
  padding: 5px 0;
}

#appointmentsMain .apt-chip {
  min-height: 30px;
  border-color: #dfc978;
  border-radius: 8px;
  background: #fbf7e9;
  color: #725a20;
  font-size: 10px;
}

#appointmentsMain .apt-date-range {
  min-width: 184px;
  height: 32px;
  border-color: #e7e1d7;
  border-radius: 8px;
  color: #665f55;
  font-size: 11px;
}

#appointmentsMain .apt-date-range:hover {
  border-color: #d8c89f;
  background: #fffdf8;
}

#appointmentsMain .apt-table-wrap {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #d8cfbd #f8f7f4;
  scrollbar-width: thin;
}

#appointmentsMain .apt-table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
  border-collapse: collapse;
}

#appointmentsMain .apt-table th {
  padding: 11px 10px;
  border-bottom-color: #e9e4da;
  background: #f8f7f4;
  color: #756f66;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .045em;
}

#appointmentsMain .apt-table th:nth-child(1) { width: 92px; }
#appointmentsMain .apt-table th:nth-child(2) { width: 174px; }
#appointmentsMain .apt-table th:nth-child(3) { width: 152px; }
#appointmentsMain .apt-table th:nth-child(4) { width: 138px; }
#appointmentsMain .apt-table th:nth-child(5) { width: 122px; }
#appointmentsMain .apt-table th:nth-child(6) { width: 112px; }
#appointmentsMain .apt-table th:nth-child(7) { width: 110px; }

#appointmentsMain .apt-table td {
  padding: 9px 10px;
  border-bottom-color: #efede8;
  color: #48433d;
  font-size: 11.5px;
  vertical-align: middle;
}

#appointmentsMain .apt-table td:first-child,
#appointmentsMain .apt-table th:first-child {
  padding-left: 14px;
}

#appointmentsMain .apt-table tbody tr:hover {
  background: #fcfbf8;
}

#appointmentsMain .apt-table .um-user-cell {
  min-width: 0;
  gap: 8px;
}

#appointmentsMain .apt-table .um-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  font-size: 10px;
}

#appointmentsMain .apt-table .um-user-cell > div:last-child {
  min-width: 0;
}

#appointmentsMain .apt-table td:nth-child(2) .apt-name,
#appointmentsMain .apt-table td:nth-child(3) .apt-name,
#appointmentsMain .apt-table td:nth-child(5) {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}

#appointmentsMain .apt-table td:nth-child(5) {
  white-space: nowrap;
}

#appointmentsMain .apt-ref strong {
  color: #8c6d2c;
  font-size: 11px;
  font-weight: 600;
}

#appointmentsMain .apt-ref span,
#appointmentsMain .apt-sub {
  color: #898278;
  font-size: 10px;
}

#appointmentsMain .apt-name {
  overflow: hidden;
  color: #39352f;
  font-size: 11.5px;
  font-weight: 500;
  text-overflow: ellipsis;
}

#appointmentsMain .apt-status {
  gap: 6px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .015em;
  white-space: nowrap;
}

#appointmentsMain .apt-status::before {
  width: 6px;
  height: 6px;
}

#appointmentsMain .apt-status--confirmed {
  background: #edf5ef;
  color: #467450;
}

#appointmentsMain .apt-status--in-progress {
  background: #eef3f8;
  color: #557296;
}

#appointmentsMain .apt-status--completed {
  background: #edf5ef;
  color: #467450;
}

#appointmentsMain .apt-status--cancelled,
#appointmentsMain .apt-status--no-show {
  background: #fbefed;
  color: #a14f49;
}

#appointmentsMain .apt-actions {
  gap: 5px;
}

#appointmentsMain .apt-action {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #e7e1d7;
  border-radius: 7px;
  background: #fff;
  color: #615a50;
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

#appointmentsMain .apt-action--view {
  border-color: #dfd4b7;
  background: #fbf8f1;
  color: #735a22;
}

#appointmentsMain .apt-action--rebook {
  border-color: #e6d8ae;
  background: #fffdf7;
  color: #806529;
}

#appointmentsMain .apt-action:hover {
  border-color: #c9a84c;
  background: #fbf8ef;
  color: #60491b;
  text-decoration: none;
}

#appointmentsMain .apt-empty {
  padding: 36px 16px !important;
  color: #756f66 !important;
  font-size: 12px !important;
}

#appointmentsMain .apt-card .um-table-footer {
  min-height: 58px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #eeeae2;
  color: #756f66;
  font-size: 11px;
}

#appointmentsMain .um-pagination {
  flex-wrap: wrap;
  gap: 5px;
}

#appointmentsMain .um-pagination button {
  width: 30px;
  height: 30px;
  border-color: #e7e1d7;
  border-radius: 8px;
  color: #615a50;
}

#appointmentsMain .um-pagination button.active {
  border-color: #b99643;
  background: #c9a84c;
  color: #fff;
}

#appointmentsMain .um-pagination button:disabled {
  opacity: .42;
}

#appointmentsMain .apt-side {
  gap: 12px;
}

#appointmentsMain .apt-side-card {
  padding-bottom: 12px;
}

#appointmentsMain .apt-side-head {
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 15px;
  border-bottom-color: #eeeae2;
}

#appointmentsMain .apt-side-title {
  color: #514b43;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .045em;
}

#appointmentsMain .apt-side-meta {
  padding: 4px 8px;
  border-radius: 20px;
  background: #f7f2e5;
  color: #806529;
  font-size: 10px;
  white-space: nowrap;
}

#appointmentsMain .apt-timeline {
  padding: 13px 15px 0;
}

#appointmentsMain .apt-timeline__item {
  padding: 0 0 11px 20px;
}

#appointmentsMain .apt-timeline__item::before {
  background: #e9e3d8;
}

#appointmentsMain .apt-timeline__time {
  margin-bottom: 4px;
  color: #756f66;
  font-size: 10px;
  font-weight: 600;
}

#appointmentsMain .apt-timeline__event {
  overflow: hidden;
  padding: 7px 9px;
  border: 1px solid #ece8df;
  border-left: 2px solid #b8c9b7;
  border-radius: 8px;
  background: #fff;
  color: #48433d;
  font-size: 10.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#appointmentsMain .apt-timeline__event small {
  margin-top: 4px;
  color: #59805f;
  font-size: 9px;
  font-weight: 600;
}

#appointmentsMain .apt-timeline__item--live .apt-timeline__dot {
  background: #c9a84c;
}

#appointmentsMain .apt-timeline__item--live .apt-timeline__event {
  border-left-color: #c9a84c;
  background: #fffdf8;
}

#appointmentsMain .apt-timeline__item--upcoming .apt-timeline__dot {
  background: #8fa8c6;
}

#appointmentsMain .apt-timeline__item--upcoming .apt-timeline__event {
  border-left-color: #8fa8c6;
  background: #fff;
  color: #48433d;
}

#appointmentsMain .apt-timeline__item--empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 8px 8px;
  color: #817a70;
  font-size: 11px;
  text-align: center;
}

#appointmentsMain .apt-timeline__item--empty::before {
  position: static;
  display: block;
  width: 26px;
  height: 26px;
  background: url("icons/calendar.svg") center / contain no-repeat;
  opacity: .6;
}

#appointmentsMain .apt-timeline__item--empty::after {
  display: none;
}

#appointmentsMain .apt-breakdown {
  gap: 10px;
  padding: 13px 15px 0;
}

#appointmentsMain .apt-breakdown__row > div:first-child {
  margin-bottom: 5px;
  color: #5e584f;
  font-size: 10.5px;
}

#appointmentsMain .apt-breakdown__row > div:first-child span:last-child {
  color: #39352f;
  font-weight: 600;
}

#appointmentsMain .apt-bar {
  height: 5px;
  border-radius: 5px;
  background: #f0ede7;
}

#appointmentsMain .apt-bar i {
  border-radius: inherit;
}

#appointmentsMain .apt-insight-empty {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 8px;
  color: #817a70;
  font-size: 11px;
  text-align: center;
}

#appointmentsMain .apt-insight-empty::before {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: url("icons/calendar.svg") center / contain no-repeat;
  content: "";
  opacity: .55;
}

#appointmentsMain .apt-total {
  margin: 12px 15px 0;
  padding-top: 10px;
  border-top-color: #eeeae2;
  color: #756f66;
  font-size: 10.5px;
}

#appointmentsMain .apt-total strong {
  color: #39352f;
  font-size: 12px;
  font-weight: 600;
}

#appointmentsMain .apt-top-services {
  padding: 8px 15px 0;
}

#appointmentsMain .apt-top-services li {
  min-width: 0;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ede7;
  color: #514b43;
  font-size: 10.5px;
}

#appointmentsMain .apt-top-services li:last-child {
  border-bottom: 0;
}

#appointmentsMain .apt-top-services li > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#appointmentsMain .apt-top-services strong {
  flex: 0 0 auto;
  color: #806529;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  #appointmentsMain .apt-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #appointmentsMain .apt-side {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
  }
}

@media (max-width: 860px) {
  #appointmentsMain > .um-header {
    align-items: flex-start;
  }

  #appointmentsMain > .um-header .um-header__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #appointmentsMain .um-search {
    flex: 1 1 200px;
  }
}

@media (max-width: 640px) {
  #appointmentsMain {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 72px 16px 24px;
    overflow-x: hidden;
    background: #f8f7f4;
  }

  #appointmentsMain > .um-header {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  #appointmentsMain > .um-header > div:first-child {
    order: 0;
    min-width: 0;
  }

  #appointmentsMain .um-header__title {
    font-size: clamp(21px, 5.6vw, 25px);
  }

  #appointmentsMain > .um-header .um-header__actions {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 9px;
    margin: 0;
  }

  #appointmentsMain > .um-header .admin-notification-wrap {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 120;
  }

  #appointmentsMain .admin-notification-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
  }

  #appointmentsMain .um-search {
    width: 100%;
    height: 42px;
  }

  #appointmentsMain .um-search input {
    height: 40px;
  }

  #appointmentsMain .um-header__actions-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #appointmentsMain .um-header__actions-row .um-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 7px 8px;
    font-size: 11px;
    white-space: normal;
  }

  #appointmentsMain .um-header__actions-row .um-btn:last-child {
    grid-column: 1 / -1;
  }

  #appointmentsMain .apt-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 13px;
  }

  #appointmentsMain .apt-stats .um-stat-card {
    min-height: 112px;
    padding: 15px 11px 12px 57px;
    border-radius: 10px;
  }

  #appointmentsMain .apt-stat-icon {
    top: 14px;
    left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  #appointmentsMain .apt-stat-icon img {
    width: 19px;
    height: 19px;
  }

  #appointmentsMain .um-stat-card__label {
    max-width: 100%;
    font-size: 9px;
  }

  #appointmentsMain .um-stat-card__value {
    margin-top: 8px;
    font-size: 26px;
  }

  #appointmentsMain .um-stat-card__hint {
    font-size: 10px;
  }

  #appointmentsMain .apt-stat-link {
    top: 14px;
    right: 10px;
    font-size: 10px;
  }

  #appointmentsMain .apt-stats .um-stat-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  #appointmentsMain .apt-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #appointmentsMain .apt-card,
  #appointmentsMain .apt-side-card {
    border-radius: 10px;
  }

  #appointmentsMain .apt-toolbar {
    align-items: stretch;
    gap: 3px;
    padding: 0 10px 9px;
  }

  #appointmentsMain .apt-toolbar .um-tabs {
    width: calc(100% + 20px);
    margin: 0 -10px;
    padding: 0 10px;
    scroll-snap-type: x proximity;
  }

  #appointmentsMain .apt-toolbar .um-tab {
    min-height: 40px;
    padding: 10px 9px 8px;
    scroll-snap-align: start;
  }

  #appointmentsMain .apt-toolbar__tools {
    width: 100%;
    justify-content: flex-start;
    padding: 5px 0 0;
  }

  #appointmentsMain .apt-date-range {
    flex: 0 1 230px;
    min-width: min(184px, 100%);
    min-height: 38px;
    font-size: 11px;
  }

  #appointmentsMain .apt-table-wrap {
    overflow-x: auto;
    padding: 0;
  }

  #appointmentsMain .apt-table,
  #appointmentsMain .apt-table tbody {
    display: table;
    width: 100%;
    min-width: 900px;
  }

  #appointmentsMain .apt-table thead {
    display: table-header-group;
  }

  #appointmentsMain .apt-table tbody {
    display: table-row-group;
  }

  #appointmentsMain .apt-table tbody tr.apt-row {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td {
    display: table-cell;
    min-width: 0;
    padding: 9px 10px;
    border-bottom: 1px solid #efede8;
    font-size: 11px;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td::before {
    display: none;
    content: none;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(2),
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(5),
  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(7) {
    grid-column: auto;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    text-align: left;
  }

  #appointmentsMain .apt-table tbody tr.apt-row td:nth-child(6)::before {
    text-align: left;
  }

  #appointmentsMain .apt-actions {
    gap: 5px;
  }

  #appointmentsMain .apt-card .um-table-footer {
    flex-direction: row;
    align-items: center;
    padding: 11px 12px;
  }

  #appointmentsMain .um-pagination {
    gap: 4px;
  }

  #appointmentsMain .um-pagination button {
    width: 28px;
    height: 28px;
  }

  #appointmentsMain .apt-side {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 390px) {
  #appointmentsMain {
    padding-right: 12px;
    padding-left: 12px;
  }

  #appointmentsMain .apt-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  #appointmentsMain .apt-stats .um-stat-card:nth-child(3) {
    grid-column: auto;
  }

  #appointmentsMain > .um-header .admin-notification-wrap {
    right: 12px;
  }

  #appointmentsMain .apt-card .um-table-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== STAFF THEME TOGGLE ===== */
.staff-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 40px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #ded8cc;
  border-radius: 8px;
  background: #fff;
  color: #675638;
  font: 600 0.72rem "Raleway", sans-serif;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.staff-theme-toggle:hover {
  border-color: #c9a84c;
  background: #fbf8ef;
}

.staff-theme-toggle__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.staff-theme-toggle__icon--sun {
  display: none;
}

.staff-theme-toggle--header .staff-theme-toggle__label {
  display: none;
}

.staff-theme-toggle--sidebar {
  display: none;
}

body.staff-theme-dark {
  background: #181a19;
  color: #e9e4da;
  color-scheme: dark;
}

body.staff-theme-dark .staff-header,
body.staff-theme-dark .sidebar,
body.staff-theme-dark .staff-sidebar {
  border-color: #383a36;
  background-color: #222321;
  color: #e9e4da;
}

body.staff-theme-dark .staff-header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

body.staff-theme-dark .page-title,
body.staff-theme-dark .page-title h2,
body.staff-theme-dark .sidebar-heading,
body.staff-theme-dark .status-item span,
body.staff-theme-dark .profile-info,
body.staff-theme-dark .profile-name,
body.staff-theme-dark .profile-role {
  color: #e9e4da;
}

body.staff-theme-dark .page-title p,
body.staff-theme-dark .status-item,
body.staff-theme-dark .profile-status {
  color: #aaa398;
}

body.staff-theme-dark main,
body.staff-theme-dark .main-content,
body.staff-theme-dark .aesthetician-dashboard-content,
body.staff-theme-dark .staff-page-content,
body.staff-theme-dark .fin-page-flow {
  background: #181a19;
  color: #e9e4da;
}

body.staff-theme-dark .sidebar,
body.staff-theme-dark .staff-sidebar {
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.22);
}

body.staff-theme-dark .sidebar hr,
body.staff-theme-dark .profile-divider {
  border-color: #41413b;
}

body.staff-theme-dark .nav-item a {
  color: #c9c2b7;
}

body.staff-theme-dark .nav-item.active,
body.staff-theme-dark .nav-item:hover {
  border-left-color: #d8bb73;
  background: #373126;
}

body.staff-theme-dark .nav-item.active a {
  color: #ead9a9;
}

body.staff-theme-dark section.staff-sidebar[aria-label] .sidebar-heading {
  color: #bdb5a8;
}

body.staff-theme-dark section.staff-sidebar[aria-label="Aesthetician navigation"] .nav-item.active,
body.staff-theme-dark section.staff-sidebar[aria-label="Finance navigation"] .nav-item.active:not(.fin-nav-dropdown) {
  border: 0;
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark section.staff-sidebar[aria-label="Finance navigation"] .fin-nav-dropdown.nav-item.active,
body.staff-theme-dark section.staff-sidebar[aria-label="Finance navigation"] .fin-nav-dropdown-head {
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark section.staff-sidebar[aria-label="Finance navigation"] .nav-item:hover,
body.staff-theme-dark section.staff-sidebar[aria-label="Aesthetician navigation"] .nav-item:hover {
  border: 0;
  background: #302e29;
  color: #ead9a9;
}

body.staff-theme-dark .profile-card,
body.staff-theme-dark .profile-dropdown,
body.staff-theme-dark .profile-dropdown-item {
  border-color: #41413b;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .profile-card:hover,
body.staff-theme-dark .profile-dropdown-item:hover {
  background: #373126;
}

body.staff-theme-dark .staff-theme-toggle {
  border-color: #4a463c;
  background: #302e29;
  color: #e5cf91;
}

body.staff-theme-dark .staff-theme-toggle:hover {
  border-color: #b99a55;
  background: #3a3427;
}

body.staff-theme-dark .staff-theme-toggle--header {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 8px;
}

body.staff-theme-dark .staff-theme-toggle__icon--moon {
  display: none;
}

body.staff-theme-dark .staff-theme-toggle__icon--sun {
  display: block;
}

body.staff-theme-dark .notification,
body.staff-theme-dark .staff-search-btn,
body.staff-theme-dark .search,
body.staff-theme-dark .search-suggestions,
body.staff-theme-dark .notification-dropdown,
body.staff-theme-dark .notification-item,
body.staff-theme-dark .admin-notification-item {
  border-color: #45453f;
  background-color: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .notification:hover,
body.staff-theme-dark .staff-search-btn:hover,
body.staff-theme-dark .notification-item:hover,
body.staff-theme-dark .admin-notification-item:hover,
body.staff-theme-dark .search-suggestions li:hover,
body.staff-theme-dark .search-suggestions li.active {
  background-color: #39342a;
}

body.staff-theme-dark .notification-dropdown-header,
body.staff-theme-dark .search-suggestions li,
body.staff-theme-dark .notification-item.unread,
body.staff-theme-dark .admin-notification-item.unread {
  border-color: #45453f;
  color: #e9e4da;
}

body.staff-theme-dark .search input,
body.staff-theme-dark .search-suggestions .suggestion-client {
  background: transparent;
  color: #eee8dd;
}

body.staff-theme-dark .search input::placeholder {
  color: #a39c90;
}

body.staff-theme-dark .search-suggestions .suggestion-meta,
body.staff-theme-dark .search-suggestions .no-results,
body.staff-theme-dark .notification-empty {
  color: #aaa398;
}

body.staff-theme-dark .dashboard-summary-card,
body.staff-theme-dark .dashboard-client-panel,
body.staff-theme-dark .dashboard-side-card,
body.staff-theme-dark .client-summary-card,
body.staff-theme-dark .clients-table-section,
body.staff-theme-dark .staff-table-card,
body.staff-theme-dark .staff-empty-state,
body.staff-theme-dark .treatment-notes-modal,
body.staff-theme-dark .treatment-note-item,
body.staff-theme-dark .calendar-card,
body.staff-theme-dark .calendar-view,
body.staff-theme-dark .fin-chart-section,
body.staff-theme-dark .fin-modal,
body.staff-theme-dark .fin-summary-grid article,
body.staff-theme-dark .fin-report-section,
body.staff-theme-dark .fin-report-panel,
body.staff-theme-dark .fin-report-stat,
body.staff-theme-dark .fin-expense-card,
body.staff-theme-dark .fin-cash-closing-totals > div,
body.staff-theme-dark .fin-dashboard-kpi,
body.staff-theme-dark .fin-expense-overview article,
body.staff-theme-dark .fin-dashboard-followups > div,
body.staff-theme-dark .fin-dashboard-followups > a {
  border-color: #3d3e39;
  background-color: #222421;
  color: #e9e4da;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

body.staff-theme-dark .dashboard-summary-card p,
body.staff-theme-dark .dashboard-summary-card small,
body.staff-theme-dark .dashboard-table-heading h1,
body.staff-theme-dark .dashboard-table-heading p,
body.staff-theme-dark .dashboard-table-footer p,
body.staff-theme-dark .dashboard-side-heading h2,
body.staff-theme-dark .dashboard-side-heading span,
body.staff-theme-dark .dashboard-timeline,
body.staff-theme-dark .dashboard-breakdown,
body.staff-theme-dark .dashboard-rating-content,
body.staff-theme-dark .clients-dashboard,
body.staff-theme-dark .clients-dashboard h1,
body.staff-theme-dark .clients-dashboard h2,
body.staff-theme-dark .clients-dashboard-date,
body.staff-theme-dark .clients-table-count,
body.staff-theme-dark .client-summary-label,
body.staff-theme-dark .client-summary-hint,
body.staff-theme-dark .staff-page-heading h1,
body.staff-theme-dark .staff-page-heading p:not(.eyebrow),
body.staff-theme-dark .staff-table-toolbar h2,
body.staff-theme-dark .staff-table-toolbar span,
body.staff-theme-dark .staff-empty-state strong,
body.staff-theme-dark .staff-empty-state p,
body.staff-theme-dark .treatment-notes-modal h2,
body.staff-theme-dark .treatment-note-item-heading strong,
body.staff-theme-dark .treatment-note-item-text,
body.staff-theme-dark .fin-page-toolbar h1,
body.staff-theme-dark .fin-page-toolbar p,
body.staff-theme-dark .fin-section-heading h2,
body.staff-theme-dark .fin-section-heading span,
body.staff-theme-dark .fin-dashboard .fin-dashboard-kpi > span,
body.staff-theme-dark .fin-dashboard .fin-dashboard-kpi > strong,
body.staff-theme-dark .fin-dashboard .fin-dashboard-kpi > small,
body.staff-theme-dark .fin-summary-grid article span,
body.staff-theme-dark .fin-summary-grid article small,
body.staff-theme-dark .fin-summary-grid article strong,
body.staff-theme-dark .fin-expense-overview article strong,
body.staff-theme-dark .fin-expense-overview article span,
body.staff-theme-dark .fin-expense-overview article small,
body.staff-theme-dark .fin-report-panel-heading h3,
body.staff-theme-dark .fin-reports-page .fin-report-stat small,
body.staff-theme-dark .fin-modal h2,
body.staff-theme-dark .fin-cash-closing-totals span,
body.staff-theme-dark .fin-cash-closing-totals strong,
body.staff-theme-dark .fin-cash-closing h3,
body.staff-theme-dark .fin-report-panel,
body.staff-theme-dark .fin-report-stat {
  color: #e9e4da;
}

body.staff-theme-dark .dashboard-table-heading > p,
body.staff-theme-dark .dashboard-table-footer p,
body.staff-theme-dark .dashboard-side-heading span,
body.staff-theme-dark .dashboard-empty-state,
body.staff-theme-dark .client-summary-label,
body.staff-theme-dark .client-summary-hint,
body.staff-theme-dark .staff-page-heading p:not(.eyebrow),
body.staff-theme-dark .staff-table-toolbar span,
body.staff-theme-dark .staff-empty-state p,
body.staff-theme-dark .treatment-note-item-heading time,
body.staff-theme-dark .treatment-note-item-appointment,
body.staff-theme-dark .fin-page-toolbar p,
body.staff-theme-dark .fin-section-heading span,
body.staff-theme-dark .fin-dashboard .fin-dashboard-kpi > small,
body.staff-theme-dark .fin-expense-overview article span,
body.staff-theme-dark .fin-expense-overview article small {
  color: #aaa398;
}

body.staff-theme-dark .dashboard-panel-tabs,
body.staff-theme-dark .dashboard-table-heading,
body.staff-theme-dark .dashboard-table-footer,
body.staff-theme-dark .staff-table-toolbar,
body.staff-theme-dark .clients-table-heading,
body.staff-theme-dark .clients-table-footer,
body.staff-theme-dark .fin-filters,
body.staff-theme-dark .fin-expense-overview,
body.staff-theme-dark .fin-dashboard-followups {
  border-color: #3d3e39;
}

body.staff-theme-dark .clients-table th,
body.staff-theme-dark .dashboard-client-table th,
body.staff-theme-dark .staff-appointments-table th,
body.staff-theme-dark .fin-table th {
  border-color: #3d3e39;
  background: #2b2c29;
  color: #bdb5a8;
}

body.staff-theme-dark .clients-table td,
body.staff-theme-dark .dashboard-client-table td,
body.staff-theme-dark .staff-appointments-table td,
body.staff-theme-dark .fin-table td {
  border-color: #383934;
  color: #d5cec2;
}

body.staff-theme-dark .clients-table tbody tr:hover,
body.staff-theme-dark .fin-table tbody tr:hover {
  background: #2b2c29;
}

body.staff-theme-dark .dashboard-table-search,
body.staff-theme-dark .dashboard-status-button,
body.staff-theme-dark .dashboard-status-menu,
body.staff-theme-dark .fin-button,
body.staff-theme-dark .fin-expense-record-search,
body.staff-theme-dark .fin-filters input,
body.staff-theme-dark .fin-filters select,
body.staff-theme-dark .fin-form input,
body.staff-theme-dark .fin-form select,
body.staff-theme-dark .fin-form textarea,
body.staff-theme-dark .fin-period-controls input,
body.staff-theme-dark .fin-period-controls select,
body.staff-theme-dark .fin-segmented,
body.staff-theme-dark .fin-segmented button {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .fin-expense-record-search::placeholder {
  color: #aaa398;
}

body.staff-theme-dark .fin-segmented button.is-active {
  border-color: #a18447;
  background: #4a3f29;
  color: #f0dfb1;
}

body.staff-theme-dark .fin-modal-overlay {
  background: rgba(0, 0, 0, 0.76);
}

body.staff-theme-dark .dashboard-status-menu button {
  color: #e9e4da;
}

body.staff-theme-dark .dashboard-status-menu button:hover,
body.staff-theme-dark .fin-button:hover {
  background: #38342b;
}

body.staff-theme-dark .calendar-toolbar,
body.staff-theme-dark .calendar-header,
body.staff-theme-dark .week-header,
body.staff-theme-dark .week-body,
body.staff-theme-dark .week-time-column,
body.staff-theme-dark .week-day-col-bg,
body.staff-theme-dark .calendar-day {
  border-color: #3d3e39;
  background-color: #222421;
  color: #d5cec2;
}

body.staff-theme-dark .calendar-day.available:hover,
body.staff-theme-dark .calendar-day.selected {
  background-color: #55482c;
  color: #f0dfb1;
}

body.staff-theme-dark .staff-table-card a,
body.staff-theme-dark .dashboard-side-heading a,
body.staff-theme-dark .fin-dashboard-followups > a {
  color: #dfc27d;
}

body.staff-theme-dark .fin-dashboard-kpi--collected {
  border-left-color: #c9a84c !important;
}

body.staff-theme-dark .fin-report-stat--collected {
  border-top-color: #c9a84c;
}

body.staff-theme-dark .fin-report-stat--collected strong,
body.staff-theme-dark .fin-deposit-stats small,
body.staff-theme-dark .um-stat-card__hint--positive,
body.staff-theme-dark .um-status--active {
  color: #d8bb73;
}

body.staff-theme-dark .dashboard-summary-card small,
body.staff-theme-dark .fin-dashboard-kpi--collected strong {
  color: #d8bb73;
}

body.staff-theme-dark .Confirmed-icon,
body.staff-theme-dark .Completed-icon {
  background-color: #d8bb73;
}

body.staff-theme-dark .client-status--completed,
body.staff-theme-dark .status-completed {
  border-left-color: #d8bb73;
  background-color: rgba(216, 187, 115, 0.16);
  color: #e8ce8b;
}

body.staff-theme-dark .timeline-item.client-status--confirmed .timeline-dot,
body.staff-theme-dark .dashboard-breakdown-row--confirmed .dashboard-breakdown-track i {
  background-color: #d8bb73;
}

body.staff-theme-dark .timeline-item small {
  color: #d8bb73;
}

body.staff-theme-dark .treatment-notes-modal-overlay {
  background: rgba(0, 0, 0, 0.72);
}

body.staff-theme-dark .treatment-notes-modal-close {
  color: #d5cec2;
}

body.staff-theme-dark .modal-overlay {
  background: rgba(0, 0, 0, 0.76);
}

body.staff-theme-dark .apt-modal-overlay {
  background: rgba(0, 0, 0, 0.78);
}

body.staff-theme-dark .apt-modal,
body.staff-theme-dark .appt-modal {
  background: #222421;
  color: #e9e4da;
  border-color: #3d3e39;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36);
}

body.staff-theme-dark .apt-modal__head,
body.staff-theme-dark .apt-modal__summary,
body.staff-theme-dark .appointment-inventory-modal,
body.staff-theme-dark .appointment-edit-modal,
body.staff-theme-dark .new-appointment-form,
body.staff-theme-dark .cancellation-requests-modal,
body.staff-theme-dark .cancellation-request-card {
  background: #222421;
  border-color: #3d3e39;
}

body.staff-theme-dark .apt-modal__title,
body.staff-theme-dark .appt-modal-heading h3,
body.staff-theme-dark .appt-field-value,
body.staff-theme-dark .appointment-details-grid dd,
body.staff-theme-dark .appointment-edit-fields .form-group label,
body.staff-theme-dark .new-appointment-form input,
body.staff-theme-dark .new-appointment-form select,
body.staff-theme-dark .new-appointment-form .booking-status-message,
body.staff-theme-dark .cancellation-request-card__title,
body.staff-theme-dark .cancellation-request-card__reason,
body.staff-theme-dark .cancellation-request-card__description,
body.staff-theme-dark .apt-summary-row strong,
body.staff-theme-dark .apt-summary-row,
body.staff-theme-dark .apt-modal__subtitle,
body.staff-theme-dark .apt-modal__summary-title,
body.staff-theme-dark .apt-reason-count {
  color: #eee8dd;
}

body.staff-theme-dark .apt-modal__subtitle,
body.staff-theme-dark .appt-modal-heading p,
body.staff-theme-dark .appt-field-label,
body.staff-theme-dark .appointment-details-grid dt,
body.staff-theme-dark .appointment-edit-fields .field-hint,
body.staff-theme-dark .booking-status-message,
body.staff-theme-dark .cancellation-requests-empty,
body.staff-theme-dark .cancellation-requests-list,
body.staff-theme-dark .apt-modal__summary-title,
body.staff-theme-dark .apt-summary-row span,
body.staff-theme-dark .apt-sub {
  color: #aaa398;
}

body.staff-theme-dark .appointment-details-grid > div,
body.staff-theme-dark .apt-modal__head,
body.staff-theme-dark .new-appointment-form .form-group,
body.staff-theme-dark .appointment-edit-fields .form-group,
body.staff-theme-dark .cancellation-request-card {
  border-color: #3d3e39;
}

body.staff-theme-dark .appointment-details-grid > div {
  background: #2b2c29;
}

body.staff-theme-dark .apt-modal hr,
body.staff-theme-dark .new-appointment-form__actions,
body.staff-theme-dark .appointment-details-grid,
body.staff-theme-dark .appointment-edit-fields,
body.staff-theme-dark .cancellation-requests-list,
body.staff-theme-dark .cancellation-request-card__actions {
  border-color: #3d3e39;
}

body.staff-theme-dark .appt-modal-avatar,
body.staff-theme-dark .appt-modal-remarks p,
body.staff-theme-dark .modal-close,
body.staff-theme-dark .apt-modal__close,
body.staff-theme-dark .new-appointment-form input,
body.staff-theme-dark .new-appointment-form select,
body.staff-theme-dark .appointment-edit-fields input,
body.staff-theme-dark .appointment-edit-fields select,
body.staff-theme-dark .appt-cancellation-form input,
body.staff-theme-dark .appt-cancellation-form textarea,
body.staff-theme-dark .cancellation-request-card__actions .um-btn,
body.staff-theme-dark .new-appointment-form__actions .um-btn {
  background: #302f2b;
  color: #e9e4da;
}

body.staff-theme-dark .new-appointment-form input,
body.staff-theme-dark .new-appointment-form select,
body.staff-theme-dark .appointment-edit-fields input,
body.staff-theme-dark .appointment-edit-fields select,
body.staff-theme-dark .appt-cancellation-form input,
body.staff-theme-dark .appt-cancellation-form textarea {
  border-color: #4a4942;
}

body.staff-theme-dark .new-appointment-form input[readonly] {
  background: #2a2a27;
  color: #aaa398;
}

body.staff-theme-dark .booking-status-message.info,
body.staff-theme-dark .booking-status-message.success,
body.staff-theme-dark .booking-status-message.error {
  color: #e9e4da;
}

body.staff-theme-dark .booking-status-message.success {
  color: #89d9a9;
}

body.staff-theme-dark .booking-status-message.error {
  color: #ff9a9a;
}

body.staff-theme-dark .appt-reschedule-form input,
body.staff-theme-dark .appt-reschedule-form select {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .appt-modal-topbar.status-completed {
  background-color: #d8bb73;
}

body.staff-theme-dark .appt-status-badge.status-completed {
  background-color: rgba(216, 187, 115, 0.16);
  color: #e8ce8b;
}

body.staff-theme-dark .cancellation-request-card {
  border-left-color: #d08d8d;
}

body.staff-theme-dark .apt-pill--gold,
body.staff-theme-dark .apt-tag--medical,
body.staff-theme-dark .apt-tag--personal,
body.staff-theme-dark .apt-tag--resched {
  border-color: rgba(216, 187, 115, 0.4);
  background: rgba(216, 187, 115, 0.12);
  color: #f5d99c;
}

body.staff-theme-dark .apt-pill--red,
body.staff-theme-dark .apt-tag--noshow {
  border-color: rgba(224, 118, 118, 0.42);
  background: rgba(184, 76, 76, 0.12);
  color: #ff9a9a;
}

body.staff-theme-dark .appointment-details-grid {
  background: transparent;
}

body.staff-theme-dark .appointment-inventory-message {
  color: #c8c0b4;
}

body.staff-theme-dark .appointment-inventory-message--error {
  color: #000;
}

body.staff-theme-dark .appointment-inventory-actions,
body.staff-theme-dark .new-appointment-form__actions,
body.staff-theme-dark .appointment-edit-modal form {
  background: transparent;
}

/* Admin workspaces share the staff theme preference and palette. */
body.staff-theme-dark {
  --text-dark: #eee8dd;
  --text-body: #d5cec2;
  --text-muted: #aaa398;
  --border-light: #3d3e39;
  --border-input: #4a4942;
  --bg-input: #292a27;
  --bg-cream: #2b2c29;
  --um-bg-cream: #222421;
  --um-border: #3d3e39;
  --um-text-body: #d5cec2;
  --um-text-faint: #aaa398;
  --um-text-faint-2: #c8c0b4;
  --um-status-active: #d8bb73;
  --um-status-active-bg: #3a3326;
}

body.staff-theme-dark .um-shell,
body.staff-theme-dark .um-main,
body.staff-theme-dark .inquiries-main,
body.staff-theme-dark .inventory-page {
  background: #181a19;
  color: #e9e4da;
}

body.staff-theme-dark .um-sidebar,
body.staff-theme-dark .inv-sidebar {
  border-color: #383a36;
  background: #222321;
  color: #e9e4da;
}

body.staff-theme-dark .um-sidebar__logo,
body.staff-theme-dark .um-sidebar__account,
body.staff-theme-dark .inv-sidebar__logo,
body.staff-theme-dark .inv-sidebar__account {
  border-color: #3d3e39;
}

body.staff-theme-dark .um-sidebar__label,
body.staff-theme-dark .um-sidebar__account-name,
body.staff-theme-dark .um-sidebar__account-role,
body.staff-theme-dark .um-nav-link,
body.staff-theme-dark .inv-sidebar__label,
body.staff-theme-dark .inv-sidebar__account-name,
body.staff-theme-dark .inv-sidebar__account-role,
body.staff-theme-dark .inv-nav-link {
  color: #c9c2b7;
}

body.staff-theme-dark .um-nav-link:not(.um-nav-link--active):hover,
body.staff-theme-dark .inv-nav-link:not(.inv-nav-link--active):hover,
body.staff-theme-dark .admin-nav-group-toggle:hover {
  border-color: #a18447;
  background: #302e29;
  color: #ead9a9;
}

body.staff-theme-dark .um-nav-link--active,
body.staff-theme-dark .inv-nav-link--active {
  border-color: #a18447;
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark .admin-nav-group-toggle {
  color: #c9c2b7;
}

body.staff-theme-dark .admin-nav-group.is-active > .admin-nav-group-toggle:not(:hover),
body.staff-theme-dark .admin-nav-group-toggle.is-active:not(:hover) {
  background: transparent;
  color: #ead9a9;
}

body.staff-theme-dark .admin-nav-submenu,
body.staff-theme-dark .admin-nav-child {
  color: #d5cec2;
}

body.staff-theme-dark .um-sidebar__nav .um-nav-link.admin-nav-child {
  background: transparent;
  color: #d5cec2;
}

body.staff-theme-dark .um-sidebar__nav .um-nav-link.admin-nav-child:not(.um-nav-link--active):hover {
  background: #302e29;
  color: #ead9a9;
}

body.staff-theme-dark .um-sidebar__nav .um-nav-link.admin-nav-child.um-nav-link--active {
  border-left-color: #a18447;
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab {
  background: transparent;
  color: #d5cec2;
}

body.staff-theme-dark section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab:not(.is-active):hover {
  background: #302e29;
  color: #ead9a9;
}

body.staff-theme-dark section.sidebar[aria-label="Finance navigation"] .fin-nav-view-tab.is-active {
  border-left-color: #a18447;
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark .um-sidebar__account-menu {
  border-color: #45453f;
  background: #292a27;
}

body.staff-theme-dark .um-sidebar__logout {
  color: #e9e4da;
}

body.staff-theme-dark .um-sidebar__logout:hover {
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark .um-avatar,
body.staff-theme-dark .inv-avatar {
  background: #3a3326;
  color: #e8ce8b;
}

body.staff-theme-dark .um-header {
  border-color: #383a36;
  background: #222321;
  color: #e9e4da;
}

body.staff-theme-dark .um-header__title,
body.staff-theme-dark .um-dashboard-panel h2,
body.staff-theme-dark .admin-dashboard-section__heading h2,
body.staff-theme-dark .admin-dashboard-panel__heading h2,
body.staff-theme-dark .appointments-section h2,
body.staff-theme-dark .appointment-card h3,
body.staff-theme-dark .inquiry-list-heading,
body.staff-theme-dark .inquiry-detail,
body.staff-theme-dark .inquiry-detail h2,
body.staff-theme-dark .inquiry-detail h3,
body.staff-theme-dark .cm-service-name,
body.staff-theme-dark .cm-editor,
body.staff-theme-dark .um-modal,
body.staff-theme-dark .um-modal__name,
body.staff-theme-dark .um-modal__row strong,
body.staff-theme-dark .apt-modal,
body.staff-theme-dark .apt-modal__head,
body.staff-theme-dark .apt-modal__summary,
body.staff-theme-dark .apt-summary-row,
body.staff-theme-dark .apt-summary-row strong {
  color: #eee8dd;
}

body.staff-theme-dark .um-header__subtitle,
body.staff-theme-dark .admin-dashboard-panel__eyebrow,
body.staff-theme-dark .admin-dashboard-panel__marker,
body.staff-theme-dark .admin-dashboard-placeholder-text,
body.staff-theme-dark .appointment-card p,
body.staff-theme-dark .appointment-fee,
body.staff-theme-dark .inquiry-detail-empty,
body.staff-theme-dark .inquiries-list-count,
body.staff-theme-dark .inquiries-search-label,
body.staff-theme-dark .inquiry-list-meta,
body.staff-theme-dark .inquiry-detail-meta,
body.staff-theme-dark .cm-select-field span,
body.staff-theme-dark .cm-search-field span,
body.staff-theme-dark .cm-editor__hint,
body.staff-theme-dark .um-modal__label,
body.staff-theme-dark .um-modal__bignum-label,
body.staff-theme-dark .um-modal__row span,
body.staff-theme-dark .apt-modal__summary-title,
body.staff-theme-dark .apt-summary-row,
body.staff-theme-dark .apt-reason-count {
  color: #aaa398;
}

body.staff-theme-dark .um-dashboard-panel,
body.staff-theme-dark .admin-dashboard-section,
body.staff-theme-dark .admin-dashboard-stat,
body.staff-theme-dark .admin-dashboard-stat__icon,
body.staff-theme-dark .admin-dashboard-empty-state,
body.staff-theme-dark .appointments-list,
body.staff-theme-dark .appointment-card,
body.staff-theme-dark .appointments-empty,
body.staff-theme-dark .inquiries-workspace,
body.staff-theme-dark .inquiries-list-panel,
body.staff-theme-dark .inquiry-detail,
body.staff-theme-dark .inquiry-list-item,
body.staff-theme-dark .cm-card,
body.staff-theme-dark .cm-service-item,
body.staff-theme-dark .cm-panel,
body.staff-theme-dark .um-table-wrap,
body.staff-theme-dark .um-stat-card,
body.staff-theme-dark .um-modal,
body.staff-theme-dark .apt-card,
body.staff-theme-dark .apt-side-card,
body.staff-theme-dark .apt-modal__card,
body.staff-theme-dark .um-modal__note-card,
body.staff-theme-dark .um-modal__grid > div,
body.staff-theme-dark .admin-notification-dropdown {
  border-color: #3d3e39;
  background: #222421;
  color: #e9e4da;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

body.staff-theme-dark .admin-dashboard-empty-state {
  border-color: #4a4942;
  background: #2b2c29;
}

body.staff-theme-dark .admin-dashboard-empty-state > img {
  background: #373126;
}

body.staff-theme-dark .admin-dashboard-empty-state__details strong {
  color: #eee8dd;
}

body.staff-theme-dark .admin-dashboard-empty-state__details span {
  color: #aaa398;
}

body.staff-theme-dark .admin-dashboard-activity-item {
  border-color: #3d3e39;
}

body.staff-theme-dark .admin-dashboard-activity-item:hover {
  background: #302e29;
}

body.staff-theme-dark .admin-dashboard-activity-item:hover .admin-dashboard-activity-item__details strong {
  color: #ead9a9;
}

body.staff-theme-dark .admin-dashboard-activity-item__icon {
  border-color: #4a4942;
  background: #2b2c29;
}

body.staff-theme-dark .inquiries-list-toolbar,
body.staff-theme-dark .inquiry-list-item,
body.staff-theme-dark .cm-card .um-tabs,
body.staff-theme-dark .cm-services-toolbar,
body.staff-theme-dark .um-table td,
body.staff-theme-dark .um-modal__main > hr,
body.staff-theme-dark .um-modal__note-card hr,
body.staff-theme-dark .apt-toolbar,
body.staff-theme-dark .apt-modal__summary,
body.staff-theme-dark .apt-modal__head {
  border-color: #3d3e39;
}

body.staff-theme-dark .um-table thead tr,
body.staff-theme-dark .um-table th,
body.staff-theme-dark .inquiry-list-item:hover,
body.staff-theme-dark .inquiry-list-item--selected,
body.staff-theme-dark .inquiry-filter:hover,
body.staff-theme-dark .cm-mini-tag {
  background: #2b2c29;
  color: #e9e4da;
}

body.staff-theme-dark .inquiry-list-item--selected {
  box-shadow: inset 3px 0 0 #d8bb73;
}

body.staff-theme-dark .um-table td,
body.staff-theme-dark .um-table th,
body.staff-theme-dark .inquiry-list-item {
  border-color: #3d3e39;
}

body.staff-theme-dark .um-table tbody tr:hover {
  background: #2b2c29;
}

body.staff-theme-dark .um-table__checkbox-col,
body.staff-theme-dark .cm-search-control,
body.staff-theme-dark .inquiries-search,
body.staff-theme-dark .inquiry-reply-input,
body.staff-theme-dark .cm-select-field select,
body.staff-theme-dark .cm-search-field input,
body.staff-theme-dark .cm-form input,
body.staff-theme-dark .cm-form select,
body.staff-theme-dark .cm-form textarea,
body.staff-theme-dark .um-search input,
body.staff-theme-dark .apt-search-input,
body.staff-theme-dark .apt-date-range,
body.staff-theme-dark .apt-toolbar input,
body.staff-theme-dark .apt-toolbar select,
body.staff-theme-dark .um-modal input,
body.staff-theme-dark .um-modal select,
body.staff-theme-dark .um-modal textarea,
body.staff-theme-dark .um-modal__grid input,
body.staff-theme-dark .um-modal__grid select,
body.staff-theme-dark .um-modal__grid textarea {
  border-color: #4a4942;
  background: #292a27;
  color: #eee8dd;
}

body.staff-theme-dark .um-search input::placeholder,
body.staff-theme-dark .inquiries-search::placeholder,
body.staff-theme-dark .cm-search-field input::placeholder {
  color: #a39c90;
}

body.staff-theme-dark .cm-search-control {
  border-color: #4a4942;
  background: #292a27;
}

body.staff-theme-dark .cm-search-control input {
  border: 0;
  background: transparent;
  color: #eee8dd;
}

body.staff-theme-dark .um-btn--ghost {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .um-btn--ghost:hover,
body.staff-theme-dark .um-tab:hover,
body.staff-theme-dark .apt-icon-btn:hover {
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark .inquiry-filter--active,
body.staff-theme-dark .um-tab--active {
  border-color: #a18447;
  background: #3a3326;
  color: #e8ce8b;
}

body.staff-theme-dark .um-modal-overlay,
body.staff-theme-dark .apt-modal-overlay,
body.staff-theme-dark .admin-modal-overlay,
body.staff-theme-dark .client-modal-overlay {
  background: rgba(0, 0, 0, 0.76);
}

body.staff-theme-dark .client-detail-modal {
  border-color: #3d3e39;
  background: #222421;
  color: #e9e4da;
}

body.staff-theme-dark .client-detail-modal h2,
body.staff-theme-dark .client-detail-modal strong,
body.staff-theme-dark .client-detail-modal p {
  color: #e9e4da;
}

body.staff-theme-dark .client-detail-close {
  background: #302f2b;
  color: #d5cec2;
}

body.staff-theme-dark .um-modal__side,
body.staff-theme-dark .um-modal__photo,
body.staff-theme-dark .apt-modal__summary,
body.staff-theme-dark .apt-modal__summary-title {
  border-color: #3d3e39;
  background: #2b2c29;
}

body.staff-theme-dark .um-modal__note-card,
body.staff-theme-dark .inquiry-message,
body.staff-theme-dark .inquiry-reply {
  background: #2b2c29;
  color: #d5cec2;
}

body.staff-theme-dark .um-modal__btn-outline-gold {
  border-color: #a18447;
  color: #e8ce8b;
}

body.staff-theme-dark .um-stat-card__hint--positive,
body.staff-theme-dark .apt-summary-row .apt-summary-row__good,
body.staff-theme-dark .fin-deposit-stats small {
  color: #d8bb73;
}

body.staff-theme-dark .admin-notification-dropdown strong {
  border-color: #45453f;
  background: #292a27;
  color: #eee8dd;
}

body.staff-theme-dark .admin-notification-item {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .admin-notification-item:hover {
  background: #373126;
}

body.staff-theme-dark .admin-notification-timestamp {
  color: #aaa398;
}

.staff-theme-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .staff-theme-header-actions {
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .staff-theme-toggle--header {
    display: none;
  }

  .staff-theme-toggle--sidebar {
    display: flex;
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    margin: 0 0 12px;
    padding: 10px 12px;
  }

  body.staff-theme-dark section.staff-sidebar.mobile-sidebar-open {
    border-right: 1px solid #383a36;
    background: #222321;
  }
}

/* ===== CUSTOMER DARK THEME ===== */
body.customer-theme-dark {
  --text-dark: #eee8dd;
  --text-body: #c9c2b7;
  --text-muted: #aaa398;
  --ink: #eee8dd;
  --ink-soft: #c9c2b7;
  --white: #222421;
  --cream: #181a19;
  --line: #41413b;
  --border-light: #41413b;
  --border-input: #4a4942;
  --bg-input: #292a27;
  --bg-cream: #222421;
  --cream-2: #222421;
  background: #181a19;
  color: #e9e4da;
  color-scheme: dark;
}

body.customer-theme-dark .public-header,
body.customer-theme-dark .header-pill,
body.customer-theme-dark .mobile-nav-drawer,
body.customer-theme-dark .profile-dropdown,
body.customer-theme-dark .notification-dropdown {
  border-color: #41413b;
  background: #222421;
  color: #e9e4da;
}

body.customer-theme-dark .public-header .glass-pill,
body.customer-theme-dark .mobile-nav-drawer .glass-pill {
  background: rgba(34, 36, 33, 0.96);
}

body.homepage.customer-theme-dark .public-header,
body.homepage.customer-theme-dark .public-header .header-pill,
body.client-header.customer-theme-dark .public-header,
body.client-header.customer-theme-dark .public-header .header-pill {
  border-color: transparent;
  background: transparent;
}

body.customer-theme-dark .public-nav-links li a,
body.customer-theme-dark .mobile-nav-links li a,
body.customer-theme-dark .profile-dropdown-item,
body.customer-theme-dark .notification-dropdown-header {
  color: #e9e4da;
}

body.customer-theme-dark .public-nav-links li a.active,
body.customer-theme-dark .mobile-nav-links li a:hover,
body.customer-theme-dark .mobile-nav-links li a.active,
body.customer-theme-dark .profile-dropdown-item:hover {
  background: #373126;
  color: #ead9a9;
}

body.customer-theme-dark .theme-toggle {
  background: #302e29;
}

body.customer-theme-dark .theme-toggle:hover {
  background: #3a3427;
}

body.customer-theme-dark .notification,
body.customer-theme-dark .profile-dropdown,
body.customer-theme-dark .notification-dropdown,
body.customer-theme-dark .notification-dropdown-header,
body.customer-theme-dark .notification-list {
  border-color: #41413b;
  color: #e9e4da;
}

body.customer-theme-dark .booking-main,
body.customer-theme-dark .my-appointments-main,
body.customer-theme-dark .summary-page-main,
body.customer-theme-dark .account-page,
body.customer-theme-dark .contact-page,
body.customer-theme-dark .about-page,
body.customer-theme-dark.services,
body.customer-theme-dark.client-header {
  background-color: #181a19;
  color: #e9e4da;
}

body.customer-theme-dark .booking-intro h1,
body.customer-theme-dark .account-heading,
body.customer-theme-dark .account-section-title,
body.customer-theme-dark .account-section label,
body.customer-theme-dark .appointments-section h2,
body.customer-theme-dark .appointment-card h3,
body.customer-theme-dark .contact-title,
body.customer-theme-dark .form-title,
body.customer-theme-dark .about-title,
body.customer-theme-dark .story-heading,
body.customer-theme-dark .team-heading,
body.customer-theme-dark .team-name,
body.customer-theme-dark .services-headline,
body.customer-theme-dark .services-section h2,
body.customer-theme-dark .summary-page-main h1,
body.customer-theme-dark .summary-page-main h2 {
  color: #eee8dd;
}

body.customer-theme-dark .booking-intro p,
body.customer-theme-dark .booking-panel-label,
body.customer-theme-dark .service-category-label,
body.customer-theme-dark .service-list-placeholder,
body.customer-theme-dark .service-desc,
body.customer-theme-dark .service-reservation-fee,
body.customer-theme-dark .account-sub,
body.customer-theme-dark .about-breadcrumb,
body.customer-theme-dark .contact-breadcrumb,
body.customer-theme-dark .story-text,
body.customer-theme-dark .team-subtitle,
body.customer-theme-dark .team-specialty,
body.customer-theme-dark .team-experience,
body.customer-theme-dark .info-sub,
body.customer-theme-dark .form-subtitle,
body.customer-theme-dark .appointments-message,
body.customer-theme-dark .appointment-card p,
body.customer-theme-dark .checkout-back-link {
  color: #aaa398;
}

body.customer-theme-dark .booking-panel,
body.customer-theme-dark .service-card,
body.customer-theme-dark .account-section,
body.customer-theme-dark .appointment-card,
body.customer-theme-dark .appointments-empty,
body.customer-theme-dark .contact-info-card,
body.customer-theme-dark .contact-form-col,
body.customer-theme-dark .team-info,
body.customer-theme-dark .login-panel,
body.customer-theme-dark .login-panel-inner,
body.customer-theme-dark .registration-panel,
body.customer-theme-dark .register-panel,
body.customer-theme-dark .summary-card,
body.customer-theme-dark .appointment-summary-card,
body.customer-theme-dark .booking-summary,
body.customer-theme-dark .booking-summary-card {
  border-color: #3d3e39;
  background-color: #222421;
  color: #e9e4da;
}

body.customer-theme-dark .booking-notice {
  color: #c9c2b7;
}

body.customer-theme-dark .booking-notice strong {
  color: #eee8dd;
}

body.customer-theme-dark .summary-page-main .booking-panel {
  background-color: #1f201d;
  border-color: #3d3e39;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.customer-theme-dark .summary-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.customer-theme-dark .summary-row span:first-child {
  color: #aaa398;
}

body.customer-theme-dark .summary-row span:last-child {
  color: #eee8dd;
}

body.customer-theme-dark .summary-total span:first-child {
  color: #eee8dd;
}

body.customer-theme-dark .summary-note,
body.customer-theme-dark .summary-list li,
body.customer-theme-dark #paymongoCheckout,
body.customer-theme-dark .summary-location,
body.customer-theme-dark .summary-location strong {
  color: #e9e4da;
}

body.customer-theme-dark .summary-list li::before {
  background-color: #d8bb73;
}

body.customer-theme-dark .summary-location {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid #3d3e39;
}

body.customer-theme-dark .checkout-section-title,
body.customer-theme-dark .summary-section-title {
  color: #d8bb73;
}

body.customer-theme-dark .service-card.selected,
body.customer-theme-dark .service-card:hover,
body.customer-theme-dark .calendar-day.available:hover {
  background-color: #373126;
}

body.customer-theme-dark .service-name,
body.customer-theme-dark .calendar-header h3,
body.customer-theme-dark .calendar-weekday,
body.customer-theme-dark .calendar-day,
body.customer-theme-dark .info-title {
  color: #e9e4da;
}

body.customer-theme-dark .service-category-select,
body.customer-theme-dark .booking-panel input,
body.customer-theme-dark .booking-panel select,
body.customer-theme-dark .booking-panel textarea,
body.customer-theme-dark .account-section input,
body.customer-theme-dark .auth-form-group input,
body.customer-theme-dark .form-field input,
body.customer-theme-dark .form-field select,
body.customer-theme-dark .form-field textarea {
  border-color: #4a4942;
  background-color: #292a27;
  color: #eee8dd;
}

body.customer-theme-dark .service-search-wrap {
  border-color: #4a4942;
  background-color: #292a27;
}

body.customer-theme-dark .service-search {
  border: 0;
  background: transparent;
  color: #eee8dd;
}

body.customer-theme-dark .account-section input:disabled {
  background-color: #292a27;
  color: #c9c2b7;
}

body.customer-theme-dark .calendar-day:not(.available),
body.customer-theme-dark .calendar-nav button,
body.customer-theme-dark .account-edit-btn,
body.customer-theme-dark .account-form-actions .btn-outline,
body.customer-theme-dark .appointment-cancel-btn {
  border-color: #4a4942;
  background-color: #292a27;
  color: #d5cec2;
}

body.customer-theme-dark .calendar-day:not(.available) {
  background-color: transparent;
  color: #77776f;
}

body.customer-theme-dark .calendar-nav button:disabled,
body.customer-theme-dark .calendar-nav button:disabled:hover {
  background-color: transparent;
  color: #77776f;
}

body.customer-theme-dark .slot-btn {
  border-color: #4a4942;
  background-color: #292a27;
  color: #e9e4da;
}

body.customer-theme-dark .slot-btn:hover:not(.disabled):not(.selected) {
  border-color: #c9a84c;
  background-color: #373126;
  color: #f1dfaa;
}

body.customer-theme-dark .slot-btn.selected {
  border-color: #c9a84c;
  background-color: #c9a84c;
  color: white;
}

body.customer-theme-dark .slot-btn.disabled {
  border-color: #363732;
  background-color: #292a27;
  color: #77776f;
}

body.customer-theme-dark .team-section {
  border-color: #a18447;
  background-color: #222421;
}

body.customer-theme-dark .login-layout,
body.customer-theme-dark .registration-layout,
body.customer-theme-dark .reset-layout {
  background-color: #181a19;
  color: #e9e4da;
}

body.customer-theme-dark .auth-form-group label,
body.customer-theme-dark .form-field label,
body.customer-theme-dark .auth-form-row,
body.customer-theme-dark .form-footer,
body.customer-theme-dark .login-panel p {
  color: #c9c2b7;
}

body.customer-theme-dark .auth-modal-overlay,
body.customer-theme-dark .sg-modal-overlay,
body.customer-theme-dark .otp-modal {
  background-color: rgba(0, 0, 0, 0.76);
}

body.customer-theme-dark .auth-modal,
body.customer-theme-dark .sg-modal-box,
body.customer-theme-dark .otp-modal > div {
  border-color: #3d3e39;
  background-color: #222421;
  color: #e9e4da;
}

body.customer-theme-dark .story-stats,
body.customer-theme-dark .info-row,
body.customer-theme-dark .contact-form,
body.customer-theme-dark .account-section-header {
  border-color: #41413b;
}

body.customer-theme-dark .index-footer,
body.customer-theme-dark .public-footer {
  border-color: #41413b;
}

body.customer-theme-dark .mobile-nav-overlay {
  background: rgba(0, 0, 0, 0.72);
}

body.customer-theme-dark .theme-toggle-icon {
  filter: invert(1);
}

body.customer-theme-dark .form-status.success,
body.customer-theme-dark .account-success {
  color: #d8bb73;
}

body.customer-theme-dark .notification,
body.customer-theme-dark .admin-notification-btn {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.customer-theme-dark .notification:hover,
body.customer-theme-dark .admin-notification-btn:hover {
  background: #373126;
}

body.customer-theme-dark .notification img,
body.customer-theme-dark .notification-bell {
  filter: brightness(0) invert(0.9);
}

body.customer-theme-dark .hero {
  background-image: radial-gradient(ellipse 32% 56% at 77% 48%, rgba(146, 119, 61, 0.38) 0%, rgba(78, 67, 43, 0.26) 44%, rgba(24, 26, 25, 0) 100%);
}

body.customer-theme-dark .hero-visual::before {
  background: none;
}

body.customer-theme-dark .hero-copy::before {
  left: -6%;
  width: 112%;
  height: min(110%, 680px);
  background: radial-gradient(ellipse at 46% 50%, rgba(137, 111, 57, 0.46) 0%, rgba(72, 63, 42, 0.3) 42%, rgba(24, 26, 25, 0) 72%);
}

body.customer-theme-dark .hero-photo-img {
  mix-blend-mode: normal;
}

body.customer-theme-dark .appointment-process__icon {
  border-color: #4a463c;
  background: #292a27;
  color: #e5cf91;
}

body.customer-theme-dark .appointment-process__icon svg {
  color: #e5cf91;
}

body.customer-theme-dark .client-appointment-section-heading h2,
body.customer-theme-dark .cal-title,
body.customer-theme-dark .cal-icon,
body.customer-theme-dark .cal-daynum,
body.customer-theme-dark .cal-daynum.is-today,
body.customer-theme-dark .appt-modal-card h3,
body.customer-theme-dark .appt-rating-heading,
body.customer-theme-dark .appt-detail-row {
  color: #eee8dd;
}

body.customer-theme-dark .client-appointment-history-link,
body.customer-theme-dark .client-appointment-view,
body.customer-theme-dark .cal-nav-btn,
body.customer-theme-dark .cal-toggle-btn,
body.customer-theme-dark .modal-btn-cancel {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

body.customer-theme-dark .client-appointment-history-link:hover,
body.customer-theme-dark .client-appointment-view:hover,
body.customer-theme-dark .cal-nav-btn:hover,
body.customer-theme-dark .cal-toggle-btn:hover {
  background: #373126;
  color: #ead9a9;
}

body.customer-theme-dark .cal-toggle-btn.active {
  border-color: #a18447;
  background: #a18447;
  color: #181a19;
}

body.customer-theme-dark .client-appointment-card,
body.customer-theme-dark .appt-modal,
body.customer-theme-dark .appt-modal-card,
body.customer-theme-dark .modal-box {
  border-color: #3d3e39;
  background: #222421;
  color: #e9e4da;
}

body.customer-theme-dark .client-appointment-details h3,
body.customer-theme-dark .appt-modal-heading h3,
body.customer-theme-dark .appt-field-value,
body.customer-theme-dark .modal-title,
body.customer-theme-dark .appt-rating-heading {
  color: #eee8dd;
}

body.customer-theme-dark .client-appointment-details p,
body.customer-theme-dark .appt-modal-heading p,
body.customer-theme-dark .appt-field-label,
body.customer-theme-dark .appt-detail-label,
body.customer-theme-dark .modal-subtitle,
body.customer-theme-dark .modal-footnote {
  color: #aaa398;
}

body.customer-theme-dark .client-appointment-count,
body.customer-theme-dark .cal-cell.other-month,
body.customer-theme-dark .cal-chip.is-cancelled,
body.customer-theme-dark #calWeekView .appt-chip-week.is-cancelled {
  border-color: #41413b;
  background: #292a27;
  color: #aaa398;
}

body.customer-theme-dark .cal-grid,
body.customer-theme-dark .cal-cell,
body.customer-theme-dark .week-body,
body.customer-theme-dark .week-day-col-bg,
body.customer-theme-dark .appt-modal hr,
body.customer-theme-dark .appt-detail-row,
body.customer-theme-dark .appt-rating-section {
  border-color: #41413b;
}

body.customer-theme-dark .cal-daynum.is-today {
  border-color: #d8bb73;
}

body.customer-theme-dark .cal-chip,
body.customer-theme-dark #calWeekView .appt-chip-week {
  border-left-color: #a18447;
}

body.customer-theme-dark .team-info {
  border: 1px solid #41413b;
  border-top: 0;
  background: #292a27;
}

body.customer-theme-dark .team-name {
  color: #f1ede5;
}

body.customer-theme-dark .team-role {
  color: #dfc27d;
}

body.customer-theme-dark .team-specialty,
body.customer-theme-dark .team-experience {
  color: #c9c2b7;
}

body.customer-theme-dark .contact-info-card,
body.customer-theme-dark .contact-form-col {
  border-right: 1px solid #41413b;
  border-bottom: 1px solid #41413b;
  border-left: 1px solid #41413b;
  border-radius: 8px;
  background: #292a27;
}

body.customer-theme-dark .contact-info-card {
  padding: 20px 24px 24px;
}

body.customer-theme-dark .contact-form-col {
  padding: 20px 24px 24px;
}

body.staff-theme-dark #contentManagementMain .cm-content-card,
body.staff-theme-dark #contentManagementMain .cm-announcement-card {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark #contentManagementMain .cm-content-card__label {
  color: #c9a84c;
}

body.staff-theme-dark #contentManagementMain .cm-content-card__title {
  color: #f1ede5;
}

body.staff-theme-dark #contentManagementMain .cm-content-card__body {
  color: #c9c2b7;
}

body.staff-theme-dark #contentManagementMain .cm-content-card__controls a,
body.staff-theme-dark #contentManagementMain .cm-content-card__controls button {
  color: #dfc27d;
}

body.staff-theme-dark #contentManagementMain .cm-content-card__image--empty {
  background: #373833;
  color: #c9c2b7;
}

body.staff-theme-dark .fin-report-section-heading h2 {
  color: #eee8dd;
}

body.staff-theme-dark .fin-report-section-heading p,
body.staff-theme-dark .fin-report-band-period {
  color: #c9c2b7;
}

body.staff-theme-dark .fin-report-section-heading {
  border-color: #45453f;
}

body.staff-theme-dark .fin-expenses-page .fin-expense-summary-total {
  border-color: #45453f;
  background: #292a27;
}

body.staff-theme-dark .fin-expenses-page .fin-expense-overview article > span:first-child,
body.staff-theme-dark .fin-expenses-page .fin-expense-overview article > strong,
body.staff-theme-dark .fin-expenses-page .fin-expense-overview article strong#expenseTotal,
body.staff-theme-dark .fin-expenses-page .fin-expense-overview article span#machineExpenseTotal,
body.staff-theme-dark .fin-expenses-page .fin-expense-overview article span#utilitiesExpenseTotal {
  color: #eee8dd;
}

body.staff-theme-dark .fin-expenses-page .fin-chart-frame.is-empty .fin-chart-empty {
  border: 1px solid #41413b;
  background: #292a27;
  color: #c9c2b7;
}

body.staff-theme-dark .dashboard-empty-state {
  border-color: #41413b;
  background: #292a27;
  color: #c9c2b7;
}

body.staff-theme-dark .client-name-cell strong,
body.staff-theme-dark #appointmentsMain .apt-table .apt-name {
  color: #eee8dd;
}

body.staff-theme-dark .client-name-cell small,
body.staff-theme-dark #appointmentsMain .apt-table .apt-sub,
body.staff-theme-dark #appointmentsMain .apt-table td:nth-child(5) {
  color: #c9c2b7;
}

body.customer-theme-dark .cal-chip-time {
  color: #c9b98d;
}

body.customer-theme-dark .cal-chip.is-cancelled,
body.customer-theme-dark #calWeekView .appt-chip-week.is-cancelled {
  border-left-color: #77736a;
}

body.customer-theme-dark .appt-reschedule-form input,
body.customer-theme-dark .appt-reschedule-form select,
body.customer-theme-dark .appt-reschedule-form textarea,
body.customer-theme-dark .appt-cancellation-form input,
body.customer-theme-dark .appt-cancellation-form textarea,
body.customer-theme-dark .appt-rating-comment,
body.customer-theme-dark .otp-digit {
  border-color: #4a4942;
  background: #292a27;
  color: #eee8dd;
}

body.customer-theme-dark .faq-chat-panel {
  border: 1px solid #45453f;
  background: #222421;
  color: #e9e4da;
}

body.customer-theme-dark .faq-chat-messages {
  background: #181a19;
  color: #e9e4da;
}

body.customer-theme-dark .faq-chat-message {
  border-color: #41413b;
  background: #292a27;
  color: #e9e4da;
}

body.customer-theme-dark .faq-chat-input,
body.customer-theme-dark .modal-form input,
body.customer-theme-dark .modal-form select,
body.customer-theme-dark .modal-form textarea {
  border-color: #4a4942;
  background: #292a27;
  color: #eee8dd;
}

body.customer-theme-dark .faq-chat-input::placeholder,
body.customer-theme-dark .modal-form input::placeholder {
  color: #aaa398;
}

body.staff-theme-dark #adminDashboardMain,
body.staff-theme-dark #appointmentsMain,
body.staff-theme-dark #userManagementMain,
body.staff-theme-dark #contentManagementMain,
body.staff-theme-dark #adminInventoryMain {
  background: #181a19;
  color: #e9e4da;
}

body.staff-theme-dark #adminDashboardMain > .um-header,
body.staff-theme-dark #appointmentsMain > .um-header,
body.staff-theme-dark #userManagementMain > .um-header,
body.staff-theme-dark #contentManagementMain > .um-header,
body.staff-theme-dark #adminInventoryMain > .um-header {
  border-color: #383a36;
  background: #222321;
  color: #e9e4da;
}

body.staff-theme-dark #adminDashboardMain > .um-header .um-header__title,
body.staff-theme-dark #appointmentsMain > .um-header .um-header__title,
body.staff-theme-dark #contentManagementMain > .um-header .um-header__title,
body.staff-theme-dark #adminInventoryMain > .um-header .um-header__title {
  color: #eee8dd;
}

body.staff-theme-dark #adminDashboardMain > .um-header .um-header__subtitle,
body.staff-theme-dark #appointmentsMain > .um-header .um-header__subtitle,
body.staff-theme-dark #contentManagementMain > .um-header .um-header__subtitle,
body.staff-theme-dark #adminInventoryMain > .um-header .um-header__subtitle {
  color: #aaa398;
}

body.staff-theme-dark #adminDashboardMain .admin-dashboard-attention-item,
body.staff-theme-dark #appointmentsMain .admin-dashboard-attention-item,
body.staff-theme-dark #contentManagementMain .admin-dashboard-attention-item,
body.staff-theme-dark #adminInventoryMain .admin-dashboard-attention-item {
  border-color: #45453f;
  background: #292a27;
}

body.staff-theme-dark #adminDashboardMain > .um-header .admin-notification-btn,
body.staff-theme-dark #appointmentsMain > .um-header .admin-notification-btn,
body.staff-theme-dark #userManagementMain > .um-header .admin-notification-btn,
body.staff-theme-dark #contentManagementMain > .um-header .admin-notification-btn,
body.staff-theme-dark #adminInventoryMain > .um-header .admin-notification-btn {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark #adminDashboardMain > .um-header .admin-notification-btn:hover,
body.staff-theme-dark #appointmentsMain > .um-header .admin-notification-btn:hover,
body.staff-theme-dark #userManagementMain > .um-header .admin-notification-btn:hover,
body.staff-theme-dark #contentManagementMain > .um-header .admin-notification-btn:hover,
body.staff-theme-dark #adminInventoryMain > .um-header .admin-notification-btn:hover {
  background: #373126;
}

body.staff-theme-dark .um-sidebar-toggle {
  border-color: #45453f;
  background: #292a27;
}

body.staff-theme-dark .um-sidebar-toggle span {
  background: #e9e4da;
}

body.staff-theme-dark .um-header .admin-notification-btn {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .um-header .admin-notification-btn:hover {
  background: #373126;
}

body.staff-theme-dark .um-header .admin-notification-btn img {
  filter: brightness(0) invert(0.9);
}

body.staff-theme-dark #appointmentsMain .um-search,
body.staff-theme-dark #appointmentsMain .um-btn--ghost,
body.staff-theme-dark #appointmentsMain .um-stat-card,
body.staff-theme-dark #appointmentsMain .apt-card,
body.staff-theme-dark #appointmentsMain .apt-side-card,
body.staff-theme-dark #appointmentsMain .apt-toolbar {
  border-color: #3d3e39;
  background: #222421;
  color: #e9e4da;
}

body.staff-theme-dark #appointmentsMain .um-search,
body.staff-theme-dark #appointmentsMain .um-btn--ghost {
  border-color: #4a4942;
  background: #292a27;
}

body.staff-theme-dark #appointmentsMain .um-search input,
body.staff-theme-dark #appointmentsMain .um-search input::placeholder {
  color: #c9c2b7;
}

body.staff-theme-dark #appointmentsMain .apt-table thead tr,
body.staff-theme-dark #appointmentsMain .apt-table th {
  border-color: #3d3e39;
  background: #2b2c29;
  color: #bdb5a8;
}

body.staff-theme-dark #appointmentsMain .apt-table td {
  border-color: #383934;
  color: #d5cec2;
}

body.staff-theme-dark #appointmentsMain .apt-table tbody tr:hover,
body.staff-theme-dark #appointmentsMain .apt-table tbody tr:hover td,
body.staff-theme-dark #appointmentsMain .apt-table tbody tr.apt-row--live,
body.staff-theme-dark #appointmentsMain .apt-table tbody tr.apt-row--live td {
  background: #2b2c29;
}

body.staff-theme-dark #appointmentsMain .apt-table .apt-ref strong {
  color: #dfc27d;
}

body.staff-theme-dark #appointmentsMain .apt-table .apt-ref span,
body.staff-theme-dark #appointmentsMain .apt-table .apt-sub,
body.staff-theme-dark #appointmentsMain .apt-table td:nth-child(5) {
  color: #c9c2b7;
}

body.staff-theme-dark #appointmentsMain .apt-action {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark #appointmentsMain .apt-action--view,
body.staff-theme-dark #appointmentsMain .apt-action--rebook {
  border-color: #6c5b36;
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark #appointmentsMain .apt-action:hover {
  border-color: #a18447;
  background: #443a28;
  color: #f1e3bd;
}

body.staff-theme-dark .fin-deposit-stats div {
  border-color: #41413b;
  background: #292a27;
}

body.staff-theme-dark .fin-deposit-stats dt {
  color: #c9c2b7;
}

body.staff-theme-dark .fin-deposit-stats dd {
  color: #dfc27d;
}

body.staff-theme-dark .fin-deposit-stats small {
  color: #d8bb73;
}

body.staff-theme-dark .cm-editor {
  border-color: #45453f;
  background: #222421;
  color: #e9e4da;
  color-scheme: dark;
}

body.staff-theme-dark .cm-editor::backdrop {
  background: rgba(0, 0, 0, .76);
}

body.staff-theme-dark .cm-editor__header h2 {
  color: #eee8dd;
}

body.staff-theme-dark .cm-editor__field,
body.staff-theme-dark .cm-editor__checkbox,
body.staff-theme-dark .cm-editor__section-title {
  color: #d5cec2;
}

body.staff-theme-dark .cm-editor__input {
  border-color: #4a4942;
  background: #292a27;
  color: #eee8dd;
}

body.staff-theme-dark .cm-editor__input::placeholder {
  color: #aaa398;
}

body.staff-theme-dark .cm-editor__close {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .cm-editor__close:hover {
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark .cm-editor__image-preview {
  border-color: #45453f;
  background: #292a27;
}

body.staff-theme-dark .cm-editor__error,
body.staff-theme-dark #contentManagementMain .cm-notice--error {
  color: #ffaaa2;
}

body.staff-theme-dark.InventoryManagement .batch-upload-dialog {
  border-color: #45453f;
  background: #222421;
  color: #e9e4da;
  color-scheme: dark;
}

body.staff-theme-dark.InventoryManagement .batch-upload-heading h2,
body.staff-theme-dark.InventoryManagement .batch-review-heading h3,
body.staff-theme-dark.InventoryManagement .batch-file-label,
body.staff-theme-dark.InventoryManagement .batch-input-label {
  color: #eee8dd;
}

body.staff-theme-dark.InventoryManagement .batch-upload-help,
body.staff-theme-dark.InventoryManagement .batch-review-table td {
  color: #c9c2b7;
}

body.staff-theme-dark.InventoryManagement .batch-upload-close,
body.staff-theme-dark.InventoryManagement .batch-row-delete {
  color: #dfc27d;
}

body.staff-theme-dark.InventoryManagement .batch-upload-modal input,
body.staff-theme-dark.InventoryManagement .batch-upload-modal select {
  border-color: #4a4942;
  background: #292a27;
  color: #eee8dd;
}

body.staff-theme-dark.InventoryManagement .batch-upload-modal input::placeholder {
  color: #aaa398;
}

body.staff-theme-dark.InventoryManagement .batch-preview-image,
body.staff-theme-dark.InventoryManagement .batch-table-wrap {
  border-color: #45453f;
}

body.staff-theme-dark.InventoryManagement .batch-review-table th {
  border-color: #45453f;
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark.InventoryManagement .batch-review-table td {
  border-color: #41413b;
}

body.staff-theme-dark.InventoryManagement .batch-review-table .batch-row--review td {
  background: #302a21;
}

body.staff-theme-dark.InventoryManagement .batch-review-reason {
  color: #e6bd7b;
}

body.staff-theme-dark.InventoryManagement .batch-existing-badge {
  background: #28392c;
  color: #b8d9b9;
}

body.staff-theme-dark.InventoryManagement .batch-raw-text pre {
  background: #292a27;
  color: #d5cec2;
}

body.staff-theme-dark.InventoryManagement .batch-action-button.batch-secondary {
  border-color: #4a4942;
  background: #292a27;
  color: #e9e4da;
}

/* Shared notification presentation for every role */
.notification-wrap,
.admin-notification-wrap {
  position: relative;
  flex-shrink: 0;
}

.notification,
.admin-notification-btn {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e2db;
  border-radius: 6px;
  background: #fff;
  color: #201c18;
}

.notification:hover,
.admin-notification-btn:hover {
  background: #f5e9d6;
}

.notification img,
.admin-notification-btn img {
  width: 16px;
  height: 16px;
}

.notification .badge,
.admin-notification-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(37, 31, 26, 0.3);
}

.notification .badge[hidden],
.admin-notification-badge[hidden] {
  display: none;
}

.notification-dropdown,
.admin-notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  box-sizing: border-box;
  width: 240px;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  border: 1px solid #e6e2db;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(37, 31, 26, 0.14);
}

.notification-dropdown {
  display: none;
}

.notification-dropdown.show,
.admin-notification-dropdown.show {
  display: block;
}

.notification-dropdown-header,
.admin-notification-dropdown > strong {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid #e6e2db;
  color: #201c18;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.notification-list,
.admin-notification-list {
  display: flex;
  max-height: min(320px, calc(100vh - 130px));
  min-height: 64px;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #756c62;
  font-size: 11px;
  text-align: left;
  scrollbar-width: thin;
}

.notification-item,
.admin-notification-item {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid #e6e2db;
  border-left: 4px solid transparent;
  background: #fff;
  color: #201c18;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.notification-item:hover,
.admin-notification-item:hover {
  background: #faf8f4;
}

.notification-item.unread,
.admin-notification-item.unread {
  padding-right: 66px;
  border-left-color: #b38a3d;
  background: #fff5d8;
  color: #493814;
  font-weight: 700;
}

body.staff-theme-dark #appointmentsMain #aptTodayCount {
  color: #e8ce8b;
}

body.staff-theme-dark #appointmentsMain #aptConfirmedCount {
  color: #9bd3a8;
}

body.staff-theme-dark #appointmentsMain #aptCancelledCount {
  color: #f0a29b;
}

body.staff-theme-dark #appointmentsMain .apt-table thead tr,
body.staff-theme-dark #appointmentsMain .apt-table th {
  border-color: #3d3e39;
  background: #2b2c29;
  color: #bdb5a8;
}

body.staff-theme-dark #appointmentsMain .apt-table td {
  border-color: #383934;
  color: #d5cec2;
}

body.staff-theme-dark #appointmentsMain .apt-table tbody tr {
  background: #222421;
}

body.staff-theme-dark #appointmentsMain .apt-table tbody tr:hover {
  background: #2b2c29;
}

body.staff-theme-dark #appointmentsMain .apt-table tbody tr.apt-row--live {
  background: #302e29;
}

body.staff-theme-dark #appointmentsMain .apt-row--muted td,
body.staff-theme-dark #appointmentsMain .apt-row--muted .apt-name,
body.staff-theme-dark #appointmentsMain .apt-row--muted .apt-sub {
  color: #aaa398;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__item::before {
  background: #4a4942;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__event {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__event small {
  color: #9fd0a9;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__item--live .apt-timeline__event {
  border-color: #665735;
  background: #3a3326;
  color: #eee8dd;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__item--live .apt-timeline__event small {
  color: #e8ce8b;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__item--upcoming .apt-timeline__event {
  border-color: #45453f;
  background: #292a27;
  color: #c9c2b7;
}

body.staff-theme-dark #appointmentsMain .apt-timeline__item--upcoming .apt-timeline__event small {
  color: #c9c2b7;
}

.notification-item--announcement {
  display: grid;
  gap: 4px;
}

.notification-item--announcement .notification-item__type {
  color: #8a641a;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.notification-item--announcement strong {
  color: inherit;
  font-size: 11px;
  line-height: 1.45;
}

.notification-item--announcement > span:not(.notification-item__type):not(.notification-item__unread) {
  font-weight: 400;
}

.notification-item__timestamp,
.admin-notification-timestamp {
  display: block;
  margin-top: 4px;
  color: #756c62;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.notification-item__unread,
.admin-notification-unread-label {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 3px 5px;
  border-radius: 999px;
  background: #8a641a;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.notification-age--fresh {
  border-left-color: #c62828 !important;
}

.notification-age--recent {
  border-left-color: #b38a3d !important;
}

.notification-age--older {
  border-left-color: #9b9489 !important;
}

.notification-item__timestamp.notification-age--fresh,
.admin-notification-timestamp.notification-age--fresh {
  color: #b42318;
}

.notification-item__timestamp.notification-age--recent,
.admin-notification-timestamp.notification-age--recent {
  color: #8a641a;
}

.notification-item__timestamp.notification-age--older,
.admin-notification-timestamp.notification-age--older {
  color: #756c62;
}

.notification-empty {
  display: flex;
  min-height: 64px;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #756c62;
  font-size: 11px;
  text-align: center;
}

body.homepage .notification-dropdown,
body.client-header .notification-dropdown {
  width: 240px;
  max-width: calc(100vw - 24px);
  border-color: #e6e2db;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(37, 31, 26, 0.14);
}

body.homepage .notification-dropdown-header,
body.client-header .notification-dropdown-header {
  padding: 12px 14px;
  color: #201c18;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 12px;
  font-weight: 700;
}

body.homepage .notification-list,
body.client-header .notification-list {
  max-height: min(320px, calc(100vh - 130px));
  padding: 0;
}

body.homepage .notification-item--announcement,
body.client-header .notification-item--announcement {
  gap: 4px;
  padding: 11px 14px;
  border-radius: 0;
  color: #201c18;
  font-size: 11px;
}

body.homepage .notification-item--announcement.unread,
body.client-header .notification-item--announcement.unread {
  padding-right: 66px;
}

body.homepage .notification-item--announcement strong,
body.client-header .notification-item--announcement strong {
  color: inherit;
  font-size: 11px;
}

body.homepage .notification-item--announcement .notification-item__message,
body.client-header .notification-item--announcement .notification-item__message {
  color: inherit;
  font-weight: 400;
  line-height: 1.45;
}

body.homepage .notification-item__unread,
body.client-header .notification-item__unread {
  background: #8a641a;
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
}

body.staff-theme-dark .notification-dropdown,
body.staff-theme-dark .admin-notification-dropdown,
body.staff-theme-dark .notification-dropdown-header,
body.staff-theme-dark .admin-notification-dropdown > strong,
body.staff-theme-dark .notification-item,
body.staff-theme-dark .admin-notification-item {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.staff-theme-dark .notification-item:hover,
body.staff-theme-dark .admin-notification-item:hover {
  background: #373126;
}

body.staff-theme-dark .notification-item.unread,
body.staff-theme-dark .admin-notification-item.unread {
  background: #373126;
  color: #ead9a9;
}

body.staff-theme-dark .notification-item__timestamp,
body.staff-theme-dark .admin-notification-timestamp,
body.staff-theme-dark .notification-empty {
  color: #aaa398;
}

body.staff-theme-dark .notification-item__timestamp.notification-age--fresh,
body.staff-theme-dark .admin-notification-timestamp.notification-age--fresh {
  color: #ff9b91;
}

body.staff-theme-dark .notification-item__timestamp.notification-age--recent,
body.staff-theme-dark .admin-notification-timestamp.notification-age--recent {
  color: #e5cf91;
}

body.staff-theme-dark .notification-item__timestamp.notification-age--older,
body.staff-theme-dark .admin-notification-timestamp.notification-age--older {
  color: #aaa398;
}

body.customer-theme-dark .notification-dropdown,
body.customer-theme-dark .notification-dropdown-header,
body.customer-theme-dark .notification-item {
  border-color: #45453f;
  background: #292a27;
  color: #e9e4da;
}

body.customer-theme-dark .notification-item:hover,
body.customer-theme-dark .notification-item.unread {
  background: #373126;
}

body.customer-theme-dark .notification-item__timestamp,
body.customer-theme-dark .notification-empty {
  color: #aaa398;
}

@media (max-width: 480px) {
  .notification-wrap,
  .admin-notification-wrap {
    position: static;
  }

  .notification-dropdown,
  .admin-notification-dropdown,
  body.homepage .notification-dropdown,
  body.client-header .notification-dropdown {
    position: fixed;
    top: max(78px, calc(env(safe-area-inset-top) + 64px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 96px);
  }
}

body.staff-theme-dark #umCreateOverlay .um-create-modal {
  border-color: #3d3e39;
  border-top-color: #d8bb73;
  background: #222421;
  color: #e9e4da;
  color-scheme: dark;
}

body.staff-theme-dark #umCreateOverlay .um-modal__section-title {
  color: #dfc27d;
}

body.staff-theme-dark #umCreateOverlay .um-create-modal label {
  color: #c9c2b7;
}

body.staff-theme-dark #umCreateOverlay .um-create-modal hr {
  border-color: #3d3e39;
}

body.staff-theme-dark #umCreateOverlay .um-create-modal input,
body.staff-theme-dark #umCreateOverlay .um-create-modal select {
  border-color: #4a4942;
  background: #292a27;
  color: #eee8dd;
}

body.staff-theme-dark #umCreateOverlay .um-create-modal input::placeholder {
  color: #aaa398;
}

body.staff-theme-dark #umCreateOverlay .um-modal__close {
  border-color: #4a4942;
  background: #292a27;
  color: #d5cec2;
}

body.staff-theme-dark #umCreateOverlay .um-modal__close:hover {
  background: #373126;
  color: #ead9a9;
}

@media (max-width: 640px) {
  .um-shell .um-main > .um-header,
  .um-shell .admin-inventory-main > .inventory-header {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .um-shell::before {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: calc(64px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid rgba(212, 169, 55, 0.28);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 20px rgba(48, 38, 22, 0.1);
    content: "";
    pointer-events: none;
    backdrop-filter: blur(14px);
  }

  .um-shell .um-header .um-header__title {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 20px);
    right: 104px;
    left: 68px;
    z-index: 101;
    overflow: hidden;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
  }

  .um-shell .admin-inventory-main > .inventory-header .header-title h1 {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 20px);
    right: 104px;
    left: 68px;
    z-index: 101;
    overflow: hidden;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
  }

  .um-shell > .um-sidebar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 11px);
    left: 14px;
    z-index: 111;
    width: 42px;
    height: 42px;
    border: 1px solid #e8dfce;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(48, 38, 22, 0.08);
  }

  .um-shell > .um-sidebar-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #5a3a1e;
  }

  .um-shell .admin-notification-wrap {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 11px);
    right: 14px;
    z-index: 112;
  }

  .um-shell .admin-notification-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #e8dfce;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(48, 38, 22, 0.08);
  }

  .um-shell .admin-notification-btn:hover {
    border-color: #d4a937;
    background: #fbf3e7;
  }

  .um-shell .admin-notification-dropdown {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 62px);
    right: 12px;
    z-index: 113;
  }

  .um-main {
    padding-top: 82px;
  }

  .um-shell .admin-inventory-main {
    padding-top: 82px;
  }
}

@media (max-width: 520px) {
  .um-shell > .um-sidebar-toggle {
    left: 10px;
  }

  .um-shell .admin-notification-wrap {
    right: 10px;
  }
}

@media (max-width: 640px) {
  body.staff-theme-dark .um-shell .um-header .um-header__title,
  body.staff-theme-dark .um-shell .admin-inventory-main > .inventory-header .header-title h1 {
    color: #eee8dd;
  }

  body.staff-theme-dark .um-shell::before {
    border-bottom-color: #45453f;
    background: rgba(34, 35, 33, 0.97);
  }

  body.staff-theme-dark .um-shell > .um-sidebar-toggle,
  body.staff-theme-dark .um-shell .admin-notification-btn {
    border-color: #4a4942;
    background: #292a27;
  }

  body.staff-theme-dark .um-shell > .um-sidebar-toggle span {
    background: #e9e4da;
  }

  body.staff-theme-dark .um-shell .admin-notification-btn img {
    filter: brightness(0) invert(0.9);
  }
}
