:root {
  --primary-color: #686866;
  --secondary-color: #f2c98b;
  --primary-text-color: #fffaf2;
  --secondary-text-color: #ebe5da;
  --success-color: #7ca483;
  --danger-color: #8c5a2d;
  --soft-shadow: 0 18px 40px rgba(104, 104, 102, 0.12);
  --surface-color: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 251, 245, 0.96);
  --line-color: rgba(104, 104, 102, 0.12);
  --ink-color: #2f302e;
  --muted-color: #71716e;
}

/* Service images */
.admin-service-identity {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.admin-service-thumb {
  align-items: center;
  background: #f8f5ef;
  border: 1px solid rgba(185, 151, 103, 0.24);
  border-radius: 8px;
  color: var(--ma-color-primary, #b6843e);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  object-fit: cover;
  width: 44px;
}

.admin-service-thumb--placeholder {
  font-size: 1.1rem;
}

.admin-service-image-field {
  align-items: center;
  background: #fbfaf7;
  border: 1px dashed rgba(185, 151, 103, 0.34);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.admin-service-image-field--edit {
  max-width: 48rem;
}

.admin-service-image-preview {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(185, 151, 103, 0.22);
  border-radius: 8px;
  color: var(--ma-color-primary, #b6843e);
  display: flex;
  flex: 0 0 108px;
  height: 108px;
  justify-content: center;
  overflow: hidden;
  width: 108px;
}

.admin-service-image-preview img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.admin-service-image-preview i {
  font-size: 1.75rem;
}

@media (max-width: 575.98px) {
  .admin-service-image-field {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-service-image-preview {
    flex-basis: auto;
    width: 100%;
  }
}

.admin-content:has(.ma-operational-home) {
  box-sizing: border-box;
  height: calc(100svh - 104px);
  max-width: none;
  min-height: 520px;
  overflow: hidden;
  padding: 8px clamp(8px, 1.2vw, 16px) 12px;
}

.ma-agenda-empty,
.ma-agenda-closed,
.ma-agenda-inline-warning {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(104, 104, 102, 0.12);
  border-radius: 8px;
  color: #312c27;
}

.ma-agenda-empty,
.ma-agenda-closed {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 8rem;
  padding: 1.25rem;
}

.ma-agenda-empty > i,
.ma-agenda-closed > i {
  align-items: center;
  background: #f7efe4;
  border-radius: 8px;
  color: #a86d1a;
  display: inline-flex;
  font-size: 1.25rem;
  height: 2.8rem;
  justify-content: center;
  width: 2.8rem;
}

.ma-agenda-empty strong,
.ma-agenda-empty span,
.ma-agenda-closed strong,
.ma-agenda-closed span {
  display: block;
  min-width: 0;
}

.ma-agenda-empty span,
.ma-agenda-closed span {
  color: #756a5f;
  margin-top: 0.2rem;
}

.ma-agenda-inline-warning {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.85rem;
}

.ma-agenda-inline-warning i {
  color: #a86d1a;
}

.ma-agenda-mobile-picker {
  display: none;
}

.ma-agenda-board {
  --agenda-column-width: 220px;
  --agenda-time-width: 64px;
  background: #ffffff;
  border: 1px solid rgba(104, 104, 102, 0.16);
  border-radius: 0 0 6px 6px;
  display: grid;
  grid-template-columns: var(--agenda-time-width) minmax(0, 1fr);
  grid-template-rows: 46px minmax(0, 1fr);
  min-height: 0;
  max-height: calc(100svh - 9rem);
  overflow: auto;
  scrollbar-gutter: stable;
}

.ma-operational-home .ma-agenda-board {
  height: calc(100svh - 154px);
  max-height: none;
}

.ma-agenda-board__time-head {
  align-items: center;
  background: #fffaf4;
  border-bottom: 1px solid rgba(104, 104, 102, 0.12);
  border-right: 1px solid rgba(104, 104, 102, 0.12);
  color: #756a5f;
  display: flex;
  font-size: 0.62rem;
  font-weight: 850;
  justify-content: center;
  left: 0;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 7;
}

.ma-agenda-board__columns-head {
  background: #fffaf4;
  border-bottom: 1px solid rgba(104, 104, 102, 0.12);
  display: grid;
  min-width: max-content;
  position: sticky;
  top: 0;
  z-index: 6;
}

.ma-agenda-board__person {
  align-items: center;
  border-right: 1px solid rgba(104, 104, 102, 0.12);
  display: grid;
  gap: 0.42rem;
  grid-template-columns: auto minmax(0, 1fr);
  height: 46px;
  min-width: var(--agenda-column-width);
  padding: 0.35rem 0.55rem;
}

.ma-agenda-board__person img,
.ma-agenda-board__person span {
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

.ma-agenda-board__person img {
  object-fit: cover;
}

.ma-agenda-board__person span {
  align-items: center;
  background: #f2e7d7;
  color: #9a6418;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 850;
  justify-content: center;
}

.ma-agenda-board__person strong {
  color: #2d2823;
  font-size: 0.82rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ma-agenda-board__time {
  background: #fffdf9;
  border-right: 1px solid rgba(104, 104, 102, 0.12);
  display: grid;
  grid-auto-rows: var(--agenda-slot-height);
  left: 0;
  position: sticky;
  z-index: 5;
}

.ma-agenda-board__time div {
  align-items: flex-start;
  border-bottom: 1px solid rgba(104, 104, 102, 0.05);
  color: #756f68;
  display: flex;
  font-size: 0.68rem;
  font-weight: 720;
  justify-content: flex-end;
  padding: 0.22rem 0.42rem 0 0;
}

.ma-agenda-board__time div.is-half-hour {
  border-bottom-color: rgba(104, 104, 102, 0.13);
}

.ma-agenda-board__time div.is-hour {
  color: #4f4943;
}

.ma-agenda-board__columns {
  display: grid;
  min-width: max-content;
}

.ma-agenda-board__column {
  background: #ffffff;
  border-right: 1px solid rgba(104, 104, 102, 0.12);
  height: var(--agenda-grid-height);
  min-width: var(--agenda-column-width);
  position: relative;
}

.ma-agenda-slot {
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(104, 104, 102, 0.045);
  display: block;
  height: var(--agenda-slot-height);
  padding: 0;
  width: 100%;
}

.ma-agenda-slot[data-slot-kind="half"] {
  border-bottom-color: rgba(104, 104, 102, 0.12);
}

.ma-agenda-slot:hover,
.ma-agenda-slot:focus-visible {
  background: rgba(180, 138, 74, 0.065);
  outline: 0;
}

.ma-agenda-event {
  box-sizing: border-box;
  background: #fff7e8;
  border: 1px solid rgba(180, 138, 74, 0.18);
  border-left: 3px solid #b87c25;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(52, 43, 30, 0.06);
  color: #2b251f;
  display: grid;
  gap: 0.02rem;
  left: 4px;
  overflow: hidden;
  padding: 0.22rem 0.36rem;
  position: absolute;
  right: 4px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  z-index: 2;
}

.agenda-day-event-menu { display: none; }

.ma-agenda-event:hover,
.ma-agenda-event:focus-visible {
  box-shadow: 0 8px 16px rgba(52, 43, 30, 0.11);
  outline: 0;
  transform: translateY(-1px);
}

.ma-agenda-event__time {
  color: #8a682f;
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1;
}

.ma-agenda-event strong,
.ma-agenda-event small,
.ma-agenda-event em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ma-agenda-event strong {
  color: #201b16;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.05;
}

.ma-agenda-event small,
.ma-agenda-event em {
  color: #6f655b;
  font-size: 0.66rem;
  font-style: normal;
  line-height: 1.05;
}

.ma-agenda-event.is-compact {
  align-items: center;
  display: flex;
  gap: 0.25rem;
  padding-block: 0.15rem;
}

.ma-agenda-event.is-compact small,
.ma-agenda-event.is-compact em {
  display: none;
}

.ma-agenda-event.is-compact .ma-agenda-event__time {
  flex: 0 0 auto;
}

.ma-agenda-event.is-compact strong {
  font-size: 0.74rem;
}

.ma-agenda-event--confirmado {
  background: #edf7f0;
  border-color: rgba(47, 122, 79, 0.18);
  border-left-color: #2f7a4f;
}

.ma-agenda-event--confirmado .ma-agenda-event__time {
  color: #2f7a4f;
}

.ma-agenda-event--concluido {
  background: #f0efec;
  border-color: rgba(118, 113, 107, 0.18);
  border-left-color: #76716b;
}

.ma-agenda-event--concluido .ma-agenda-event__time {
  color: #6a655f;
}

.ma-agenda-event--cancelado {
  background: #f6f1ee;
  border-color: rgba(154, 78, 62, 0.16);
  border-left-color: #9a4e3e;
  opacity: 0.68;
}

.ma-agenda-event--cancelado .ma-agenda-event__time {
  color: #8a5549;
}

@media (max-width: 760px) {
  .admin-content:has(.ma-operational-home) {
    height: calc(100svh - 92px);
    min-height: 0;
    padding: 6px 8px 10px;
  }

  .ma-agenda-empty,
  .ma-agenda-closed {
    grid-template-columns: 1fr;
  }

  .ma-agenda-empty .btn,
  .ma-agenda-closed .btn {
    justify-self: start;
  }

  .ma-agenda-mobile-picker {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .ma-agenda-mobile-picker button {
    background: #fff;
    border: 1px solid rgba(104, 104, 102, 0.14);
    border-radius: 999px;
    color: #5f564d;
    flex: 0 0 auto;
    font-weight: 800;
    min-height: 2.35rem;
    padding: 0 0.85rem;
  }

  .ma-agenda-mobile-picker button.is-active {
    background: #2f2923;
    border-color: #2f2923;
    color: #fffaf4;
  }

  .ma-agenda-board {
    --agenda-column-width: minmax(210px, 1fr);
    --agenda-time-width: 56px;
    grid-template-columns: var(--agenda-time-width) minmax(0, 1fr);
    max-height: calc(100svh - 12rem);
  }

  .ma-operational-home .ma-agenda-board {
    height: calc(100svh - 188px);
  }

  .ma-agenda-board__columns-head,
  .ma-agenda-board__columns {
    grid-template-columns: minmax(210px, 1fr) !important;
    min-width: 0;
  }

  .ma-agenda-board__person,
  .ma-agenda-board__column {
    min-width: 210px;
  }

  .ma-agenda-board__person:not(.is-mobile-active),
  .ma-agenda-board__column:not(.is-mobile-active) {
    display: none;
  }
}

/* Public premium rebrand - Mary Araujo Esmalteria */
:root {
  --ma-color-primary: #b6843e;
  --ma-color-secondary: #d8b779;
  --ma-color-bg: #fffaf7;
  --ma-color-bg-alt: #f4ebe4;
  --ma-color-text: #33231f;
  --ma-color-muted: #7b6963;
  --ma-color-border: #e4d2c8;
  --ma-color-accent: #b99962;
  --ma-color-success: #3f7b5f;
  --ma-color-error: #8c5a2d;
  --ma-font-title: Georgia, "Times New Roman", serif;
  --ma-font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[data-app-theme="light"] {
  color-scheme: light;
}

html[data-app-theme="dark"] {
  color-scheme: dark;
  --surface-color: rgba(34, 29, 25, 0.9);
  --surface-strong: rgba(39, 33, 28, 0.96);
  --line-color: rgba(231, 202, 158, 0.17);
  --ink-color: #f7efe5;
  --muted-color: #c7b9a8;
  --ma-color-bg: #151210;
  --ma-color-bg-alt: #211b16;
  --ma-color-text: #f8efe4;
  --ma-color-muted: #c8bbaa;
  --ma-color-border: rgba(231, 202, 158, 0.2);
  --ma-color-accent: #d8b779;
  --ma-color-success: #7ec99d;
  --ma-color-error: #f09a89;
  --ma-ink: #f8efe4;
  --ma-muted: #c8bbaa;
  --ma-line: rgba(231, 202, 158, 0.2);
  --ma-cream: #211b16;
  --ma-paper: #151210;
  --ma-rose: #d4a75e;
  --ma-rose-dark: #e5c27e;
  --ma-gold: #d8b779;
  --ma-champagne: #33291f;
  --ma-black: #0f0d0b;
  --bs-body-bg: #151210;
  --bs-body-color: #f7efe5;
  --bs-border-color: rgba(231, 202, 158, 0.18);
  --bs-tertiary-bg: #211b16;
}

.public-layout > main.container:has(.ma-premium-home) {
  max-width: none;
  width: 100%;
  padding: 0 !important;
}

.public-layout:has(.ma-premium-home) {
  background: var(--ma-color-bg);
}

.public-layout:has(.ma-premium-home) .public-top-brand {
  display: none;
}

.ma-premium-home {
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
  font-family: var(--ma-font-body);
  overflow-x: hidden;
  padding-bottom: 92px;
}

.ma-premium-home h1,
.ma-premium-home h2,
.ma-premium-home h3 {
  color: var(--ma-color-text);
  font-family: var(--ma-font-title);
  letter-spacing: 0;
}

.ma-site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 247, .9);
  border-bottom: 1px solid rgba(228, 210, 200, .8);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(16px, 4vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
}

.ma-brand {
  align-items: center;
  color: var(--ma-color-text);
  display: grid;
  gap: 0 10px;
  grid-template-columns: 44px auto;
  line-height: 1;
  text-decoration: none;
}

.ma-brand__mark {
  align-items: center;
  background: var(--ma-color-text);
  border-radius: 50%;
  color: #fffaf7;
  display: inline-flex;
  font-family: var(--ma-font-title);
  font-size: 18px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ma-brand__mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ma-brand__text {
  display: grid;
  gap: 3px;
}

.ma-brand strong {
  font-size: 15px;
}

.ma-brand small {
  color: var(--ma-color-muted);
  font-size: 12px;
}

.ma-menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ma-color-border);
  border-radius: 999px;
  color: var(--ma-color-text);
  display: inline-flex;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
}

.ma-site-nav {
  background: #fff;
  border: 1px solid var(--ma-color-border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(61, 40, 34, .12);
  display: none;
  flex-direction: column;
  gap: 4px;
  left: 16px;
  padding: 10px;
  position: absolute;
  right: 16px;
  top: 72px;
}

.ma-site-nav.is-open {
  display: flex;
}

.ma-site-nav a,
.ma-site-nav button {
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--ma-color-text);
  min-height: 44px;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
}

.ma-site-nav button,
.ma-btn--primary,
.ma-mobile-cta button,
.ma-public-service button,
.ma-hero-card button {
  background: var(--ma-color-primary);
  color: #fff;
}

.ma-eyebrow {
  color: var(--ma-color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.ma-premium-hero {
  display: grid;
  gap: 28px;
  min-height: calc(100svh - 69px);
  padding: clamp(36px, 8vw, 92px) clamp(16px, 4vw, 64px) 32px;
}

.ma-premium-hero__copy {
  align-self: center;
  max-width: 680px;
}

.ma-premium-hero h1 {
  font-size: clamp(42px, 9vw, 86px);
  line-height: .98;
  margin: 0 0 18px;
}

.ma-premium-hero__copy > p:not(.ma-eyebrow) {
  color: var(--ma-color-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin-bottom: 22px;
}

.ma-hero-actions,
.ma-trust-list,
.ma-contact-actions,
.ma-footer,
.ma-site-nav {
  align-items: center;
}

.ma-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ma-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  text-decoration: none;
  width: 100%;
}

.ma-btn--secondary {
  background: #fff;
  border-color: var(--ma-color-border);
  color: var(--ma-color-text);
}

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

.ma-trust-list li {
  align-items: center;
  color: var(--ma-color-muted);
  display: flex;
  gap: 8px;
}

.ma-premium-hero__visual {
  align-items: center;
  background: linear-gradient(145deg, #f3ddd2, #fff7f1);
  border: 1px solid var(--ma-color-border);
  border-radius: 28px;
  display: flex;
  min-height: 360px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.ma-nail-composition {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  margin: auto;
  transform: rotate(-8deg);
  width: min(360px, 76vw);
}

.ma-nail-composition span {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #f4dfc7, #b6843e);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 44% 44% 18px 18px;
  box-shadow: inset 0 12px 30px rgba(255,255,255,.35), 0 20px 40px rgba(73, 45, 38, .13);
}

.ma-nail-composition span:nth-child(2),
.ma-nail-composition span:nth-child(3) {
  background: linear-gradient(160deg, #fff8f3, #c59a8e);
}

.ma-hero-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(228, 210, 200, .9);
  border-radius: 18px;
  bottom: 18px;
  box-shadow: 0 18px 40px rgba(61, 40, 34, .13);
  display: grid;
  gap: 6px;
  left: 18px;
  padding: 14px;
  position: absolute;
  right: 18px;
}

.ma-hero-card small,
.ma-public-service dt,
.ma-booking-review span {
  color: var(--ma-color-muted);
}

.ma-hero-card button,
.ma-public-service button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  min-height: 44px;
}

.ma-section {
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 64px);
}

.ma-section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.ma-section-head h2,
.ma-space-copy h2,
.ma-final-cta h2,
.ma-contact-section h2 {
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.ma-section-head p:not(.ma-eyebrow),
.ma-space-copy p,
.ma-contact-section p,
.ma-contact-section address,
.ma-final-cta p {
  color: var(--ma-color-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ma-service-grid,
.ma-difference-grid,
.ma-testimonial-track,
.ma-space-gallery {
  display: grid;
  gap: 14px;
}

.ma-public-service,
.ma-difference-grid article,
.ma-testimonial-track article,
.ma-space-gallery article {
  background: #fff;
  border: 1px solid var(--ma-color-border);
  border-radius: 18px;
  padding: 18px;
}

.ma-public-service i,
.ma-difference-grid i,
.ma-space-gallery i {
  align-items: center;
  background: var(--ma-color-bg-alt);
  border-radius: 50%;
  color: var(--ma-color-primary);
  display: inline-flex;
  font-size: 21px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ma-public-service h3,
.ma-difference-grid h3 {
  font-size: 24px;
  margin: 14px 0 8px;
}

.ma-public-service p,
.ma-difference-grid p,
.ma-testimonial-track p {
  color: var(--ma-color-muted);
  line-height: 1.55;
}

.ma-public-service dl {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0;
}

.ma-public-service dt,
.ma-public-service dd {
  margin: 0;
}

.ma-public-service dd {
  font-weight: 800;
}

.ma-public-service button {
  width: 100%;
}

.ma-difference-section,
.ma-contact-section {
  background: var(--ma-color-bg-alt);
}

.ma-space-section,
.ma-contact-section {
  display: grid;
  gap: 26px;
}

.ma-space-gallery article {
  align-items: end;
  aspect-ratio: 4 / 3;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
}

.ma-testimonial-track {
  grid-auto-columns: minmax(260px, 82vw);
  grid-auto-flow: column;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.ma-testimonial-track article {
  scroll-snap-align: start;
}

.ma-testimonial-track div {
  color: var(--ma-color-accent);
  letter-spacing: .04em;
}

.ma-final-cta {
  background: var(--ma-color-text);
  color: #fff;
  padding: clamp(46px, 8vw, 86px) clamp(16px, 4vw, 64px);
  text-align: center;
}

.ma-final-cta h2 {
  color: #fff;
  margin-inline: auto;
  max-width: 850px;
}

.ma-final-cta .ma-btn {
  margin: 22px auto 0;
  max-width: 280px;
}

.ma-contact-actions {
  display: grid;
  gap: 10px;
}

.ma-contact-actions a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ma-color-border);
  border-radius: 14px;
  color: var(--ma-color-text);
  display: flex;
  font-weight: 800;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  text-decoration: none;
}

.ma-footer {
  background: #fff;
  border-top: 1px solid var(--ma-color-border);
  display: grid;
  gap: 14px;
  padding: 24px clamp(16px, 4vw, 64px);
}

.ma-footer div {
  display: grid;
  gap: 4px;
}

.ma-footer span,
.ma-footer a {
  color: var(--ma-color-muted);
}

.ma-footer nav {
  display: flex;
  gap: 14px;
}

.ma-modern-footer {
  background: #2f211e;
  border-top: 0;
  color: #fffaf7;
  padding: clamp(34px, 6vw, 64px) clamp(16px, 4vw, 64px) 22px;
}

.ma-modern-footer .ma-footer-brand {
  color: #fffaf7;
  margin-bottom: 14px;
}

.ma-modern-footer .ma-footer-brand span {
  background: #fffaf7;
  color: #2f211e;
}

.ma-modern-footer p {
  color: rgba(255, 250, 247, .72);
  line-height: 1.6;
  margin: 0 0 12px;
}

.ma-modern-footer h2 {
  color: #fffaf7;
  font-family: var(--ma-font-body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.ma-modern-footer nav {
  align-items: flex-start;
  display: grid;
  gap: 10px;
}

.ma-modern-footer a {
  color: rgba(255, 250, 247, .76);
  text-decoration: none;
}

.ma-modern-footer a:hover,
.ma-modern-footer a:focus-visible {
  color: #fffaf7;
}

.ma-footer-cta {
  align-items: center;
  background: var(--ma-color-secondary);
  border: 0;
  border-radius: 999px;
  color: #2f211e;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
}

.ma-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 250, 247, .14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 18px;
}

.ma-footer-bottom span {
  color: rgba(255, 250, 247, .66);
}

.ma-footer-bottom nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.ma-mobile-cta {
  background: rgba(255, 250, 247, .94);
  border-top: 1px solid var(--ma-color-border);
  bottom: 0;
  left: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  position: fixed;
  right: 0;
  z-index: 28;
}

.ma-mobile-cta button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  display: flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 54px;
  width: 100%;
}

.ma-booking-is-open .ma-mobile-cta {
  display: none;
}

.ma-booking-modal .modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}

.ma-booking-modal .modal-header {
  background: var(--ma-color-bg);
}

.ma-booking-modal__error,
.ma-booking-state {
  background: #fff2f0;
  border: 1px solid #f0c0bb;
  border-radius: 12px;
  color: var(--ma-color-error);
  padding: 10px 12px;
}

.ma-booking-state:empty {
  display: none;
}

.ma-booking-retry {
  background: transparent;
  border: 1px solid var(--ma-color-border);
  border-radius: 999px;
  color: var(--ma-color-text);
  font-weight: 800;
  min-height: 44px;
  padding: 0 16px;
}

.ma-slot-skeleton {
  animation: maPulse 1.2s ease-in-out infinite;
  background: var(--ma-color-bg-alt);
  border-radius: 999px;
  display: block;
  height: 44px;
}

@keyframes maPulse {
  50% { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .ma-slot-skeleton {
    animation: none;
  }
}

@media (min-width: 640px) {
  .ma-hero-actions,
  .ma-trust-list {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ma-btn {
    width: auto;
  }

  .ma-service-grid,
  .ma-difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ma-premium-home {
    padding-bottom: 0;
  }

  .ma-menu-toggle,
  .ma-mobile-cta {
    display: none;
  }

  .ma-site-nav {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 0;
    position: static;
  }

  .ma-site-nav a,
  .ma-site-nav button {
    text-align: center;
  }

  .ma-site-nav button {
    padding-inline: 18px;
  }

  .ma-premium-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  }

  .ma-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-difference-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ma-space-section,
  .ma-contact-section,
  .ma-footer {
    grid-template-columns: 1fr 1fr;
  }

  .ma-modern-footer {
    display: block;
  }

  .ma-footer-bottom {
    flex-direction: row;
  }

  .ma-testimonial-track {
    grid-auto-flow: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 575.98px) {
  .ma-booking-modal .modal-dialog {
    height: 100dvh;
    margin: 0;
    max-width: none;
  }

  .ma-booking-modal .modal-content {
    border-radius: 0;
    min-height: 100dvh;
  }

  .ma-booking-modal .modal-body {
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
  }
}

/* Booking modal rebrand: rebuilt layout */
.ma-booking-modal {
  --booking-ink: #33231f;
  --booking-muted: #806e67;
  --booking-line: #eadbd3;
  --booking-soft: #fbf1eb;
  --booking-gold: #b6843e;
}
.ma-booking-modal .modal-dialog { max-width: 1000px; margin: 1.25rem auto; padding-inline: 1rem; }
.ma-booking-card { background: #fffaf7; border: 0; border-radius: 28px; box-shadow: 0 30px 90px rgba(51,35,31,.28); overflow: hidden; }
.ma-booking-header { align-items: center; background: linear-gradient(135deg,#fffaf7 0%,#f7e9e1 100%); display: flex; gap: 14px; padding: 22px 28px 18px; }
.ma-booking-brandmark { align-items: center; background: var(--booking-ink); border-radius: 50%; color: #fffaf7; display: flex; flex: 0 0 46px; font-family: var(--ma-font-title); font-size: 16px; height: 46px; justify-content: center; letter-spacing: .06em; }
.ma-booking-heading { min-width: 0; }
.ma-booking-kicker,.ma-booking-summary-kicker,.ma-booking-step-label { color: var(--booking-gold); display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ma-booking-heading .modal-title { color: var(--booking-ink); font-size: clamp(1.5rem,3vw,2rem); margin: 2px 0 3px; }
.ma-booking-heading p { color: var(--booking-muted); font-size: 13px; margin: 0; }
.ma-booking-header-tools { align-items: flex-end; display: flex; flex-direction: column; gap: 8px; margin-left: auto; }
.ma-booking-step-count { color: var(--booking-muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.ma-booking-close { align-items: center; background: #fff; border: 1px solid var(--booking-line); border-radius: 50%; color: var(--booking-ink); display: flex; height: 38px; justify-content: center; width: 38px; }
.ma-booking-close span { display: block; font-size: 27px; font-weight: 300; line-height: 1; margin-top: -2px; }
.ma-booking-progress { background: #eadbd3; height: 4px; }
.ma-booking-progress span { background: var(--booking-gold); display: block; height: 100%; transition: width .3s ease; width: 20%; }
.ma-booking-modal .modal-body { padding: 22px 28px 28px; }
.ma-booking-layout { display: block; }
.ma-booking-summary { background: var(--booking-ink); border-radius: 18px; color: #fffaf7; padding: 18px; position: sticky; top: 0; }
.ma-booking-summary-kicker { color: #e8c997; margin-bottom: 10px; }
.ma-booking-summary strong { display: block; font-family: var(--ma-font-title); font-size: 19px; line-height: 1.15; }
.ma-booking-summary small { color: #d6c5bd; display: block; font-size: 12px; line-height: 1.45; margin-top: 5px; }
.ma-booking-summary-items { border-top: 1px solid rgba(255,255,255,.15); margin-top: 18px; padding-top: 8px; }
.ma-booking-summary-items > div { border-bottom: 1px solid rgba(255,255,255,.12); display: grid; gap: 3px; padding: 10px 0; }
.ma-booking-summary-items span { color: #cdbab1; font-size: 10px; text-transform: uppercase; }
.ma-booking-summary-items b { color: #fffaf7; font-size: 12px; }
.ma-booking-modal__step header { margin-bottom: 18px; }
.ma-booking-modal__step h3 { color: var(--booking-ink); font-size: clamp(1.45rem,3vw,2rem); margin-top: 5px; }
.ma-booking-modal__step p { color: var(--booking-muted); }
.ma-booking-modal__grid--services { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ma-booking-service-card { border: 1px solid var(--booking-line); border-radius: 16px !important; overflow: hidden; }
.ma-booking-service-card .card-img-top { aspect-ratio: 2.4 / 1; object-fit: cover; }
.ma-booking-option { border-radius: 14px; }
.ma-booking-contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ma-booking-modal .form-control,.ma-booking-modal input { background: #fff; border-color: var(--booking-line); }
.ma-booking-dates { display: flex; gap: 10px; margin: 0 0 22px; overflow-x: auto; padding: 3px 2px 10px; scrollbar-width: thin; }
.ma-booking-dates button { flex: 0 0 78px; min-height: 72px; padding: 10px 8px; }
.ma-booking-slots { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.ma-booking-slots button { font-size: 15px; font-weight: 800; min-height: 58px; }
.ma-booking-slots-status { margin-bottom: 12px; }
@media (max-width: 767.98px) {
  .ma-booking-modal .modal-dialog { margin: 0; max-width: none; padding: 0; }
  .ma-booking-card { border-radius: 0; min-height: 100dvh; }
  .ma-booking-header { padding: calc(16px + env(safe-area-inset-top)) 18px 14px; }
  .ma-booking-brandmark { flex-basis: 38px; height: 38px; width: 38px; }
  .ma-booking-header-tools { gap: 5px; }
  .ma-booking-modal .modal-body { max-height: calc(100dvh - 112px); overflow-y: auto; padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); }
  .ma-booking-modal__grid--services,.ma-booking-contact { grid-template-columns: 1fr; }
  .ma-booking-dates { margin-inline: -2px; }
  .ma-booking-dates button { flex-basis: 76px; min-height: 70px; }
  .ma-booking-slots { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ma-booking-slots button { min-height: 56px; }
}

/* Mobile UX pass: focused, thumb-friendly booking flow */
@media (max-width: 767.98px) {
  .ma-booking-modal .modal-dialog { height: 100dvh; width: 100%; }
  .ma-booking-card { display: flex; flex-direction: column; }
  .ma-booking-header { flex: 0 0 auto; position: sticky; top: 0; z-index: 5; }
  .ma-booking-heading .modal-title { font-size: 1.35rem; }
  .ma-booking-heading p { font-size: 12px; max-width: 220px; }
  .ma-booking-step-count { background: rgba(255,255,255,.68); border: 1px solid var(--booking-line); border-radius: 999px; padding: 5px 8px; }
  .ma-booking-modal .modal-body { flex: 1 1 auto; max-height: none; min-height: 0; }
  .ma-booking-flow { min-height: 100%; }
  .ma-booking-modal__step { animation: ma-booking-step-in .24s ease both; }
  .ma-booking-modal__step header { margin-bottom: 20px; }
  .ma-booking-modal__step h3 { font-size: 1.65rem; letter-spacing: -.02em; }
  .ma-booking-modal__step header > p { font-size: 14px; line-height: 1.45; }
  .ma-booking-back { background: transparent; border: 0; color: var(--booking-gold); font-size: 13px; font-weight: 800; margin: -4px 0 16px; min-height: 32px; padding: 0; }
  .ma-booking-modal__grid--services { gap: 12px; }
  .ma-booking-service-card { min-height: 0; }
  .ma-booking-service-card .card-img-top { aspect-ratio: 2.1 / 1; }
  .ma-booking-service-card .card-body { padding: 14px; }
  .ma-booking-option { min-height: 76px; padding: 14px; }
  .ma-booking-dates { gap: 8px; margin-bottom: 20px; padding-bottom: 8px; }
  .ma-booking-dates button { border-radius: 14px; flex-basis: 70px; min-height: 74px; }
  .ma-booking-slots { gap: 10px; }
  .ma-booking-slots button { border-radius: 14px; min-height: 60px; }
  .ma-booking-contact label { color: var(--booking-ink); display: grid; font-size: 13px; font-weight: 800; gap: 7px; }
  .ma-booking-contact input { padding-inline: 14px; width: 100%; }
  .ma-booking-primary { bottom: 8px; margin-top: 24px; min-height: 56px; width: 100%; }
  .ma-booking-review { border-radius: 16px; padding: 8px 14px; }
  .ma-booking-review div { align-items: flex-start; flex-direction: column; gap: 3px; justify-content: center; padding: 8px 0; }
  .ma-booking-modal .ma-booking-modal__grid--services { display: grid; grid-template-columns: minmax(0, 1fr) !important; width: 100%; }
  .ma-booking-modal .ma-booking-service-card { display: block; width: 100%; }
}
@keyframes ma-booking-step-in { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Final mobile modal sizing: centered card, never full-screen */
@media (max-width: 767.98px) {
  .ma-booking-modal .modal-dialog,
  .ma-booking-modal .modal-dialog.modal-dialog-centered {
    align-items: center;
    display: flex;
    height: auto;
    margin: 16px auto;
    max-width: calc(100vw - 24px);
    min-height: calc(100dvh - 32px);
    padding: 0;
    width: calc(100vw - 24px);
  }
  .ma-booking-modal .ma-booking-card {
    border-radius: 24px;
    display: flex;
    height: min(760px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }
  .ma-booking-modal .ma-booking-header {
    min-height: 92px;
    padding: 18px 58px 14px 16px;
    position: relative;
  }
  .ma-booking-modal .ma-booking-header-tools {
    display: block;
    margin: 0;
  }
  .ma-booking-modal .ma-booking-step-count {
    left: 16px;
    position: absolute;
    top: 8px;
  }
  .ma-booking-modal .ma-booking-close {
    align-items: center;
    background: #fff;
    border: 1px solid var(--booking-line);
    border-radius: 50%;
    color: var(--booking-ink);
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 42px;
    z-index: 6;
  }
  .ma-booking-modal .modal-body {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
  }
}

.ma-simple-hero {
  min-height: auto;
  padding-bottom: clamp(28px, 5vw, 56px);
}

.ma-simple-hero .ma-premium-hero__copy {
  max-width: 620px;
}

.ma-simple-hero__photo {
  border: 1px solid var(--ma-color-border);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(61, 40, 34, .13);
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.ma-simple-hero__photo img {
  display: block;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  width: 100%;
}

.ma-simple-strip {
  padding-top: clamp(36px, 5vw, 62px);
  padding-bottom: clamp(36px, 5vw, 62px);
}

.ma-services-section {
  padding-top: clamp(36px, 5vw, 64px);
}

.ma-public-service {
  overflow: hidden;
  padding: 0;
}

.ma-public-service > img {
  aspect-ratio: 1.45 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.ma-public-service > div,
.ma-public-service h3,
.ma-public-service p,
.ma-public-service dl,
.ma-public-service button {
  margin-left: 16px;
  margin-right: 16px;
}

.ma-public-service h3 {
  font-size: 22px;
}

.ma-public-service button {
  margin-bottom: 16px;
}

.ma-simple-final {
  padding-top: clamp(38px, 6vw, 70px);
  padding-bottom: clamp(38px, 6vw, 70px);
}

@media (min-width: 900px) {
  .ma-simple-hero {
    align-items: center;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
  }
}

/* Mobile/tablet booking modal refinement */
.ma-booking-modal {
  --booking-panel: #fffaf7;
  --booking-surface: #ffffff;
  --booking-line: #eadbd3;
  --booking-ink: #2f211e;
  --booking-muted: #7b6963;
  --booking-action: var(--ma-color-primary);
}

.ma-booking-modal .modal-dialog {
  margin: 12px;
}

.ma-booking-modal .modal-content {
  background: var(--booking-panel);
  border: 1px solid rgba(234, 219, 211, .9);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(47, 33, 30, .24);
}

.ma-booking-modal .modal-header {
  align-items: center;
  background: rgba(255, 250, 247, .96);
  border-bottom: 1px solid var(--booking-line);
  gap: 12px;
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.ma-booking-modal .btn-close {
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(47, 33, 30, .1);
  flex: 0 0 auto;
  height: 42px;
  margin: 0;
  opacity: 1;
  padding: 12px;
  width: 42px;
}

.ma-booking-modal__eyebrow {
  color: var(--ma-color-primary);
}

.ma-booking-modal .modal-title {
  color: var(--booking-ink);
  font-family: var(--ma-font-title);
  font-size: clamp(1.45rem, 4.5vw, 2.25rem);
  line-height: 1.05;
}

.ma-booking-modal .modal-body {
  padding: 14px 16px 18px;
}

.ma-booking-wizard {
  background: #fff;
  border: 1px solid var(--booking-line);
  border-radius: 18px;
  gap: 0;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 4px;
}

.ma-booking-wizard li {
  border-radius: 14px;
  min-width: 0;
  padding: 7px 4px;
}

.ma-booking-wizard span {
  background: #f4ebe4;
  color: var(--booking-muted);
  height: 28px;
  width: 28px;
}

.ma-booking-wizard li.is-active {
  background: #f8eee9;
  color: var(--booking-ink);
}

.ma-booking-wizard li.is-active span,
.ma-booking-dates button.is-selected,
.ma-booking-slots button.is-selected {
  background: var(--booking-action);
  border-color: var(--booking-action);
  color: #fff;
}

.ma-booking-wizard b {
  display: none;
  font-size: 11px;
  line-height: 1.1;
}

.ma-booking-modal__step header {
  background: transparent;
  margin-bottom: 14px;
}

.ma-booking-modal__step h3 {
  color: var(--booking-ink);
  font-family: var(--ma-font-title);
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.08;
}

.ma-booking-modal__step p {
  color: var(--booking-muted);
  font-size: 15px;
}

.ma-booking-modal__grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.ma-booking-option {
  align-items: center;
  background: var(--booking-surface);
  border: 1px solid var(--booking-line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(47, 33, 30, .06);
  grid-template-columns: 46px 1fr auto;
  min-height: 78px;
  padding: 12px;
  text-align: left;
}

.ma-booking-option span {
  background: #f4ebe4;
  color: var(--ma-color-primary);
  height: 46px;
  width: 46px;
}

.ma-booking-option strong {
  color: var(--booking-ink);
  font-size: 16px;
}

.ma-booking-option small {
  color: var(--booking-muted);
  grid-column: 2 / 3;
}

.ma-booking-option b {
  align-self: center;
  color: var(--ma-color-accent);
  font-size: 14px;
  grid-column: 3;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

.ma-booking-option:hover,
.ma-booking-option.is-selected {
  border-color: var(--booking-action);
  box-shadow: 0 14px 34px rgba(143, 79, 72, .16);
  transform: none;
}

.ma-booking-dates {
  margin-inline: -16px;
  padding: 0 16px 8px;
  scroll-padding-inline: 16px;
}

.ma-booking-dates button,
.ma-booking-slots button {
  border-color: var(--booking-line);
  border-radius: 16px;
  min-height: 52px;
}

.ma-booking-dates button {
  min-width: 74px;
}

.ma-booking-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.ma-booking-slots button {
  min-width: 0;
  width: 100%;
}

.ma-booking-contact {
  gap: 12px;
}

.ma-booking-contact input {
  border-color: var(--booking-line);
  border-radius: 16px;
  font-size: 16px;
  min-height: 54px;
}

.ma-booking-primary {
  background: var(--booking-action);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(143, 79, 72, .2);
  min-height: 54px;
  position: sticky;
  bottom: 0;
}

.ma-booking-back {
  align-items: center;
  background: #fff;
  border: 1px solid var(--booking-line);
  border-radius: 999px;
  color: var(--booking-ink);
  display: inline-flex;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 42px;
  padding: 0 14px;
}

.ma-booking-review {
  background: #fff;
  border: 1px solid var(--booking-line);
  border-radius: 18px;
  padding: 6px 14px;
}

.ma-booking-review div {
  align-items: center;
  min-height: 46px;
}

@media (max-width: 575.98px) {
  .ma-booking-modal .modal-dialog {
    height: 100dvh;
    margin: 0;
    max-width: none;
  }

  .ma-booking-modal .modal-content {
    border: 0;
    border-radius: 0;
    height: 100dvh;
    min-height: 100dvh;
  }

  .ma-booking-modal .modal-body {
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }

  .ma-booking-wizard {
    position: sticky;
    top: -1px;
    z-index: 2;
  }
}

@media (min-width: 576px) and (max-width: 1024px) {
  .ma-booking-modal .modal-dialog {
    margin: 24px auto;
    max-width: min(92vw, 820px);
  }

  .ma-booking-modal .modal-content {
    max-height: calc(100dvh - 48px);
  }

  .ma-booking-modal .modal-body {
    overflow-y: auto;
  }

  .ma-booking-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-booking-wizard b {
    display: block;
  }
}

@media (min-width: 1025px) {
  .ma-booking-modal .modal-dialog {
    max-width: 980px;
  }

  .ma-booking-modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-booking-wizard b {
    display: block;
  }

  .ma-booking-primary {
    position: static;
  }
}

html {
  width: 100%;
  min-height: 100%;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.24), transparent 28%),
    radial-gradient(circle at top left, rgba(255, 245, 232, 0.78), transparent 36%),
    linear-gradient(180deg, #f5f4f1, #eceae6 45%, #e5e3de);
  color: var(--ink-color);
}

html[data-app-theme="dark"] body {
  background:
    radial-gradient(circle at top right, rgba(212, 167, 94, 0.16), transparent 30%),
    radial-gradient(circle at top left, rgba(60, 43, 30, 0.56), transparent 34%),
    linear-gradient(180deg, #171310, #14110f 48%, #100e0c);
  color: var(--ink-color);
}

html[data-app-theme="dark"] a {
  color: #e1bd7c;
}

html[data-app-theme="dark"] .card,
html[data-app-theme="dark"] .modal-content,
html[data-app-theme="dark"] .dropdown-menu,
html[data-app-theme="dark"] .list-group-item,
html[data-app-theme="dark"] .toast,
html[data-app-theme="dark"] .app-card,
html[data-app-theme="dark"] .auth-card {
  background-color: var(--surface-strong);
  border-color: var(--line-color);
  color: var(--ink-color);
}

html[data-app-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--ink-color);
  --bs-table-border-color: var(--line-color);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.035);
  --bs-table-hover-bg: rgba(212, 167, 94, 0.08);
}

html[data-app-theme="dark"] .form-control,
html[data-app-theme="dark"] .form-select,
html[data-app-theme="dark"] .input-group-text {
  background-color: #191511;
  border-color: var(--line-color);
  color: var(--ink-color);
}

html[data-app-theme="dark"] .form-control::placeholder {
  color: #9f927f;
}

html[data-app-theme="dark"] .text-muted,
html[data-app-theme="dark"] .form-text {
  color: var(--muted-color) !important;
}

.public-layout .app-card,
.admin-main .app-card,
.auth-card {
  border: 0;
  border-radius: 1.1rem;
  box-shadow: var(--soft-shadow);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #575755;
  border-color: #575755;
}

.admin-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 310px;
  height: 100vh;
  flex: 0 0 310px;
  overflow-y: auto;
  padding: 28px 20px;
  border-right: 1px solid rgba(180, 130, 45, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8f4ed 100%);
  box-shadow: 8px 0 30px rgba(80, 60, 30, 0.05);
  color: #4f4a45;
}

.sidebar-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 40px;
  text-align: center;
  --ma-gold: #a87318;
}

.ma-logo--admin {
  margin-bottom: 0;
}

.ma-logo--admin .ma-logo__image {
  width: 10.5rem;
  height: 5.55rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(83, 56, 20, 0.09));
}

.ma-logo--admin .ma-logo__letters {
  font-size: 4rem;
}

.ma-logo--admin small {
  letter-spacing: 0.42rem;
}

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

.sidebar-logout-form {
  margin: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  color: #4f4a45;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.sidebar-logout-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #4f4a45;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible,
.sidebar-logout-button:hover,
.sidebar-logout-button:focus-visible {
  color: #b97916;
  background: rgba(197, 143, 45, 0.1);
  text-decoration: none;
}

.sidebar-nav a.active {
  color: #b97916;
  background: linear-gradient(90deg, rgba(197, 143, 45, 0.18), rgba(197, 143, 45, 0.04));
  box-shadow: inset 0 0 0 1px rgba(197, 143, 45, 0.08);
  font-weight: 600;
}

.sidebar-store-entry {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px !important;
  min-height: 72px !important;
  margin: 8px 0 4px;
  padding: 12px 14px !important;
  border: 1px solid rgba(236, 72, 153, 0.24);
  border-radius: 14px !important;
  color: #db2777 !important;
  background: linear-gradient(145deg, #fff1f7, #ffffff);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.12);
}

.sidebar-store-entry:hover,
.sidebar-store-entry:focus-visible,
.sidebar-store-entry.is-active {
  color: #be185d !important;
  background: linear-gradient(145deg, #fce7f3, #ffffff) !important;
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.18) !important;
  transform: translateY(-1px);
}

.sidebar-store-entry__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: #ec4899;
  box-shadow: 0 10px 18px rgba(236, 72, 153, 0.24);
}

.sidebar-store-entry__icon i {
  color: #ffffff !important;
}

.sidebar-store-entry span:not(.sidebar-store-entry__icon) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sidebar-store-entry strong {
  color: #be185d;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.12;
}

.sidebar-store-entry small {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.2;
}

.sidebar-store-entry__arrow {
  align-self: center;
  color: #db2777 !important;
  font-size: 1rem !important;
  transition: transform 180ms ease;
}

.sidebar-store-entry:hover .sidebar-store-entry__arrow,
.sidebar-store-entry:focus-visible .sidebar-store-entry__arrow {
  transform: translateX(2px);
}

.app-module-splash {
  align-items: center;
  background: rgba(255, 247, 251, 0.88);
  backdrop-filter: blur(14px);
  display: grid;
  inset: 0;
  justify-items: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease, visibility 180ms ease;
  visibility: hidden;
  z-index: 2200;
}

.app-module-splash__panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(190, 24, 93, 0.18);
  color: #be185d;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: min(300px, calc(100vw - 48px));
  padding: 28px 30px;
  text-align: center;
}

.app-module-splash__brand {
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.app-module-splash__spinner {
  animation: moduleSplashSpin 780ms linear infinite;
  border: 3px solid #fbcfe8;
  border-top-color: #ec4899;
  border-radius: 999px;
  height: 36px;
  width: 36px;
}

.app-module-splash__panel strong {
  color: #be185d;
  font-size: 1rem;
  font-weight: 800;
}

.app-module-splash__panel small {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 650;
}

body.app-module-splash-open {
  overflow: hidden;
}

body.app-module-splash-open .app-module-splash {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@keyframes moduleSplashSpin {
  to {
    transform: rotate(360deg);
  }
}

.sidebar-nav a i,
.sidebar-nav a svg,
.sidebar-logout-button i,
.sidebar-logout-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 21px;
  line-height: 1;
}

.offcanvas .sidebar-brand {
  margin-bottom: 28px;
}

.admin-navbar {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96), rgba(250, 243, 232, 0.96)),
    radial-gradient(circle at right, rgba(242, 201, 139, 0.18), transparent 38%);
  color: var(--ink-color);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line-color);
}

.admin-navbar__inner {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  width: 100%;
}

.admin-navbar__actions {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-self: end;
  min-width: 0;
}

.admin-module-switch {
  position: relative;
}

.admin-module-switch__button {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(200, 166, 109, 0.28);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(73, 55, 33, 0.08);
  color: #2f2a25;
  display: grid;
  gap: 2px 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 46px;
  min-width: 164px;
  padding: 6px 12px;
  text-align: left;
}

.admin-module-switch__button span {
  color: #7a7066;
  font-size: 0.7rem;
  font-weight: 760;
  grid-column: 1 / -1;
  line-height: 1;
}

.admin-module-switch__button strong {
  align-items: center;
  display: inline-flex;
  font-size: 0.9rem;
  gap: 6px;
  line-height: 1.1;
}

.admin-module-switch__button > i {
  color: #9a6a22;
}

.admin-module-switch__menu {
  background: #fff;
  border: 1px solid rgba(200, 166, 109, 0.24);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(73, 55, 33, 0.14);
  min-width: 210px;
  opacity: 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
  z-index: 1050;
}

.admin-module-switch.is-open .admin-module-switch__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.admin-module-switch__menu a {
  align-items: center;
  border-radius: 10px;
  color: #5b5146;
  display: flex;
  gap: 8px;
  padding: 10px;
  text-decoration: none;
}

.admin-module-switch__menu a:hover,
.admin-module-switch__menu a.is-selected {
  background: rgba(200, 166, 109, 0.14);
  color: #2c241c;
}

.admin-navbar__title {
  color: #2f2a25;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 800;
  justify-self: center;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-navbar__logo {
  display: inline-flex;
  justify-self: end;
  text-decoration: none;
}

.admin-main {
  flex: 1 1 auto;
  min-width: 0;
  width: calc(100% - 310px);
  overflow-x: hidden;
}

.admin-sidebar--floating {
  display: block;
  position: fixed;
  left: 16px;
  top: 16px;
  bottom: 16px;
  z-index: 1055;
  height: auto;
  max-width: calc(100vw - 32px);
  border: 1px solid rgba(180, 130, 45, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(66, 52, 31, 0.22);
  transform: translateX(calc(-100% - 32px));
  transition: transform 260ms ease, box-shadow 260ms ease;
  scrollbar-width: none;
}

.admin-sidebar.admin-sidebar--floating {
  display: block;
}

.admin-layout.admin-menu-open .admin-sidebar--floating {
  transform: translateX(0);
}

.admin-sidebar--floating::-webkit-scrollbar {
  display: none;
}

.admin-sidebar--floating .sidebar-brand {
  padding-top: 18px;
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(28, 25, 22, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(3px);
}

.admin-layout.admin-menu-open .admin-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.admin-layout.admin-menu-open {
  overflow: hidden;
}

.admin-sidebar__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(197, 143, 45, 0.1);
  color: #8a641f;
}

.admin-menu-trigger {
  width: 2.75rem;
  height: 2.75rem;
  justify-self: start;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 143, 45, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #8a641f;
  box-shadow: 0 12px 26px rgba(80, 60, 30, 0.1);
}

.admin-menu-trigger:hover,
.admin-menu-trigger:focus-visible,
.admin-sidebar__close:hover,
.admin-sidebar__close:focus-visible {
  background: rgba(197, 143, 45, 0.16);
  color: #6f4e15;
}

.app-top-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #efeee8;
  border: 1px solid rgba(197, 143, 45, 0.25);
  box-shadow: 0 10px 24px rgba(80, 60, 30, 0.12);
}

.theme-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(197, 143, 45, 0.22);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(80, 60, 30, 0.1);
  color: #8a641f;
  display: inline-flex;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 2.75rem;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(197, 143, 45, 0.16);
  border-color: rgba(197, 143, 45, 0.38);
  color: #6f4e15;
  transform: translateY(-1px);
}

.theme-toggle i {
  font-size: 1.1rem;
  line-height: 1;
}

html[data-app-theme="dark"] .theme-toggle {
  background: rgba(35, 29, 24, 0.92);
  border-color: rgba(226, 190, 122, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  color: #e2bd77;
}

html[data-app-theme="dark"] .theme-toggle:hover,
html[data-app-theme="dark"] .theme-toggle:focus-visible {
  background: rgba(212, 167, 94, 0.18);
  border-color: rgba(226, 190, 122, 0.5);
  color: #f3d797;
}

.admin-navbar__brand,
.public-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-navbar__brand .navbar-text {
  min-width: 0;
}

.public-top-brand {
  justify-content: space-between;
  margin-bottom: 18px;
  color: #5b5146;
  font-weight: 700;
  width: 100%;
}

.public-top-brand__identity {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.admin-shell {
  display: block;
}

.admin-main {
  width: 100%;
}

.sidebar-nav-parent {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #4f4a45;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.sidebar-nav-parent span {
  flex: 1 1 auto;
}

.sidebar-nav-parent i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 21px;
  line-height: 1;
}

.sidebar-nav-parent__chevron {
  margin-left: auto;
  font-size: 0.95rem !important;
  transition: transform 200ms ease;
}

.sidebar-nav-group.is-open .sidebar-nav-parent__chevron {
  transform: rotate(90deg);
}

.sidebar-nav-parent:hover,
.sidebar-nav-parent:focus-visible {
  color: #b97916;
  background: rgba(197, 143, 45, 0.1);
}

.sidebar-nav-parent.active {
  color: #b97916;
  background: linear-gradient(90deg, rgba(197, 143, 45, 0.18), rgba(197, 143, 45, 0.04));
  box-shadow: inset 0 0 0 1px rgba(197, 143, 45, 0.08);
  font-weight: 600;
}

.sidebar-submenu {
  display: none;
  gap: 4px;
  padding-top: 4px;
}

.sidebar-nav-group.is-open .sidebar-submenu {
  display: grid;
}

.sidebar-subitem {
  margin-left: 16px;
  min-height: 44px !important;
  padding-left: 18px !important;
  font-size: 0.94rem !important;
}

.admin-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-theme-toggle {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 40;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  border-top: 4px solid var(--secondary-color);
  background: var(--surface-strong);
}

.auth-layout:has(.ma-admin-login) {
  display: block;
  padding: 0;
}

.ma-admin-login {
  --ma-login-gold: #c58b2d;
  --ma-login-gold-dark: #a96f18;
  --ma-login-ink: #242321;
  --ma-login-muted: #64605b;
  --ma-login-line: rgba(181, 137, 75, 0.26);
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.4rem);
  background:
    radial-gradient(circle at 16% 22%, rgba(197, 139, 45, 0.12), transparent 24%),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f4f0e9 50%, #ece6dc 100%);
  color: var(--ma-login-ink);
  overflow: hidden;
}

.ma-admin-login__shell {
  position: relative;
  width: min(1180px, 100%);
  min-height: min(760px, calc(100svh - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.8rem;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 31%),
    radial-gradient(circle at 4% 18%, rgba(181, 164, 141, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(249, 245, 238, 0.82));
  box-shadow: 0 28px 70px rgba(82, 70, 54, 0.14);
  overflow: hidden;
}

.ma-admin-login__shell::before,
.ma-admin-login__shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(197, 139, 45, 0.48);
  border-radius: 999px;
}

.ma-admin-login__shell::before {
  width: 280px;
  height: 170px;
  left: -58px;
  top: -38px;
  transform: rotate(118deg);
}

.ma-admin-login__shell::after {
  width: 300px;
  height: 150px;
  right: -76px;
  bottom: -42px;
  transform: rotate(148deg);
}

.ma-login-intro,
.ma-login-panel {
  position: relative;
  z-index: 1;
}

.ma-login-intro {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  text-align: center;
}

.ma-login-brand,
.ma-login-mobile-brand {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  text-transform: uppercase;
}

.ma-login-brand__monogram {
  position: relative;
  color: var(--ma-login-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.7rem, 8vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

span.ma-login-brand__monogram::after {
  content: "♕";
  position: absolute;
  left: 50%;
  top: -1.05rem;
  transform: translateX(-50%);
  color: var(--ma-login-gold);
  font-size: 1.25rem;
}

img.ma-login-brand__monogram {
  width: clamp(12rem, 18vw, 16rem);
  height: auto;
  aspect-ratio: 720 / 380;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(78, 54, 22, 0.08));
}

.ma-login-brand__name {
  color: #343230;
  font-size: 0.94rem;
  letter-spacing: 0.42em;
}

.ma-login-divider {
  width: 4.25rem;
  height: 1px;
  display: inline-block;
  background: linear-gradient(90deg, transparent, var(--ma-login-gold), transparent);
}

.ma-login-divider::after {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  display: block;
  margin: -0.14rem auto 0;
  background: var(--ma-login-gold);
  transform: rotate(45deg);
}

.ma-login-copy h1,
.ma-login-card__header h1,
.ma-login-card__header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ma-login-ink);
  letter-spacing: 0;
}

.ma-login-copy h1 {
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.ma-login-copy p {
  max-width: 430px;
  margin: 1rem auto 0;
  color: #4f4d49;
  font-size: 1.02rem;
  line-height: 1.7;
}

.ma-login-highlights {
  width: min(440px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ma-login-highlight {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: #47433e;
  font-size: 0.9rem;
  line-height: 1.25;
}

.ma-login-highlight i {
  color: var(--ma-login-gold);
  font-size: 1.65rem;
}

.ma-login-panel {
  display: grid;
  justify-items: center;
}

.ma-login-mobile-brand {
  display: none;
}

.ma-login-card {
  width: min(100%, 430px);
  display: grid;
  gap: 1.45rem;
  padding: clamp(1.45rem, 3vw, 2.7rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 252, 247, 0.68));
  box-shadow: 0 24px 60px rgba(72, 59, 41, 0.13);
  backdrop-filter: blur(18px);
}

.ma-login-card__icon {
  width: 4.15rem;
  height: 4.15rem;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: rgba(197, 139, 45, 0.1);
  color: var(--ma-login-gold-dark);
  font-size: 1.45rem;
}

.ma-login-card__header {
  text-align: center;
}

.ma-login-card__header h1,
.ma-login-card__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.18rem);
}

.ma-login-card__header p,
.ma-login-restricted {
  color: var(--ma-login-muted);
  font-size: 0.93rem;
}

.ma-login-card__header p {
  margin: 0.55rem 0 0;
}

.ma-login-form,
.ma-login-field {
  display: grid;
  gap: 0.65rem;
}

.ma-login-form {
  gap: 1rem;
}

.ma-login-field label {
  color: #282725;
  font-size: 0.92rem;
  font-weight: 700;
}

.ma-login-input {
  min-height: 3.35rem;
  display: grid;
  grid-template-columns: 1.35rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.95rem;
  border: 1px solid var(--ma-login-line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ma-login-input:focus-within {
  border-color: rgba(197, 139, 45, 0.7);
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(197, 139, 45, 0.12);
}

.ma-login-input i {
  color: #74716d;
}

.ma-login-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252421;
  font: inherit;
}

.ma-login-input input::placeholder {
  color: #88847e;
}

.ma-password-toggle {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5c5a56;
}

.ma-password-toggle:hover,
.ma-password-toggle:focus-visible {
  background: rgba(197, 139, 45, 0.1);
  color: var(--ma-login-gold-dark);
}

.ma-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.1rem;
  font-size: 0.9rem;
}

.ma-login-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #393733;
  cursor: pointer;
}

.ma-login-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ma-login-gold);
}

.ma-login-options a {
  color: var(--ma-login-gold-dark);
  text-underline-offset: 0.16rem;
}

.ma-login-submit {
  min-height: 3.45rem;
  border: 0;
  border-radius: 0.55rem;
  color: #fff;
  background: linear-gradient(135deg, #c78b2c, #dba64c 52%, #b9761e);
  box-shadow: 0 16px 30px rgba(174, 111, 24, 0.22);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ma-login-submit:hover,
.ma-login-submit:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow: 0 18px 36px rgba(174, 111, 24, 0.28);
}

.ma-login-action {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.ma-login-action:hover,
.ma-login-action:focus-visible {
  color: #fff;
  text-decoration: none;
}

.ma-login-restricted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

.ma-login-restricted i {
  color: #6f6b66;
}

.ma-login-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #7c6a52;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.ma-login-back:hover,
.ma-login-back:focus-visible {
  color: var(--ma-login-gold-dark);
}

.ma-login-validation {
  color: #a64637;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .ma-admin-login {
    align-items: start;
    padding: 1rem;
    overflow-y: auto;
  }

  .ma-admin-login__shell {
    min-height: calc(100svh - 2rem);
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.5rem;
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .ma-login-intro {
    display: none;
  }

  .ma-login-mobile-brand {
    display: grid;
    margin-bottom: 0.6rem;
  }

  .ma-login-mobile-brand .ma-login-brand__monogram {
    font-size: 4rem;
  }

  .ma-login-mobile-brand img.ma-login-brand__monogram {
    width: 10.5rem;
    height: auto;
  }

  .ma-login-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 520px) {
  .ma-admin-login {
    padding: 0;
  }

  .ma-admin-login__shell {
    width: 100%;
    min-height: 100svh;
    padding: 1.2rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ma-admin-login__shell::before {
    width: 190px;
    height: 120px;
    left: -78px;
    top: -26px;
  }

  .ma-admin-login__shell::after {
    width: 210px;
    height: 105px;
    right: -82px;
    bottom: -28px;
  }

  .ma-login-card {
    width: 100%;
    padding: 1.35rem;
    gap: 1.15rem;
  }

  .ma-login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .ma-login-card__icon {
    width: 3.55rem;
    height: 3.55rem;
  }
}

.modal-content {
  border-radius: 1rem;
}

.app-confirm-modal[hidden] {
  display: none;
}

.app-confirm-modal .modal-dialog {
  max-width: 28rem;
  padding: 0 1rem;
}

.app-confirm-modal__content {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.96)),
    radial-gradient(circle at top right, rgba(180, 138, 74, 0.14), transparent 12rem);
  border: 1px solid rgba(180, 138, 74, 0.18);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(47, 35, 24, 0.22);
  color: #241d17;
  overflow: hidden;
}

.app-confirm-modal__head {
  align-items: flex-start;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1.25rem 1.25rem 0.85rem;
}

.app-confirm-modal__icon {
  align-items: center;
  background: #f4ebe0;
  border: 1px solid rgba(180, 138, 74, 0.18);
  border-radius: 50%;
  color: #a46d1c;
  display: inline-flex;
  font-size: 1.25rem;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.app-confirm-modal__eyebrow {
  color: #a46d1c;
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.app-confirm-modal .modal-title {
  color: #241d17;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.app-confirm-modal__close {
  background-color: rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(98, 76, 53, 0.1);
  opacity: 1;
}

.app-confirm-modal__body {
  color: #6f6257;
  font-size: 0.98rem;
  line-height: 1.55;
  padding: 0 1.25rem 1.1rem;
}

.app-confirm-modal__actions {
  background: rgba(248, 242, 234, 0.72);
  border-top: 1px solid rgba(180, 138, 74, 0.14);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 1rem 1.25rem 1.25rem;
}

.app-confirm-modal__cancel,
.app-confirm-modal__accept {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1rem;
}

.app-confirm-modal__cancel {
  background: #ffffff;
  border: 1px solid rgba(104, 88, 72, 0.18);
  color: #4d4339;
}

.app-confirm-modal__cancel:hover,
.app-confirm-modal__cancel:focus-visible {
  background: #fbf7f1;
  border-color: rgba(180, 138, 74, 0.34);
  color: #241d17;
}

.app-confirm-modal__accept {
  background: linear-gradient(180deg, #b87c25, #986014);
  border: 0;
  box-shadow: 0 14px 28px rgba(152, 96, 20, 0.22);
  color: #fffaf4;
}

.app-confirm-modal__accept:hover,
.app-confirm-modal__accept:focus-visible,
.app-confirm-modal__accept--danger:hover,
.app-confirm-modal__accept--danger:focus-visible {
  background: linear-gradient(180deg, #a86d1a, #7f4d0f);
  color: #fffaf4;
}

.app-confirm-modal__accept--danger,
.app-confirm-modal__accept.btn-danger {
  background: linear-gradient(180deg, #b85b48, #924131);
  box-shadow: 0 14px 28px rgba(146, 65, 49, 0.22);
}

@media (max-width: 460px) {
  .app-confirm-modal__head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1rem 1rem 0.75rem;
  }

  .app-confirm-modal__body {
    padding: 0 1rem 1rem;
  }

  .app-confirm-modal__actions {
    grid-template-columns: 1fr;
    padding: 0.95rem 1rem 1rem;
  }
}

.agenda-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(104, 104, 102, 0.08);
}

.agenda-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #5d5d59;
  text-decoration: none;
  font-weight: 600;
}

.agenda-tab.is-active {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 12px 26px rgba(104, 104, 102, 0.14);
}

.agenda-stat {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98)),
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.12), transparent 45%);
}

.agenda-stat span {
  display: block;
  color: #70817b;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.agenda-stat strong {
  font-size: 1.7rem;
  color: #3c3c39;
}

.calendar-shell {
  padding: 1.25rem;
  overflow: hidden;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-toolbar h1 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.calendar-toolbar p {
  margin: 0.25rem 0 0;
  color: var(--muted-color);
  text-transform: capitalize;
}

.calendar-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.calendar-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.calendar-view-switch {
  width: max-content;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.calendar-view-switch a {
  min-width: 4.6rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  border-radius: 999px;
  color: #56524d;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.calendar-view-switch a.is-active {
  background: var(--primary-color);
  color: #fff;
}

.calendar-stats span {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #595653;
  font-size: 0.88rem;
}

.google-calendar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 58px auto;
  border: 1px solid var(--line-color);
  border-radius: 0.8rem;
  background: #fff;
  overflow: auto;
  max-height: calc(100svh - 15rem);
}

.google-calendar__time-head {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 5;
  background: #fff;
  border-right: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.google-calendar__columns-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  min-width: max-content;
  background: #fff;
  border-bottom: 1px solid var(--line-color);
}

.google-calendar__person {
  min-width: 210px;
  display: grid;
  align-content: center;
  gap: 0.1rem;
  padding: 0.65rem 0.9rem;
  border-right: 1px solid var(--line-color);
}

.google-calendar__day-head {
  min-width: 150px;
  border: 0;
  border-right: 1px solid var(--line-color);
  background: #fff;
  text-align: left;
}

.google-calendar__day-head:hover,
.google-calendar__day-head:focus-visible {
  background: #fffaf2;
  outline: 0;
}

.google-calendar__day-head.is-today strong {
  color: var(--primary-color);
}

.google-calendar__person strong {
  color: #2f302e;
  font-size: 0.96rem;
}

.google-calendar__person span {
  color: var(--muted-color);
  font-size: 0.78rem;
}

.google-calendar__time {
  position: sticky;
  left: 0;
  z-index: 3;
  display: grid;
  grid-auto-rows: 48px;
  background: #fff;
  border-right: 1px solid var(--line-color);
}

.google-calendar__time div {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.35rem 0.45rem 0 0;
  color: #75716c;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(104, 104, 102, 0.08);
}

.google-calendar__columns {
  display: grid;
  min-width: max-content;
}

.google-calendar__day-column {
  position: relative;
  min-width: 210px;
  height: 1152px;
  border-right: 1px solid var(--line-color);
  background-image: linear-gradient(to bottom, rgba(104, 104, 102, 0.08) 1px, transparent 1px);
  background-size: 100% 48px;
}

.google-calendar__week-column {
  min-width: 150px;
}

.google-calendar__slot {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  display: block;
  border: 0;
  border-bottom: 1px solid rgba(104, 104, 102, 0.05);
  background: transparent;
  padding: 0;
}

.google-calendar__slot:hover,
.google-calendar__slot:focus-visible {
  background: rgba(197, 143, 45, 0.08);
  outline: 0;
}

.google-calendar__event {
  position: absolute;
  left: 6px;
  right: 6px;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 0.1rem;
  min-height: 30px;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 0.45rem;
  color: #fff;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(45, 43, 40, 0.16);
}

.google-calendar__event span,
.google-calendar__event small {
  font-size: 0.72rem;
  line-height: 1.15;
  opacity: 0.9;
}

.google-calendar__event strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
  line-height: 1.15;
}

.agenda-event--agendado {
  background: #4f7ecf;
}

.agenda-event--confirmado {
  background: #2f9961;
}

.agenda-event--concluido {
  background: #76716b;
}

.agenda-event--cancelado {
  background: #bf5145;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(10rem, 1fr));
  gap: 1px;
  overflow-x: auto;
  border: 1px solid var(--line-color);
  border-radius: 0.8rem;
  background: var(--line-color);
}

.calendar-period-day {
  min-height: 34rem;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
}

.calendar-period-day__head,
.calendar-month-day__number {
  border: 0;
  background: transparent;
  color: #312f2c;
}

.calendar-period-day__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 4.2rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line-color);
  text-align: left;
}

.calendar-period-day__head span {
  color: var(--muted-color);
  text-transform: capitalize;
  font-size: 0.82rem;
}

.calendar-period-day__head strong {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
}

.calendar-period-day.is-today .calendar-period-day__head strong,
.calendar-month-day.is-today .calendar-month-day__number {
  background: var(--primary-color);
  color: #fff;
}

.calendar-period-day__items,
.calendar-month-day__items {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 0.5rem;
}

.calendar-period-event,
.calendar-month-event {
  min-width: 0;
  border: 0;
  border-radius: 0.45rem;
  color: #fff;
  text-align: left;
  overflow: hidden;
}

.calendar-period-event {
  display: grid;
  gap: 0.1rem;
  min-height: 3rem;
  padding: 0.45rem 0.55rem;
}

.calendar-period-event b,
.calendar-period-event span,
.calendar-month-event {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-period-event b {
  font-size: 0.76rem;
}

.calendar-period-event span {
  font-size: 0.86rem;
}

.calendar-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(8.5rem, 1fr));
  gap: 1px;
  overflow-x: auto;
  border: 1px solid var(--line-color);
  border-radius: 0.8rem;
  background: var(--line-color);
}

.calendar-month-day {
  min-height: 8.8rem;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.calendar-month-day:hover {
  background: #fffaf2;
}

.calendar-month-day.is-muted {
  background: #f7f5f1;
}

.calendar-month-day.is-muted .calendar-month-day__number {
  color: #aaa39a;
}

.calendar-month-day__number {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  margin: 0.35rem;
  border-radius: 50%;
  font-weight: 800;
}

.calendar-month-event {
  min-height: 1.65rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.76rem;
}

.calendar-month-day__items small {
  color: var(--muted-color);
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .calendar-toolbar {
    display: flex;
    justify-content: flex-start;
  }

  .calendar-toolbar__actions {
    flex-wrap: wrap;
  }

  .calendar-stats {
    display: none;
  }

  .google-calendar {
    max-height: calc(100svh - 13.5rem);
  }
}

@media (max-width: 575.98px) {
  .admin-professionals-header,
  .admin-services-header {
    align-items: stretch !important;
    flex-direction: column;
    gap: 1rem;
  }

  .admin-professionals-actions,
  .admin-services-actions {
    flex-direction: column;
    width: 100%;
  }

  .admin-professionals-actions .btn,
  .admin-services-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .admin-professionals-table-wrap,
  .admin-services-table-wrap {
    overflow: visible;
  }

  .admin-professionals-table,
  .admin-services-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
  }

  .admin-professionals-table thead,
  .admin-services-table thead {
    display: none;
  }

  .admin-professionals-table,
  .admin-professionals-table tbody,
  .admin-professionals-table tr,
  .admin-professionals-table td,
  .admin-services-table,
  .admin-services-table tbody,
  .admin-services-table tr,
  .admin-services-table td {
    display: block;
    width: 100%;
  }

  .admin-professionals-table tbody,
  .admin-services-table tbody {
    display: grid;
    gap: 0.9rem;
  }

  .admin-professionals-table tr,
  .admin-services-table tr {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 239, 0.94)),
      radial-gradient(circle at top right, rgba(200, 166, 109, 0.13), transparent 42%);
    border: 1px solid rgba(210, 178, 125, 0.28);
    border-radius: 0.85rem;
    box-shadow: 0 0.8rem 1.8rem rgba(73, 55, 33, 0.08);
    padding: 0.95rem;
  }

  .admin-professionals-table td,
  .admin-services-table td {
    align-items: start;
    border: 0;
    color: #332a22;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(6rem, 0.38fr) minmax(0, 1fr);
    min-height: 2.25rem;
    padding: 0.45rem 0 !important;
    text-align: left !important;
    word-break: break-word;
  }

  .admin-professionals-table td + td,
  .admin-services-table td + td {
    border-top: 1px solid rgba(210, 178, 125, 0.18);
  }

  .admin-professionals-table td::before,
  .admin-services-table td::before {
    color: #8a6a35;
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .admin-professionals-row-actions,
  .admin-services-row-actions {
    display: grid !important;
    gap: 0.55rem !important;
    grid-template-columns: 1fr;
  }

  .admin-professionals-row-actions::before,
  .admin-services-row-actions::before {
    margin-bottom: 0.1rem;
  }

  .admin-professionals-row-actions > .btn,
  .admin-professionals-row-actions form,
  .admin-professionals-row-actions form .btn,
  .admin-services-row-actions > .btn,
  .admin-services-row-actions form,
  .admin-services-row-actions form .btn {
    width: 100%;
  }

  .admin-professionals-row-actions form,
  .admin-services-row-actions form {
    display: block !important;
  }
}

.agenda-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.agenda-board {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
}

.agenda-time-column {
  display: grid;
  grid-template-rows: 64px repeat(24, 48px);
}

.agenda-board__corner {
  border-bottom: 1px solid var(--line-color);
}

.agenda-time-cell {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0.25rem;
  padding-right: 0.5rem;
  color: #73827d;
  font-size: 0.82rem;
}

.agenda-columns-wrapper {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.agenda-columns {
  display: grid;
  gap: 1rem;
  min-width: min-content;
}

.agenda-column {
  min-width: 220px;
}

.agenda-column__header {
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem 1rem 0 0;
  background:
    radial-gradient(circle at top, rgba(242, 201, 139, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(104, 104, 102, 0.96), rgba(84, 84, 82, 0.94));
  color: #fff;
}

.agenda-column__header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.agenda-column__body {
  position: relative;
  height: 1152px;
  border-radius: 0 0 1rem 1rem;
  background-image:
    linear-gradient(to bottom, rgba(104, 104, 102, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
  background-size: 100% 48px, 100% 100%;
  border: 1px solid var(--line-color);
  overflow: hidden;
}

.agenda-slot-empty {
  display: block;
  height: 48px;
  border-bottom: 1px dashed rgba(104, 104, 102, 0.05);
  transition: background-color 160ms ease;
}

.agenda-slot-empty:hover {
  background: rgba(242, 201, 139, 0.12);
}

.agenda-event {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  border: 0;
  border-radius: 1rem;
  padding: 0.7rem 0.75rem;
  text-align: left;
  color: #fff;
  box-shadow: 0 16px 30px rgba(92, 87, 75, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.agenda-event:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(92, 87, 75, 0.22);
}

.agenda-event strong,
.agenda-event span,
.agenda-event small {
  display: block;
}

.agenda-event__time {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 0.15rem;
}

.agenda-event small {
  margin-top: 0.25rem;
  opacity: 0.86;
}

.agenda-event--agendado {
  background: linear-gradient(180deg, #8f8475, #6f675d);
}

.agenda-event--confirmado {
  background: linear-gradient(180deg, #7b847f, #5f6662);
}

.agenda-event--ematendimento {
  background: linear-gradient(180deg, #efc27c, #cf9a52);
}

.agenda-event--concluido {
  background: linear-gradient(180deg, #a19d96, #807b75);
}

.agenda-event--cancelado {
  background: linear-gradient(180deg, #dd5a5a, #b93d3d);
}

.agenda-mobile-group {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
}

.agenda-mobile-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.agenda-mobile-group__header span {
  display: block;
  font-size: 0.84rem;
  color: #70817b;
}

.agenda-mobile-empty {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(242, 201, 139, 0.12);
  color: #5c5b57;
  text-decoration: none;
}

.agenda-mobile-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  border: 0;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: #fff;
  margin-bottom: 0.7rem;
  text-align: left;
}

.agenda-mobile-item__time {
  font-weight: 700;
}

.agenda-mobile-item strong,
.agenda-mobile-item span,
.agenda-mobile-item small {
  display: block;
}

.agenda-detail-grid {
  display: grid;
  gap: 1rem;
}

.agenda-detail-grid div {
  display: grid;
  gap: 0.25rem;
}

.agenda-detail-grid span {
  color: #70817b;
  font-size: 0.84rem;
}

.agenda-detail-grid strong {
  color: #3c3c39;
}

.booking-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(104, 104, 102, 0.96), rgba(130, 129, 125, 0.94)),
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.3), transparent 40%);
  color: #fffaf2;
  border-radius: 1.6rem;
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 20px 48px rgba(104, 104, 102, 0.2);
}

.booking-hero__content {
  max-width: 680px;
}

.booking-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.booking-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin: 1rem 0 0.75rem;
}

.booking-subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  margin-bottom: 0;
}

.booking-admin-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.booking-step {
  background: rgba(255, 251, 245, 0.92);
  backdrop-filter: blur(12px);
}

.booking-progress {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.98));
}

.booking-progress__bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.booking-progress__bar span {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(104, 104, 102, 0.14);
}

.booking-progress__bar span.is-active {
  background: linear-gradient(90deg, var(--primary-color), #8f8475);
}

.booking-progress__labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #70817b;
}

.booking-step__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.booking-step__number {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  background: rgba(242, 201, 139, 0.2);
  color: var(--primary-color);
  font-weight: 700;
}

.booking-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.booking-option-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.booking-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 180px;
  padding: 1.2rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line-color);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 239, 0.98)),
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.08), transparent 40%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.booking-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(104, 104, 102, 0.12);
}

.booking-option-card.is-selected {
  border-color: rgba(242, 201, 139, 0.75);
  box-shadow: 0 18px 36px rgba(162, 130, 83, 0.16);
}

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

.booking-option-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #343431;
}

.booking-option-text {
  color: #5f6d68;
  font-size: 0.95rem;
}

.booking-meta {
  margin-top: auto;
  color: var(--primary-color);
  font-weight: 600;
}

.booking-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #343431;
}

.booking-slots__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.booking-date-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.booking-date-chip {
  min-width: 94px;
  border: 1px solid var(--line-color);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
  color: #444440;
  padding: 0.8rem 0.95rem;
  text-align: left;
  transition: all 160ms ease;
}

.booking-date-chip small,
.booking-date-chip strong {
  display: block;
}

.booking-date-chip small {
  text-transform: capitalize;
  color: #70817b;
  margin-bottom: 0.2rem;
}

.booking-date-chip.is-selected {
  border-color: rgba(242, 201, 139, 0.75);
  background: linear-gradient(180deg, rgba(104, 104, 102, 0.98), rgba(135, 132, 124, 0.96));
  color: #fffaf2;
  box-shadow: 0 14px 28px rgba(104, 104, 102, 0.16);
}

.booking-date-chip.is-selected small {
  color: rgba(255, 255, 255, 0.72);
}

.booking-month-toggle {
  border: 0;
  background: transparent;
  color: var(--primary-color);
  font-weight: 800;
  padding: 0;
}

.booking-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.booking-month-grid[hidden] {
  display: none;
}

.booking-month-day {
  display: grid;
  place-items: center;
  min-height: 4.25rem;
  border: 1px solid var(--line-color);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.86);
  color: #444440;
}

.booking-month-day small {
  color: #70817b;
  text-transform: capitalize;
}

.booking-month-day strong {
  font-size: 1.08rem;
}

.booking-month-day.is-selected {
  border-color: rgba(242, 201, 139, 0.75);
  background: var(--primary-color);
  color: #fffaf2;
}

.booking-month-day.is-selected small {
  color: rgba(255, 255, 255, 0.72);
}

.booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-height: 3rem;
}

.booking-slot {
  min-width: 88px;
  height: 46px;
  border: 1px solid rgba(104, 104, 102, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #4b4b48;
  font-weight: 600;
  transition: all 180ms ease;
}

.booking-slot:hover,
.booking-slot.is-selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.booking-summary {
  position: sticky;
  top: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.98));
}

.booking-summary__top {
  margin-bottom: 1.25rem;
}

.booking-summary__list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.booking-summary__list div {
  display: grid;
  gap: 0.2rem;
}

.booking-summary__list dt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #70817b;
}

.booking-summary__list dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #343431;
}

.booking-success {
  max-width: 780px;
  margin: 4rem auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
}

.booking-success__icon {
  width: 4.75rem;
  height: 4.75rem;
  display: grid;
  place-items: center;
  border-radius: 1.4rem;
  margin: 0 auto 1rem;
  background: rgba(242, 201, 139, 0.18);
  color: var(--primary-color);
  font-size: 2rem;
}

.booking-success__details {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: left;
}

.booking-success__details div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(242, 201, 139, 0.1);
}

.booking-success__details span {
  display: block;
  color: #70817b;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.booking-success__details strong {
  color: #343431;
}

.booking-home-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
}

.booking-home-card__step {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(242, 201, 139, 0.2);
  color: var(--primary-color);
  font-weight: 700;
}

.booking-home-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98)),
    radial-gradient(circle at right top, rgba(242, 201, 139, 0.18), transparent 42%);
}

.booking-eyebrow--dark {
  background: rgba(242, 201, 139, 0.18);
  color: var(--primary-color);
}

.booking-home-cta {
  padding: 1.15rem;
  border-radius: 1.2rem;
  background: rgba(242, 201, 139, 0.12);
}

.booking-home-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.booking-home-service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.98));
}

.booking-home-service-card__meta {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 201, 139, 0.18);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
}

.booking-home-service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.booking-home-service-card__footer strong {
  color: #3c3c39;
  font-size: 1.2rem;
}

.booking-submit {
  box-shadow: 0 14px 30px rgba(104, 104, 102, 0.18);
}

.booking-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 1rem;
}

.booking-showcase__block {
  display: grid;
  gap: 1rem;
}

.booking-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.booking-gallery,
.booking-testimonials {
  display: grid;
  gap: 1rem;
}

.booking-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-gallery-card,
.booking-testimonial-card {
  overflow: hidden;
  border: 1px solid var(--line-color);
  border-radius: 1rem;
  background: rgba(255, 251, 245, 0.92);
  box-shadow: 0 14px 30px rgba(104, 104, 102, 0.08);
}

.booking-gallery-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.booking-gallery-card span,
.booking-gallery-card p,
.booking-testimonial-card strong,
.booking-testimonial-card span,
.booking-testimonial-card p {
  margin: 0.85rem;
}

.booking-gallery-card span,
.booking-testimonial-card span {
  display: block;
  color: #8a7659;
  font-weight: 800;
  font-size: 0.82rem;
}

.booking-gallery-card p,
.booking-testimonial-card p {
  color: var(--muted-color);
}

.booking-testimonial-card {
  padding: 1rem;
}

.booking-testimonial-card img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.booking-testimonial-card strong {
  display: block;
  color: #343431;
  margin: 0;
}

.booking-testimonial-card span,
.booking-testimonial-card p {
  margin-left: 0;
  margin-right: 0;
}

.landing-page {
  --landing-ink: #2f302e;
  --landing-muted: #71716e;
  --landing-line: rgba(104, 104, 102, 0.12);
  display: grid;
  gap: 3rem;
  padding-bottom: 1.5rem;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
}

.landing-brand,
.landing-nav__links a,
.landing-footer a {
  color: var(--landing-ink);
  text-decoration: none;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.landing-brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #787875, #62615f);
  color: #fffaf2;
  box-shadow: 0 10px 22px rgba(104, 104, 102, 0.18);
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.landing-nav__admin {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  min-height: 560px;
  padding: 2rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.26), transparent 24%),
    radial-gradient(circle at 0% 10%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 241, 236, 0.96) 48%, rgba(234, 230, 224, 0.98));
  box-shadow: 0 26px 72px rgba(104, 104, 102, 0.14);
}

.landing-hero__content {
  align-self: end;
  max-width: 720px;
  z-index: 1;
}

.landing-kicker {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: #8a7659;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2,
.landing-final h2 {
  color: var(--landing-ink);
  letter-spacing: 0;
}

.landing-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.landing-hero p,
.landing-section__header p,
.landing-benefits p,
.landing-final p {
  color: var(--landing-muted);
  font-size: 1.05rem;
}

.landing-hero p {
  max-width: 560px;
  margin: 1rem 0 0;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.landing-button:hover {
  transform: translateY(-1px);
}

.landing-button--primary {
  background: linear-gradient(135deg, #676764, #7d7c78);
  color: #fffaf2;
  box-shadow: 0 18px 36px rgba(104, 104, 102, 0.2);
}

.landing-button--secondary {
  border: 1px solid var(--landing-line);
  background: rgba(255, 251, 245, 0.76);
  color: var(--landing-ink);
}

.landing-hero__visual {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: min(38vw, 360px);
  min-width: 240px;
  aspect-ratio: 0.82;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(160deg, #f4debc, #f7e9d1 42%, #6f6f6c 43%, #5f5f5c);
  box-shadow: 0 26px 54px rgba(104, 104, 102, 0.2);
}

.landing-appointment {
  position: absolute;
  left: -2rem;
  bottom: 2rem;
  display: grid;
  gap: 0.25rem;
  width: 220px;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(104, 104, 102, 0.14);
}

.landing-appointment__label,
.landing-appointment span:last-child {
  color: var(--landing-muted);
  font-size: 0.86rem;
}

.landing-appointment strong {
  color: var(--landing-ink);
  font-size: 1.2rem;
}

.landing-polish {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  gap: 0.55rem;
}

.landing-polish span {
  width: 2.15rem;
  height: 4.8rem;
  border-radius: 1rem 1rem 0.55rem 0.55rem;
  background: #fff;
  box-shadow: inset 0 -2.6rem 0 #f1c78c;
}

.landing-polish span:nth-child(2) {
  box-shadow: inset 0 -2.6rem 0 #dfb171;
}

.landing-polish span:nth-child(3) {
  box-shadow: inset 0 -2.6rem 0 #6b6a67;
}

.landing-section {
  display: grid;
  gap: 1.35rem;
}

.landing-section--soft {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 251, 245, 0.62);
}

.landing-section__header {
  max-width: 720px;
}

.landing-section h2,
.landing-final h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
}

.landing-section__header p,
.landing-benefits p,
.landing-final p {
  margin: 0.65rem 0 0;
}

.landing-services,
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.landing-service,
.landing-steps article {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid var(--landing-line);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 239, 0.92)),
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.08), transparent 42%);
}

.landing-service span,
.landing-steps span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(242, 201, 139, 0.18);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 800;
}

.landing-service span {
  padding: 0.35rem 0.7rem;
}

.landing-service h3,
.landing-steps h3 {
  margin: 0;
  color: var(--landing-ink);
  font-size: 1.15rem;
}

.landing-service p,
.landing-steps p {
  margin: 0;
  color: var(--landing-muted);
}

.landing-service strong {
  margin-top: auto;
  color: var(--landing-ink);
  font-size: 1.25rem;
}

.landing-steps span {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
}

.landing-benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.landing-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.landing-benefits li {
  min-height: 4.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 239, 0.98));
  color: var(--landing-ink);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(104, 104, 102, 0.08);
}

.landing-final {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(242, 201, 139, 0.24), transparent 34%),
    linear-gradient(135deg, #666663, #7a7975);
}

.landing-final h2,
.landing-final p {
  color: #fffaf2;
}

.landing-final .landing-button {
  margin-top: 0.8rem;
  background: #fffaf2;
  color: var(--primary-color);
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-muted);
}

.landing-footer span {
  color: var(--landing-ink);
  font-weight: 800;
}

@media (max-width: 991px) {
  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-main {
    width: 100%;
  }

  .admin-content {
    padding: 24px;
  }

  .agenda-visual-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-summary {
    position: static;
  }
}

@media (max-width: 767px) {
  .admin-content {
    padding: 18px;
  }

  .booking-hero {
    padding: 1.4rem;
    min-height: auto;
  }

  .booking-title {
    font-size: 2rem;
  }

  .booking-step,
  .booking-summary,
  .booking-success {
    padding: 1.25rem !important;
  }

  .booking-option-grid,
  .booking-option-grid--compact {
    grid-template-columns: 1fr;
  }

  .booking-slot {
    flex: 1 1 calc(50% - 0.65rem);
  }

  .booking-date-strip {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    scroll-snap-type: x mandatory;
  }

  .booking-date-chip {
    min-width: 5.35rem;
    min-height: 4.7rem;
    scroll-snap-align: start;
  }

  .booking-month-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .booking-slots__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-showcase,
  .booking-gallery {
    grid-template-columns: 1fr;
  }

  .booking-showcase__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .landing-page {
    gap: 2.25rem;
  }

  .landing-nav {
    align-items: flex-start;
  }

  .landing-nav__links a:not(.landing-nav__admin) {
    display: none;
  }

  .landing-hero {
    min-height: auto;
    padding: 1.25rem;
    padding-top: 16rem;
    border-radius: 1.25rem;
  }

  .landing-hero__visual {
    left: 1.25rem;
    right: 1.25rem;
    top: 1.25rem;
    width: auto;
    min-width: 0;
    height: 13.5rem;
    aspect-ratio: auto;
    border-radius: 1.25rem;
  }

  .landing-appointment {
    left: 0.85rem;
    bottom: 0.85rem;
    width: 190px;
  }

  .landing-polish span {
    width: 1.7rem;
    height: 3.8rem;
  }

  .landing-hero__actions,
  .landing-button {
    width: 100%;
  }

  .landing-section--soft,
  .landing-final {
    padding: 1.1rem;
    border-radius: 1.15rem;
  }

  .landing-benefits,
  .landing-benefits ul {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.public-layout > main.container:has(.ma-home) {
  max-width: none;
  padding: 0 !important;
}

.ma-home {
  --ma-gold: #c9902d;
  --ma-gold-dark: #b77c1f;
  --ma-ink: #1f1f1f;
  --ma-muted: #66615b;
  --ma-line: rgba(151, 124, 84, 0.18);
  --ma-cream: #f7f3ec;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ma-ink);
  background:
    radial-gradient(circle at top right, rgba(209, 155, 72, 0.12), transparent 28%),
    linear-gradient(180deg, #fdfbf7 0%, #f7f2ea 52%, #f2eadf 100%);
  padding-bottom: 7.5rem;
}

.ma-home h1,
.ma-home h2,
.ma-logo__letters {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.ma-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, #fff 0 18%, transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(201, 144, 45, 0.2), transparent 16%),
    linear-gradient(100deg, #fbfaf7 0 43%, #eee7dc 100%);
}

.ma-hero__content {
  z-index: 2;
  padding: 2rem 0 2rem clamp(2rem, 5vw, 4rem);
  max-width: 610px;
}

.ma-logo {
  display: inline-grid;
  color: var(--ma-gold);
  text-decoration: none;
  margin-bottom: 3rem;
}

.ma-logo__letters {
  position: relative;
  font-size: 4.6rem;
  line-height: 0.82;
  color: var(--ma-gold);
}

.ma-logo__letters span::before {
  content: "♕";
  position: absolute;
  top: -1.3rem;
  right: 1.6rem;
  font-size: 1.4rem;
}

.ma-logo small {
  margin-top: 0.35rem;
  color: #746e65;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  font-size: 0.75rem;
}

.ma-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  color: var(--ma-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.24rem;
  font-size: 0.92rem;
}

.ma-kicker span {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--ma-gold-dark);
}

.ma-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 6.4vw, 6.6rem);
  line-height: 0.92;
}

.ma-hero h1 em {
  color: var(--ma-gold);
  font-style: normal;
}

.ma-hero__text {
  max-width: 510px;
  margin: 1.45rem 0 0;
  color: #55514d;
  font-size: 1.35rem;
  line-height: 1.55;
}

.ma-hero__actions {
  display: flex;
  gap: 1.1rem;
  margin-top: 2rem;
}

.ma-btn,
.ma-continue,
.ma-service-card,
.ma-time-chip {
  border: 0;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ma-btn {
  min-height: 4.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 2rem;
  border-radius: 1rem;
  font-weight: 800;
}

.ma-btn--gold,
.ma-continue {
  color: #fff;
  background: linear-gradient(135deg, #c58a29, #d6a744);
  box-shadow: 0 20px 36px rgba(181, 124, 35, 0.24);
}

.ma-btn--light,
.ma-btn--outline {
  color: var(--ma-ink);
  border: 1px solid rgba(190, 139, 49, 0.55);
  background: rgba(255, 255, 255, 0.78);
}

.ma-address {
  margin: 2.2rem 0 0;
  color: #3f3b36;
  font-style: normal;
  line-height: 1.55;
}

.ma-address i {
  color: var(--ma-gold);
  margin-right: 0.65rem;
}

.ma-address span {
  margin-left: 2rem;
}

.ma-hero__media {
  position: relative;
  min-height: 100%;
}

.ma-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fbfaf7 0%, rgba(251, 250, 247, 0.78) 10%, rgba(251, 250, 247, 0.05) 34%);
}

.ma-hero__carousel {
  position: absolute;
  inset: 0;
}

.ma-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) brightness(1.04);
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease-in-out, visibility 700ms ease-in-out;
}

.ma-hero__media img.is-active {
  opacity: 1;
  visibility: visible;
}

.ma-dots {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 1.6rem;
  display: flex;
  gap: 0.7rem;
}

.ma-dots button {
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 18px rgba(69, 58, 44, 0.12);
}

.ma-dots button.is-active {
  width: 1.3rem;
  background: var(--ma-gold);
}

.ma-services,
.ma-booking,
.ma-lower {
  width: min(92vw, 1170px);
  margin: 0 auto;
}

.ma-services {
  padding: 1.65rem 0 1rem;
}

.ma-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.ma-section-head h2,
.ma-booking h2,
.ma-lower h2 {
  margin: 0;
  font-size: 1.65rem;
}

.ma-section-head a {
  color: var(--ma-gold-dark);
  text-decoration: none;
  font-weight: 700;
}

.ma-service-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.ma-service-card {
  min-height: 138px;
  display: grid;
  place-items: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--ma-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ma-ink);
  box-shadow: 0 16px 30px rgba(80, 70, 58, 0.07);
  backdrop-filter: blur(14px);
}

.ma-service-card i {
  color: var(--ma-gold);
  font-size: 2rem;
}

.ma-service-card span {
  max-width: 120px;
  font-weight: 500;
  line-height: 1.2;
}

.ma-service-card.is-selected,
.ma-time-grid button.is-selected {
  border-color: var(--ma-gold);
  box-shadow: 0 18px 34px rgba(185, 128, 37, 0.16);
}

.ma-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.ma-benefits div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #292725;
}

.ma-benefits i {
  color: var(--ma-gold);
  font-size: 1.7rem;
}

.ma-booking {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.7rem 1.75rem;
  border: 1px solid rgba(199, 167, 119, 0.24);
  border-radius: 1.7rem;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.86), rgba(249, 242, 232, 0.82));
  box-shadow: 0 24px 54px rgba(92, 78, 59, 0.1);
  overflow: hidden;
}

.ma-booking p {
  color: var(--ma-muted);
}

.ma-booking__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.55rem;
}

.ma-step-card {
  min-height: 260px;
  padding: 1rem;
  border: 1px solid var(--ma-line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(87, 76, 61, 0.1);
}

.ma-step-card__title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(197, 138, 41, 0.25);
  color: var(--ma-gold-dark);
}

.ma-step-card__title h3 {
  margin: 0;
  color: var(--ma-ink);
  font-size: 1rem;
}

.ma-selected-service {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  align-items: center;
  margin: 1.1rem 0;
}

.ma-selected-service img {
  width: 96px;
  height: 96px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.ma-selected-service__icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(201, 144, 45, 0.1);
  color: var(--ma-gold);
}

.ma-selected-service__icon i {
  font-size: 2.1rem;
}

.ma-selected-service img.ma-avatar {
  border-radius: 50%;
}

.ma-selected-service strong,
.ma-selected-service span,
.ma-selected-service b {
  display: block;
}

.ma-selected-service strong {
  font-size: 0.96rem;
}

.ma-selected-service span {
  color: var(--ma-muted);
  font-size: 0.86rem;
}

.ma-selected-service b {
  margin-top: 0.35rem;
  color: #1f1f1f;
}

.ma-step-arrow {
  color: var(--ma-gold);
  font-size: 2rem;
}

.ma-date-label {
  margin: 1.1rem 0 0.7rem;
  color: var(--ma-ink) !important;
  font-size: 0.92rem;
}

.ma-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.ma-time-chip {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 70, 58, 0.15);
  border-radius: 0.55rem;
  background: #fff;
  color: #49433c;
  font-weight: 600;
}

.ma-time-chip.is-selected {
  background: #fff9ee;
  color: var(--ma-gold-dark);
  border-color: rgba(197, 138, 41, 0.42);
}

.ma-continue {
  width: 100%;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.3rem;
  border-radius: 999px;
  font-weight: 800;
}

.ma-step-note {
  margin: 0.2rem 0 0;
  color: var(--ma-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.ma-phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ma-phone__shell {
  position: relative;
  width: 205px;
  min-height: 390px;
  padding: 1.45rem 0.8rem 0.8rem;
  border: 8px solid #191919;
  border-radius: 2.1rem;
  background: linear-gradient(180deg, #fff, #fbf6ed);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.ma-phone__bar {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.ma-phone header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ma-gold);
}

.ma-phone header span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.ma-phone h3 {
  margin: 1.1rem 0 0.9rem;
  font-size: 0.92rem;
}

.ma-phone ol {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ma-phone li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid rgba(197, 138, 41, 0.22);
  border-radius: 0.65rem;
  background: #fff;
}

.ma-phone li b {
  color: var(--ma-gold-dark);
}

.ma-phone li strong,
.ma-phone li span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.62rem;
}

.ma-phone li span {
  color: var(--ma-muted);
}

.ma-phone button {
  width: 100%;
  min-height: 2.1rem;
  margin-top: 0.9rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c58a29, #d6a744);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
}

.ma-lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ma-instagram {
  min-height: 270px;
  padding: 1.5rem;
  border: 1px solid rgba(199, 167, 119, 0.22);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 42px rgba(92, 78, 59, 0.08);
  overflow: hidden;
}

.ma-instagram p {
  color: var(--ma-muted);
}

.ma-logo--footer {
  margin-bottom: 1.2rem;
}

.ma-logo--footer .ma-logo__letters {
  font-size: 3.3rem;
}

.ma-logo--footer small {
  letter-spacing: 0.38rem;
}

.ma-instagram__intro {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ma-instagram__avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(201, 144, 45, 0.22);
  box-shadow: 0 12px 24px rgba(92, 78, 59, 0.12);
}

.ma-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.ma-gallery__item {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ma-ink);
}

.ma-gallery img {
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
  border-radius: 0.65rem;
  box-shadow: 0 14px 28px rgba(92, 78, 59, 0.08);
}

.ma-gallery__item span {
  font-size: 0.9rem;
  font-weight: 800;
}

.ma-gallery__item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ma-footer {
  width: 100%;
  margin: 2rem 0 0;
  padding: 0 0 6.4rem;
  background:
    linear-gradient(180deg, rgba(244, 236, 225, 0.32), rgba(239, 231, 219, 0.92)),
    radial-gradient(circle at top right, rgba(201, 144, 45, 0.08), transparent 28%);
  border-top: 1px solid rgba(199, 167, 119, 0.22);
}

.ma-footer__inner {
  width: min(92vw, 1170px);
  margin: 0 auto;
  padding: 1.9rem 0 0;
}

.ma-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(200px, 0.8fr));
  gap: 1.6rem;
  align-items: start;
}

.ma-footer__brand p,
.ma-footer__column p,
.ma-footer__bottom {
  color: var(--ma-muted);
}

.ma-footer__brand p {
  max-width: 360px;
  margin: 0;
  line-height: 1.7;
}

.ma-footer__column {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.ma-footer__column h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.ma-footer__column a,
.ma-footer__column p {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  color: #403b35;
  text-decoration: none;
  line-height: 1.6;
}

.ma-footer__column i {
  color: var(--ma-gold);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.ma-footer__restricted {
  margin-top: 0.35rem;
  color: #7b756e !important;
  font-size: 0.82rem;
  opacity: 0.82;
}

.ma-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(199, 167, 119, 0.2);
  font-size: 0.88rem;
}

.ma-floating-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0.85rem;
  width: min(84vw, 760px);
  min-height: 4.35rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 38px rgba(69, 58, 44, 0.13);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.ma-floating-nav a {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  color: #5d5954;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.ma-floating-nav i {
  font-size: 1.28rem;
}

.ma-floating-nav .is-active {
  color: var(--ma-gold);
}

.ma-floating-nav--side {
  top: 50%;
  left: 1rem;
  right: auto;
  bottom: auto;
  width: 4.35rem;
  min-height: 0;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0.45rem;
  border-radius: 1.4rem;
  transform: translateY(-50%);
}

.ma-floating-nav--side a {
  gap: 0.28rem;
  padding: 0.55rem 0.3rem;
  font-size: 0.68rem;
}

.ma-floating-nav--side i {
  font-size: 1.1rem;
}

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

  .ma-hero__content {
    max-width: 720px;
    padding-right: 2rem;
  }

  .ma-hero__media {
    position: absolute;
    inset: 0 0 0 40%;
    opacity: 0.72;
  }

  .ma-service-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .ma-benefits,
  .ma-lower,
  .ma-booking,
  .ma-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ma-hero__carousel img {
    display: none;
  }

  .ma-hero__carousel img:first-child {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .ma-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1rem 2rem;
  }

  .ma-hero__content {
    order: 1;
    max-width: none;
    padding: 0;
  }

  .ma-hero__media {
    position: relative;
    inset: auto;
    height: 340px;
    order: 2;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(92, 78, 59, 0.16);
  }

  .ma-hero__media::before {
    background: linear-gradient(180deg, rgba(20, 16, 11, 0.04), rgba(20, 16, 11, 0.22));
  }

  .ma-logo {
    margin-bottom: 1rem;
  }

  .ma-kicker {
    flex-wrap: wrap;
    font-size: 0.78rem;
  }

  .ma-hero h1 {
    font-size: 3.8rem;
  }

  .ma-hero__text {
    font-size: 1.08rem;
  }

  .ma-hero__actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ma-dots {
    display: none;
  }

  .ma-service-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    scroll-snap-type: x mandatory;
  }

  .ma-service-card {
    min-width: 150px;
    scroll-snap-align: start;
  }

  .ma-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .ma-booking__steps {
    grid-template-columns: 1fr;
  }

  .ma-step-arrow {
    display: none;
  }

  .ma-phone {
    display: none;
  }

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

  .ma-footer {
    padding: 0 0 6rem;
  }

  .ma-footer__inner {
    width: calc(100vw - 2rem);
    padding-top: 1.5rem;
  }

  .ma-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .ma-floating-nav {
    width: calc(100vw - 1.8rem);
    min-height: 4.05rem;
    padding: 0.4rem 0.65rem;
  }

  .ma-floating-nav span {
    font-size: 0.72rem;
  }
}

.public-layout > main.container:has(.ma-booking-app) {
  max-width: none;
  padding: 0 !important;
}

.ma-booking-app {
  --ma-gold: #c78b25;
  --ma-gold-dark: #a87318;
  --ma-ink: #1f1c19;
  --ma-muted: #706960;
  --ma-line: rgba(166, 130, 80, 0.18);
  --ma-cream: #f8f3eb;
  --ma-card: rgba(255, 255, 255, 0.86);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  color: var(--ma-ink);
  background:
    radial-gradient(circle at 0 100%, rgba(199, 139, 37, 0.13), transparent 22%),
    linear-gradient(135deg, #f6efe5, #fffdf9 42%, #f4ede4);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.ma-booking-app button,
.ma-booking-app a {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.ma-booking-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 2rem;
  padding: 2rem 1.45rem;
  background: rgba(255, 255, 255, 0.74);
  border-right: 1px solid var(--ma-line);
  backdrop-filter: blur(18px);
}

.ma-booking-logo {
  display: grid;
  justify-items: start;
  color: var(--ma-gold-dark);
  text-decoration: none;
}

.ma-booking-logo span {
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.82;
}

.ma-booking-logo span::after {
  content: "♕";
  position: absolute;
  top: -1.1rem;
  right: 0.4rem;
  font-size: 1.1rem;
}

.ma-booking-logo small {
  margin-left: 0.15rem;
  color: #756d63;
  font-size: 0.72rem;
  letter-spacing: 0.42rem;
  text-transform: uppercase;
}

.ma-side-nav {
  display: grid;
  gap: 0.55rem;
}

.ma-side-nav a {
  min-height: 3.35rem;
  display: grid;
  grid-template-columns: 1.45rem 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1rem;
  border-radius: 0.55rem;
  color: #4f4a43;
  text-decoration: none;
}

.ma-side-nav a::after {
  content: "";
}

.ma-side-nav a.is-active {
  color: var(--ma-gold-dark);
  background: #fff7eb;
  box-shadow: 0 16px 28px rgba(94, 72, 44, 0.08);
}

.ma-side-nav a.is-active::after {
  content: "›";
  font-size: 1.4rem;
}

.ma-club-card {
  margin-top: auto;
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border-radius: 0.7rem;
  background: linear-gradient(160deg, #fffaf2, #eee4d4);
  box-shadow: 0 20px 38px rgba(98, 74, 43, 0.11);
}

.ma-club-card h2,
.ma-step-title h2,
.ma-summary-card h2,
.ma-booking-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.ma-club-card h2 {
  margin: 0;
  color: var(--ma-gold-dark);
  font-size: 1.25rem;
}

.ma-club-card p {
  margin: 0;
  color: #3f3932;
  font-size: 0.9rem;
}

.ma-club-card button {
  width: fit-content;
  min-height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid rgba(168, 115, 24, 0.48);
  border-radius: 0.45rem;
  background: transparent;
  color: var(--ma-gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
}

.ma-club-card__pass {
  width: 82%;
  min-height: 4.6rem;
  display: grid;
  place-items: center;
  justify-self: center;
  margin-top: 0.3rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #f7efe2, #fff);
  box-shadow: 0 18px 26px rgba(81, 63, 41, 0.12);
  transform: rotate(7deg);
}

.ma-club-card__pass strong {
  color: var(--ma-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.ma-club-card__pass span {
  margin-top: -0.6rem;
  color: #9a8567;
  font-size: 0.62rem;
}

.ma-booking-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.ma-booking-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 6.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 2rem;
  border-bottom: 1px solid var(--ma-line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.ma-mobile-back {
  display: none;
}

.ma-booking-header h1 {
  margin: 0;
  font-size: 1.75rem;
}

.ma-booking-header p,
.ma-step-title p {
  margin: 0.25rem 0 0;
  color: var(--ma-muted);
}

.ma-booking-header__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.ma-whatsapp,
.ma-booking-header__actions button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ma-gold-dark);
  text-decoration: none;
  font-weight: 700;
}

.ma-whatsapp {
  padding: 0 1.2rem;
}

.ma-booking-header__actions button {
  position: relative;
  width: 3rem;
  padding: 0;
}

.ma-booking-header__actions button span {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d94d3f;
}

.ma-booking-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1.45rem;
  padding: 0.6rem 2rem 0;
}

.ma-booking-panel,
.ma-summary-card {
  border: 1px solid var(--ma-line);
  border-radius: 0.85rem;
  background: var(--ma-card);
  box-shadow: 0 20px 52px rgba(83, 65, 40, 0.08);
  backdrop-filter: blur(16px);
}

.ma-booking-panel {
  min-width: 0;
  padding: 1.7rem;
}

.ma-booking-header {
  display: none;
}

.ma-booking-panel__intro {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.ma-booking-panel__intro h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.05;
}

.ma-booking-panel__intro p {
  margin: 0.35rem 0 0;
  color: var(--ma-muted);
}

.ma-mobile-back--desktop {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--ma-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.ma-booking-main:has(.ma-booking-step--services.is-active) {
  grid-template-columns: minmax(0, 1.5fr) 320px;
}

.ma-booking-step--services.is-active .ma-services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ma-booking-step--services.is-active .ma-category-list {
  display: block;
  padding: 0;
}

.ma-category-carousel {
  position: relative;
  padding: 0.45rem 3rem;
  border: 1px solid rgba(166, 130, 80, 0.12);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 245, 237, 0.88)),
    radial-gradient(circle at top left, rgba(217, 168, 75, 0.12), transparent 35%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 16px 34px rgba(83, 65, 40, 0.06);
  cursor: grab;
  user-select: none;
}

.ma-category-carousel .carousel-inner {
  overflow: hidden;
  border-radius: 0.9rem;
}

.ma-category-carousel.is-dragging {
  cursor: grabbing;
}

.ma-category-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.5rem 0;
}

.ma-category-carousel__track button {
  min-height: 4.2rem;
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(166, 130, 80, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(83, 65, 40, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ma-category-carousel__track button i {
  display: grid;
  place-items: center;
  color: #a8742a;
  font-size: 1rem;
}

.ma-category-carousel__track button span {
  line-height: 1.2;
}

.ma-category-carousel__track button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(83, 65, 40, 0.08);
}

.ma-category-carousel__control {
  width: 2.15rem;
  opacity: 1;
}

.ma-category-carousel__control.carousel-control-prev {
  left: 0;
}

.ma-category-carousel__control.carousel-control-next {
  right: 0;
}

.ma-category-carousel__control .carousel-control-prev-icon,
.ma-category-carousel__control .carousel-control-next-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background-color: rgba(199, 139, 37, 0.96);
  background-size: 1rem;
  box-shadow: 0 12px 26px rgba(178, 120, 29, 0.22);
}

.ma-category-carousel--static {
  padding: 0;
}

.ma-category-carousel--static .ma-category-carousel__control {
  display: none;
}

.ma-stepper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 0 0 1.6rem;
  margin: 0 0 1.2rem;
  border-bottom: 1px solid var(--ma-line);
  list-style: none;
}

.ma-stepper li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #777069;
}

.ma-stepper li:not(:last-child)::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-left: 1rem;
  background: #e7dbcc;
}

.ma-stepper span {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eeeae4;
  color: #736c64;
  font-weight: 800;
}

.ma-stepper li.is-active span {
  background: linear-gradient(135deg, #bd8120, #d7a548);
  color: #fff;
  box-shadow: 0 12px 24px rgba(178, 120, 29, 0.22);
}

.ma-stepper b {
  font-weight: 700;
}

.ma-booking-step {
  display: none;
}

.ma-booking-step.is-active {
  display: block;
}

.ma-step-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.8rem;
}

.ma-step-back {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.95rem;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #4f473f;
  font-weight: 700;
}

.ma-step-title {
  margin-bottom: 1.35rem;
}

.ma-step-title h2 {
  margin: 0;
  font-size: 1.45rem;
}

.ma-services-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.ma-category-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.62);
}

.ma-category-list button {
  min-height: 3.25rem;
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: #4e4841;
  text-align: left;
  font-size: 0.9rem;
}

.ma-category-list button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #bd8120, #d9a84b);
  box-shadow: 0 14px 26px rgba(178, 120, 29, 0.2);
}

.ma-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ma-service-item {
  position: relative;
  display: grid;
  gap: 0.75rem;
  min-height: 198px;
  padding: 0.8rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(83, 65, 40, 0.07);
  cursor: pointer;
}

.ma-service-item.is-selected {
  border-color: rgba(199, 139, 37, 0.7);
  box-shadow: 0 18px 34px rgba(178, 120, 29, 0.16);
}

.ma-service-item img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 0.45rem;
}

.ma-service-item h3 {
  min-height: 2rem;
  margin: 0 2.5rem 0.4rem 0;
  font-size: 0.92rem;
  line-height: 1.25;
}

.ma-service-item span,
.ma-summary-list small {
  display: block;
  color: var(--ma-muted);
  font-size: 0.78rem;
}

.ma-service-item span i {
  color: var(--ma-gold-dark);
}

.ma-service-item strong {
  display: block;
  margin-top: 0.35rem;
}

.ma-service-item button {
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #bd8120, #d9a84b);
}

.ma-professional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ma-professional-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.ma-professional-card.is-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(199, 139, 37, 0.13), rgba(255, 255, 255, 0.96));
}

.ma-professional-card.is-selected {
  border-color: var(--ma-gold);
  box-shadow: 0 16px 30px rgba(178, 120, 29, 0.16);
}

.ma-professional-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.ma-professional-card h3,
.ma-client-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.ma-professional-card span {
  display: block;
  color: var(--ma-muted);
  font-size: 0.88rem;
}

.ma-professional-card b {
  display: block;
  margin-top: 0.25rem;
  color: var(--ma-gold-dark);
  font-size: 0.86rem;
}

.ma-client-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.7);
}

.ma-client-mode {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.ma-client-mode__option {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #4c453d;
  font-weight: 700;
  cursor: pointer;
}

.ma-client-mode__option input {
  accent-color: var(--ma-gold-dark);
}

.ma-client-mode__option.is-selected {
  border-color: rgba(199, 139, 37, 0.7);
  box-shadow: 0 14px 26px rgba(178, 120, 29, 0.12);
}

.ma-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.ma-client-grid label {
  display: grid;
  gap: 0.35rem;
  color: #4c453d;
  font-size: 0.85rem;
  font-weight: 700;
}

.ma-client-grid input {
  min-height: 2.8rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.45rem;
  padding: 0 0.8rem;
  background: #fff;
}

.ma-existing-client {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.ma-existing-client label {
  display: grid;
  gap: 0.35rem;
  color: #4c453d;
  font-size: 0.85rem;
  font-weight: 700;
}

.ma-existing-client input {
  min-height: 2.8rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.45rem;
  padding: 0 0.8rem;
  background: #fff;
}

.ma-client-lookup {
  min-width: 9.5rem;
  min-height: 2.8rem;
  border: 0;
  border-radius: 0.55rem;
  color: #fff;
  background: linear-gradient(135deg, #bd8120, #d9a84b);
  font-weight: 800;
}

.ma-client-feedback {
  margin: 0.8rem 0 0;
  color: var(--ma-muted);
  font-size: 0.88rem;
}

.ma-calendar-wrap {
  display: grid;
  gap: 1rem;
}

.ma-date-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.ma-date-strip button,
.ma-month-card button {
  border: 1px solid var(--ma-line);
  border-radius: 0.65rem;
  background: #fff;
  color: #463f37;
}

.ma-date-strip button {
  min-width: 5.25rem;
  min-height: 4.5rem;
}

.ma-date-strip small,
.ma-month-card small {
  display: block;
  color: var(--ma-muted);
  text-transform: capitalize;
}

.ma-date-strip strong {
  font-size: 1.3rem;
}

.ma-month-card {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.58);
}

.ma-month-card button {
  min-height: 3.8rem;
}

.ma-date-strip button.is-selected,
.ma-month-card button.is-selected,
.ma-time-groups button.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, #bd8120, #d9a84b);
  color: #fff;
  box-shadow: 0 14px 26px rgba(178, 120, 29, 0.18);
}

.ma-date-strip button.is-selected small,
.ma-month-card button.is-selected small {
  color: rgba(255, 255, 255, 0.78);
}

.ma-time-status {
  margin: 1rem 0 0.7rem;
  color: var(--ma-muted);
  font-size: 0.9rem;
}

.ma-time-groups {
  display: grid;
  gap: 1rem;
}

.ma-time-groups h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.ma-time-groups section div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ma-time-groups button {
  min-width: 5.3rem;
  min-height: 2.75rem;
  border: 1px solid var(--ma-line);
  border-radius: 999px;
  background: #fff;
  color: #4b443c;
  font-weight: 800;
}

.ma-summary-card {
  position: sticky;
  top: 0.6rem;
  align-self: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 37rem;
  max-height: calc(100svh - 1.2rem);
  background: #fefefe;
  border-color: rgba(166, 130, 80, 0.14);
  box-shadow: 0 18px 40px rgba(70, 54, 33, 0.08);
}

.ma-summary-card header {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 1.2rem 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.ma-summary-card__intro {
  display: grid;
  gap: 0.3rem;
}

.ma-summary-card__eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.ma-summary-card__total {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.9rem;
  background: #fff7e6;
  color: #222;
  box-shadow: none;
}

.ma-summary-card__total span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.ma-summary-card__total strong {
  font-size: 1.6rem;
  line-height: 1;
}

.ma-summary-card h2 {
  margin: 0;
  font-size: 1.12rem;
}

.ma-summary-section {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.2rem 0.95rem;
  min-width: 0;
}

.ma-summary-empty {
  flex: 1 1 auto;
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
}

.ma-summary-empty i {
  color: #ead8bf;
  font-size: 4.2rem;
}

.ma-summary-empty span {
  color: var(--ma-muted);
  font-size: 0.86rem;
}

.ma-summary-list {
  flex: 1 1 auto;
  display: grid;
  gap: 0.8rem;
  min-height: 0;
  max-height: 22rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: auto;
  min-width: 0;
  padding-right: 0.1rem;
}

.ma-summary-list span {
  font-weight: 700;
}

.ma-summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.85rem;
  background: #fff;
  min-width: 0;
}

.ma-summary-item__info {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.ma-summary-item__actions {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.ma-summary-item__actions strong {
  font-size: 1rem;
  color: #473c30;
}

.ma-summary-item__info span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ma-summary-remove {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 130, 80, 0.16);
  border-radius: 50%;
  background: #fff;
  color: #7c6750;
}

.ma-summary-meta {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  min-width: 0;
}

.ma-summary-meta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.ma-summary-meta__row span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ma-muted);
  text-transform: uppercase;
}

.ma-summary-meta__row strong {
  color: #222;
  white-space: nowrap;
}

.ma-summary-card footer {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.ma-continue-btn,
.ma-submit-btn {
  min-height: 3.15rem;
  border: 0;
  border-radius: 0.55rem;
  color: #fff;
  background: linear-gradient(135deg, #bd8120, #d9a84b);
  font-weight: 800;
}

.ma-continue-btn:disabled,
.ma-submit-btn:disabled,
.ma-mobile-summary button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.ma-booking-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 2rem 1.2rem;
  padding: 1rem;
  border: 1px solid var(--ma-line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.62);
  color: #625b54;
}

.ma-booking-footer span,
.ma-booking-footer address {
  margin: 0;
  text-align: center;
}

.ma-booking-footer i {
  color: var(--ma-gold-dark);
  margin-right: 0.35rem;
}

.ma-booking-footer address {
  grid-column: 1 / -1;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(166, 130, 80, 0.12);
}

.ma-mobile-summary,
.ma-bottom-nav {
  display: none;
}

.ma-validation {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 0.7rem;
  transform: translateX(-50%);
  color: #a64034;
  font-size: 0.86rem;
}

@media (max-width: 1180px) {
  .ma-booking-app {
    grid-template-columns: 220px 1fr;
  }

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

  .ma-summary-card {
    position: static;
    min-height: 0;
    max-height: none;
  }

  .ma-booking-step--services.is-active .ma-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .ma-booking-step--services.is-active .ma-category-list {
    display: block;
  }

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

  .ma-floating-nav--side {
    top: auto;
    left: 1rem;
    bottom: 1rem;
    transform: none;
  }
}

@media (max-width: 820px) {
  .ma-booking-app {
    display: block;
    min-height: 100svh;
    padding-bottom: 10.5rem;
    background: linear-gradient(180deg, #fffaf4, #f4ece2);
  }

  .ma-booking-sidebar,
  .ma-booking-header__actions,
  .ma-summary-card,
  .ma-booking-footer,
  .ma-month-card {
    display: none;
  }

  .ma-mobile-back {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    color: var(--ma-gold-dark);
    text-decoration: none;
  }

  .ma-booking-main {
    display: block;
    padding: 0;
  }

  .ma-booking-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.4rem 1rem 0;
  }

  .ma-booking-panel__intro {
    margin-bottom: 1rem;
  }

  .ma-booking-panel__intro h1 {
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 800;
  }

  .ma-booking-panel__intro p {
    display: none;
  }

  .ma-mobile-back--desktop {
    display: none;
  }

  .ma-stepper {
    gap: 0.65rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.15rem;
    border-bottom: 0;
  }

  .ma-stepper li {
    gap: 0.45rem;
    font-size: 0.78rem;
  }

  .ma-stepper li:not(:last-child)::after {
    margin-left: 0.2rem;
  }

  .ma-stepper span {
    width: 1.85rem;
    height: 1.85rem;
  }

  .ma-step-title h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
  }

  .ma-services-layout {
    display: block;
  }

  .ma-booking-step--services.is-active .ma-category-list,
  .ma-booking-step--services.is-active .ma-service-grid {
    grid-template-columns: 1fr;
  }

  .ma-booking-step--services.is-active .ma-category-list {
    display: block;
  }

  .ma-category-carousel {
    padding: 0;
  }

  .ma-category-carousel .carousel-inner {
    overflow: visible;
  }

  .ma-category-carousel__track {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .ma-category-carousel__control {
    display: none;
  }

  .ma-category-list {
    display: flex;
    gap: 0.7rem;
    margin-inline: -1rem;
    padding: 0 1rem 0.8rem;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ma-category-list button {
    min-width: 4.7rem;
    min-height: 4.7rem;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.35rem;
    padding: 0.55rem;
    border: 1px solid var(--ma-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
  }

  .ma-category-list button span {
    max-width: 5.2rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .ma-service-grid,
  .ma-professional-grid,
  .ma-client-grid,
  .ma-existing-client {
    grid-template-columns: 1fr;
  }

  .ma-client-mode {
    flex-direction: column;
  }

  .ma-service-item {
    grid-template-columns: 6.6rem 1fr auto;
    align-items: center;
    min-height: 6.6rem;
    padding: 0.65rem;
    border-radius: 0.75rem;
    flex: none;
  }

  .ma-service-item img {
    width: 6.6rem;
    height: 5.1rem;
    aspect-ratio: auto;
  }

  .ma-service-item h3 {
    min-height: 0;
    margin-right: 0;
    font-size: 0.95rem;
  }

  .ma-service-item button {
    position: static;
  }

  .ma-date-strip {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .ma-time-groups button {
    flex: 1 1 calc(33.333% - 0.55rem);
  }

  .ma-mobile-summary {
    position: fixed;
    z-index: 45;
    left: 1rem;
    right: 1rem;
    bottom: 5.15rem;
    min-height: 4.25rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(78, 58, 34, 0.14);
    backdrop-filter: blur(16px);
  }

  .ma-mobile-summary strong,
  .ma-mobile-summary span {
    display: block;
  }

  .ma-mobile-summary span {
    color: var(--ma-muted);
    font-size: 0.78rem;
  }

  .ma-mobile-summary b {
    white-space: nowrap;
  }

  .ma-mobile-summary button {
    width: 2.65rem;
    height: 2.65rem;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #bd8120, #d9a84b);
  }

  .ma-bottom-nav {
    position: fixed;
    z-index: 44;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    min-height: 4.45rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 20px 48px rgba(78, 58, 34, 0.17);
    backdrop-filter: blur(18px);
  }

  .ma-bottom-nav a {
    display: grid;
    justify-items: center;
    gap: 0.22rem;
    color: #5e5750;
    text-decoration: none;
    font-size: 0.72rem;
  }

  .ma-bottom-nav i {
    font-size: 1.25rem;
  }

  .ma-bottom-nav .is-active i {
    width: 3.15rem;
    height: 3.15rem;
    display: grid;
    place-items: center;
    margin-top: -1.25rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #bd8120, #d9a84b);
    box-shadow: 0 14px 28px rgba(178, 120, 29, 0.24);
  }
}

.ma-booking-app {
  display: block;
  padding-bottom: 8.5rem;
}

.ma-booking-shell {
  width: min(92vw, 1180px);
  margin: 0 auto;
}

.ma-booking-header__actions {
  justify-content: flex-end;
}

.ma-booking-app .ma-floating-nav {
  display: grid;
}

@media (max-width: 820px) {
  .ma-booking-app {
    padding-bottom: 10.5rem;
  }

  .ma-booking-shell {
    width: 100%;
  }

  .ma-booking-app .ma-floating-nav {
    width: calc(100vw - 2.2rem);
    min-height: 3.75rem;
    padding: 0.32rem 0.55rem;
  }

  .ma-booking-app .ma-floating-nav span {
    font-size: 0.68rem;
  }

  .ma-booking-app .ma-floating-nav i {
    font-size: 1.12rem;
  }

  .ma-booking-app .ma-floating-nav--side {
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 0.8rem;
    width: auto;
    min-height: 3.75rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    transform: none;
  }

  .ma-booking-app .ma-floating-nav--side a {
    font-size: 0.68rem;
    padding: 0.2rem;
  }
}

/* 2026 visual refresh */
:root {
  --ma-refresh-bg: #fbf7f3;
  --ma-refresh-surface: #ffffff;
  --ma-refresh-surface-soft: #f4ece6;
  --ma-refresh-ink: #251f1b;
  --ma-refresh-muted: #756960;
  --ma-refresh-line: #e8dcd3;
  --ma-refresh-primary: #b6843e;
  --ma-refresh-primary-dark: #8f642d;
  --ma-refresh-accent: #c49a61;
  --ma-refresh-green: #2f7d63;
  --ma-refresh-shadow: 0 24px 70px rgba(52, 38, 31, 0.12);
}

.public-layout {
  background: var(--ma-refresh-bg);
}

.ma-refresh-home {
  background:
    radial-gradient(circle at top left, rgba(196, 154, 97, 0.16), transparent 32rem),
    linear-gradient(180deg, #fffaf7 0%, var(--ma-refresh-bg) 48%, #fff 100%);
  color: var(--ma-refresh-ink);
}

.ma-refresh-home .ma-site-header {
  background: rgba(255, 250, 247, 0.88);
  border-bottom: 1px solid rgba(232, 220, 211, 0.75);
  box-shadow: 0 12px 34px rgba(52, 38, 31, 0.06);
}

.ma-refresh-home .ma-brand__mark,
.ma-logo__letters {
  background: linear-gradient(135deg, var(--ma-refresh-primary), var(--ma-refresh-primary-dark));
  color: #fff;
}

.ma-refresh-home .ma-site-nav {
  border-radius: 999px;
}

.ma-refresh-home .ma-site-nav a,
.ma-refresh-home .ma-site-nav button {
  border-radius: 999px;
  font-weight: 800;
}

.ma-refresh-home .ma-site-nav button,
.ma-refresh-home .ma-btn--primary,
.ma-refresh-home .ma-mobile-cta button,
.ma-refresh-home .ma-public-service button,
.ma-refresh-home .ma-hero-card button,
.ma-contact-actions button,
.ma-booking-primary {
  background: linear-gradient(135deg, var(--ma-refresh-primary), var(--ma-refresh-primary-dark));
  box-shadow: 0 14px 30px rgba(139, 78, 69, 0.22);
  color: #fff;
}

.ma-refresh-home .ma-simple-hero {
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  min-height: min(760px, calc(100svh - 70px));
  padding-inline: clamp(16px, 3vw, 28px);
  padding-top: clamp(34px, 7vw, 84px);
}

.ma-refresh-home .ma-premium-hero h1 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  max-width: 760px;
}

.ma-refresh-home .ma-premium-hero__copy > p:not(.ma-eyebrow) {
  color: var(--ma-refresh-muted);
  max-width: 560px;
}

.ma-refresh-home .ma-simple-hero__photo {
  aspect-ratio: 0.88 / 1;
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: var(--ma-refresh-shadow);
  min-height: 0;
}

.ma-refresh-home .ma-simple-hero__photo::after {
  background: linear-gradient(180deg, transparent 45%, rgba(37, 31, 27, 0.28));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.ma-refresh-home .ma-simple-hero__photo img {
  min-height: 0;
}

.ma-refresh-home .ma-hero-card {
  left: 18px;
  right: 18px;
  z-index: 1;
}

.ma-refresh-home .ma-btn,
.ma-section-action,
.ma-contact-actions a,
.ma-contact-actions button {
  min-height: 50px;
}

.ma-refresh-home .ma-btn--secondary,
.ma-section-action {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--ma-refresh-line);
  color: var(--ma-refresh-ink);
}

.ma-refresh-home .ma-trust-list li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ma-refresh-line);
  border-radius: 999px;
  color: var(--ma-refresh-ink);
  padding: 0.55rem 0.8rem;
}

.ma-refresh-home .ma-section {
  padding-inline: clamp(16px, 3vw, 28px);
}

.ma-refresh-home .ma-section-head {
  max-width: none;
}

.ma-refresh-home .ma-section-head h2,
.ma-refresh-home .ma-contact-section h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0;
}

.ma-refresh-home .ma-service-grid,
.ma-refresh-home .ma-difference-grid {
  gap: 18px;
}

.ma-refresh-home .ma-public-service,
.ma-refresh-home .ma-difference-grid article {
  border-color: var(--ma-refresh-line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(52, 38, 31, 0.08);
}

.ma-refresh-home .ma-public-service {
  display: flex;
  flex-direction: column;
}

.ma-refresh-home .ma-public-service > div:first-child {
  padding: 18px 18px 0;
}

.ma-refresh-home .ma-public-service h3 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.ma-refresh-home .ma-public-service p {
  flex: 1 1 auto;
}

.ma-refresh-home .ma-public-service button,
.ma-contact-actions button {
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.ma-refresh-home .ma-difference-section,
.ma-refresh-home .ma-contact-section {
  background: transparent;
}

.ma-refresh-home .ma-difference-section .container-xxl,
.ma-refresh-home .ma-contact-section .container-xxl {
  background: var(--ma-refresh-surface-soft);
  border: 1px solid var(--ma-refresh-line);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 56px);
}

.ma-refresh-home .ma-difference-grid article {
  background: rgba(255, 255, 255, 0.78);
}

.ma-contact-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ma-contact-actions a,
.ma-contact-actions button {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  text-decoration: none;
}

.ma-refresh-home .ma-modern-footer {
  background: #251f1b;
}

.admin-layout {
  background:
    radial-gradient(circle at top right, rgba(196, 154, 97, 0.13), transparent 28rem),
    #f6f2ee;
  color: #27221e;
}

.admin-sidebar--floating {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(247, 239, 228, 0.97)),
    radial-gradient(circle at top left, rgba(211, 170, 100, 0.18), transparent 16rem);
  border: 1px solid rgba(210, 178, 125, 0.34);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(73, 55, 33, 0.16);
}

.admin-sidebar .sidebar-brand,
.admin-sidebar .sidebar-nav {
  color: #332a22;
}

.sidebar-nav a,
.sidebar-nav-parent,
.sidebar-logout-button {
  border-radius: 10px;
}

.admin-sidebar .sidebar-nav a,
.admin-sidebar .sidebar-nav-parent,
.admin-sidebar .sidebar-logout-button {
  color: #5b5146;
}

.admin-sidebar .sidebar-nav a i,
.admin-sidebar .sidebar-nav-parent i,
.admin-sidebar .sidebar-logout-button i {
  color: #b48a4a;
}

.sidebar-nav a.active,
.sidebar-nav-parent.active,
.sidebar-nav a:hover,
.sidebar-nav-parent:hover,
.sidebar-logout-button:hover,
.sidebar-logout-button:focus-visible {
  background: linear-gradient(90deg, rgba(200, 166, 109, 0.2), rgba(255, 250, 243, 0.72));
  box-shadow: inset 0 0 0 1px rgba(200, 166, 109, 0.16);
  color: #2c241c;
}

.admin-sidebar .sidebar-nav a.active,
.admin-sidebar .sidebar-nav-parent.active {
  background: linear-gradient(90deg, rgba(180, 138, 74, 0.22), rgba(255, 250, 243, 0.86));
  box-shadow: inset 3px 0 0 #b48a4a, inset 0 0 0 1px rgba(200, 166, 109, 0.18);
  color: #221b14;
}

.admin-sidebar .sidebar-subitem {
  color: #665d52;
}

.admin-sidebar__close {
  background: rgba(180, 138, 74, 0.12);
  color: #7a5a28;
}

.admin-sidebar-backdrop {
  background: rgba(52, 43, 34, 0.22);
}

.admin-navbar {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(232, 220, 211, 0.9);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(52, 38, 31, 0.07);
  margin: 16px auto 0;
  max-width: 1440px;
  padding: 0.85rem 1rem;
}

.admin-content {
  padding-top: 22px;
}

.admin-main .app-card,
.ma-card,
.card {
  border-color: rgba(232, 220, 211, 0.9);
  border-radius: 8px;
}

html[data-app-theme="dark"] .admin-layout {
  background:
    radial-gradient(circle at top right, rgba(212, 167, 94, 0.14), transparent 28rem),
    #151210;
  color: var(--ink-color);
}

html[data-app-theme="dark"] .admin-navbar {
  background: rgba(34, 29, 25, 0.86);
  border-color: var(--line-color);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

html[data-app-theme="dark"] .admin-navbar__title,
html[data-app-theme="dark"] .public-top-brand,
html[data-app-theme="dark"] .admin-sidebar .sidebar-brand,
html[data-app-theme="dark"] .admin-sidebar .sidebar-nav {
  color: var(--ink-color);
}

html[data-app-theme="dark"] .admin-sidebar,
html[data-app-theme="dark"] .admin-sidebar--floating {
  background:
    linear-gradient(180deg, rgba(34, 29, 25, 0.98), rgba(27, 22, 18, 0.98)),
    radial-gradient(circle at top left, rgba(212, 167, 94, 0.12), transparent 16rem);
  border-color: var(--line-color);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  color: var(--ink-color);
}

html[data-app-theme="dark"] .admin-sidebar .ma-logo--admin {
  align-items: center;
  background: linear-gradient(145deg, #fffdf8, #f1e4d3);
  border: 1px solid rgba(226, 190, 122, 0.5);
  border-radius: 50%;
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  display: inline-flex;
  height: 8.75rem;
  justify-content: center;
  padding: 1rem;
  width: 8.75rem;
}

html[data-app-theme="dark"] .admin-sidebar .ma-logo--admin .ma-logo__image {
  filter: none;
  height: auto;
  max-height: 5rem;
  width: 7.9rem;
}

html[data-app-theme="dark"] .admin-sidebar .sidebar-nav a,
html[data-app-theme="dark"] .admin-sidebar .sidebar-nav-parent,
html[data-app-theme="dark"] .admin-sidebar .sidebar-logout-button,
html[data-app-theme="dark"] .admin-sidebar .sidebar-subitem {
  color: #d5c8b8;
}

html[data-app-theme="dark"] .admin-sidebar .sidebar-nav a i,
html[data-app-theme="dark"] .admin-sidebar .sidebar-nav-parent i,
html[data-app-theme="dark"] .admin-sidebar .sidebar-logout-button i {
  color: #d6ad63;
}

html[data-app-theme="dark"] .sidebar-nav a.active,
html[data-app-theme="dark"] .sidebar-nav-parent.active,
html[data-app-theme="dark"] .sidebar-nav a:hover,
html[data-app-theme="dark"] .sidebar-nav-parent:hover,
html[data-app-theme="dark"] .sidebar-logout-button:hover,
html[data-app-theme="dark"] .sidebar-logout-button:focus-visible,
html[data-app-theme="dark"] .admin-sidebar .sidebar-nav a.active,
html[data-app-theme="dark"] .admin-sidebar .sidebar-nav-parent.active {
  background: linear-gradient(90deg, rgba(212, 167, 94, 0.2), rgba(49, 39, 28, 0.7));
  box-shadow: inset 3px 0 0 #d4a75e, inset 0 0 0 1px rgba(226, 190, 122, 0.16);
  color: #fff8ec;
}

html[data-app-theme="dark"] .admin-menu-trigger,
html[data-app-theme="dark"] .admin-sidebar__close {
  background: rgba(35, 29, 24, 0.92);
  border-color: rgba(226, 190, 122, 0.28);
  color: #e2bd77;
}

html[data-app-theme="dark"] .app-top-logo {
  background: #211b16;
  border-color: rgba(226, 190, 122, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html[data-app-theme="dark"] .admin-main .app-card,
html[data-app-theme="dark"] .ma-card,
html[data-app-theme="dark"] .card {
  background-color: var(--surface-strong);
  border-color: var(--line-color);
  color: var(--ink-color);
}

html[data-app-theme="dark"] .ma-dashboard {
  --gold: #d4a75e;
  --gold-dark: #e5c27e;
  --ink: #f8efe4;
  --muted: #c8bbaa;
  --line: rgba(231, 202, 158, 0.18);
  --surface: rgba(34, 29, 25, 0.9);
  --surface-solid: #211b16;
  --off: #181411;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  color: var(--ink);
}

html[data-app-theme="dark"] body:has(.ma-dashboard) {
  background:
    radial-gradient(circle at top right, rgba(212, 167, 94, 0.14), transparent 28rem),
    #151210;
  color: var(--ink-color);
}

html[data-app-theme="dark"] .ma-dashboard .ma-card,
html[data-app-theme="dark"] .ma-dashboard .ma-select,
html[data-app-theme="dark"] .ma-dashboard .ma-date-pill,
html[data-app-theme="dark"] .ma-dashboard .ma-plan-strip,
html[data-app-theme="dark"] .ma-dashboard .ma-chart-tooltip {
  background: rgba(34, 29, 25, 0.94);
  border-color: var(--line);
  color: var(--ink);
}

html[data-app-theme="dark"] .ma-dashboard .ma-select select,
html[data-app-theme="dark"] .ma-dashboard .ma-page-heading p,
html[data-app-theme="dark"] .ma-dashboard .ma-kpi-card span,
html[data-app-theme="dark"] .ma-dashboard .ma-finance-item small,
html[data-app-theme="dark"] .ma-dashboard .ma-legend li,
html[data-app-theme="dark"] .ma-dashboard .ma-plan-strip {
  color: var(--muted);
}

html[data-app-theme="dark"] .ma-dashboard .ma-kpi-card strong,
html[data-app-theme="dark"] .ma-dashboard .ma-card h2,
html[data-app-theme="dark"] .ma-dashboard .ma-card-header strong,
html[data-app-theme="dark"] .ma-dashboard .ma-finance-item strong {
  color: var(--ink);
}

html[data-app-theme="dark"] .ma-dashboard .ma-doughnut > div,
html[data-app-theme="dark"] .ma-dashboard .ma-card-icon,
html[data-app-theme="dark"] .ma-dashboard .ma-plan-icon {
  background: rgba(212, 167, 94, 0.12);
  color: var(--gold-dark);
}

html[data-app-theme="dark"] .ma-dashboard .ma-progress-item i,
html[data-app-theme="dark"] .ma-dashboard .ma-professional-item i {
  background: rgba(255, 255, 255, 0.1);
}

html[data-app-theme="dark"] .pro-dashboard {
  --pro-bg: #151210;
  --pro-surface: rgba(34, 29, 25, 0.92);
  --pro-surface-soft: #211b16;
  --pro-line: rgba(231, 202, 158, 0.18);
  --pro-ink: #f8efe4;
  --pro-muted: #c8bbaa;
  --pro-gold: #d4a75e;
  --pro-gold-soft: #33291f;
  --pro-coffee: #eadac4;
  --pro-success: #7ec99d;
  --pro-danger: #f09a89;
  --pro-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

html[data-app-theme="dark"] body:has(.pro-dashboard) {
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 167, 94, 0.14), transparent 25rem),
    #151210;
}

html[data-app-theme="dark"] .pro-dashboard .pro-card,
html[data-app-theme="dark"] .pro-dashboard .pro-date-field,
html[data-app-theme="dark"] .pro-dashboard .pro-outline-action,
html[data-app-theme="dark"] .pro-dashboard .pro-muted-button,
html[data-app-theme="dark"] .pro-dashboard .pro-payment-field select,
html[data-app-theme="dark"] .pro-dashboard .pro-agenda-row,
html[data-app-theme="dark"] .pro-dashboard .pro-loading-state,
html[data-app-theme="dark"] .pro-modal .modal-content,
html[data-app-theme="dark"] .pro-modal-grid div,
html[data-app-theme="dark"] .pro-confirm-summary {
  background: var(--pro-surface);
  border-color: var(--pro-line);
  color: var(--pro-ink);
}

html[data-app-theme="dark"] .pro-dashboard .pro-agenda-row.is-next {
  background: linear-gradient(90deg, rgba(212, 167, 94, 0.14), rgba(34, 29, 25, 0.86));
}

html[data-app-theme="dark"] .pro-dashboard .pro-avatar,
html[data-app-theme="dark"] .pro-dashboard .pro-agenda-note i {
  background: rgba(212, 167, 94, 0.12);
  color: var(--pro-gold);
}

html[data-app-theme="dark"] .pro-dashboard .pro-client > div > span,
html[data-app-theme="dark"] .pro-dashboard .pro-day-total strong,
html[data-app-theme="dark"] .pro-modal-appointment b,
html[data-app-theme="dark"] .pro-confirm-summary b {
  color: var(--pro-gold);
}

html[data-app-theme="dark"] .pro-dashboard .pro-progress,
html[data-app-theme="dark"] .pro-dashboard .pro-progress--goal.is-empty span {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 900px) {
  .ma-refresh-home .ma-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-refresh-home .ma-difference-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 899.98px) {
  .ma-refresh-home .ma-site-nav {
    border-radius: 18px;
  }

  .ma-contact-actions {
    grid-template-columns: 1fr;
  }
}
button.ma-btn,
button.ma-continue,
.ma-section-head button,
.ma-footer__column button,
.ma-floating-nav button {
    font: inherit;
}

.admin-professional-modal .modal-dialog {
  max-width: min(920px, calc(100vw - 2rem));
}

.admin-professional-modal .modal-content {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 240, 0.96)),
    radial-gradient(circle at top right, rgba(200, 166, 109, 0.14), transparent 18rem);
  border: 1px solid rgba(210, 178, 125, 0.34);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(52, 38, 31, 0.24);
  overflow: hidden;
}

.admin-professional-modal .modal-header {
  border-bottom: 1px solid rgba(210, 178, 125, 0.2);
  padding: 1.35rem 1.5rem 1rem;
}

.admin-professional-modal .modal-title {
  color: #332a22;
  font-family: var(--ma-font-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-weight: 850;
}

.admin-professional-modal .modal-body {
  max-height: min(68vh, 42rem);
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.admin-professional-modal .modal-footer {
  background: rgba(255, 250, 243, 0.72);
  border-top: 1px solid rgba(210, 178, 125, 0.2);
  padding: 1rem 1.5rem;
}

@media (max-width: 575.98px) {
  .admin-professional-modal .modal-dialog {
    margin: 0.75rem;
    max-width: none;
  }

  .admin-professional-modal .modal-body {
    max-height: calc(100dvh - 12rem);
    padding: 1rem;
  }

  .admin-professional-modal .modal-header,
  .admin-professional-modal .modal-footer {
    padding-inline: 1rem;
  }
}

.ma-section-head button,
.ma-footer__column button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-align: left;
}

.ma-section-head button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ma-gold, #b78a42);
    font-weight: 700;
}

.ma-floating-nav button {
    border: 0;
    background: transparent;
}

.ma-booking-modal .modal-dialog {
    margin: 0.75rem;
}

.ma-booking-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fffaf7;
}

.ma-booking-modal .modal-header {
    align-items: flex-start;
    border: 0;
    padding: 1.25rem 1.25rem 0.5rem;
}

.ma-booking-modal__eyebrow {
    display: block;
    color: #a36f2d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ma-booking-modal .modal-title {
    color: #2d1d19;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0;
}

.ma-booking-modal .modal-body {
    padding: 0.75rem 1.25rem 1.25rem;
}

.ma-booking-wizard {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.ma-booking-wizard li {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    color: #9d8a83;
    font-size: 0.72rem;
    font-weight: 700;
}

.ma-booking-wizard span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: #efe1d8;
    color: #80645a;
}

.ma-booking-wizard li.is-active span {
    background: #2f7d63;
    color: #fff;
}

.ma-booking-modal__error {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: #fff0f0;
    color: #7a4d24;
    font-weight: 700;
}

.ma-booking-modal__step {
    display: none;
    animation: maBookingFade 180ms ease-out;
}

.ma-booking-modal__step.is-active {
    display: block;
}

.ma-booking-modal__step header {
    margin-bottom: 1rem;
}

.ma-booking-modal__step h3 {
    margin: 0;
    color: #2d1d19;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.ma-booking-modal__step p {
    margin: 0.25rem 0 0;
    color: #7b6962;
}

.ma-booking-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
}

.ma-booking-option {
    display: grid;
    gap: 0.35rem;
    min-height: 138px;
    border: 1px solid #ead7ca;
    border-radius: 18px;
    background: #fff;
    padding: 1rem;
    color: #2d1d19;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ma-booking-option:hover,
.ma-booking-option.is-selected {
    border-color: #2f7d63;
    box-shadow: 0 14px 34px rgba(47, 125, 99, 0.14);
    transform: translateY(-2px);
}

.ma-booking-option span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #f3ebe5;
    color: #2f7d63;
    font-size: 1.2rem;
}

.ma-booking-option strong {
    font-size: 1rem;
}

.ma-booking-option small {
    color: #7b6962;
}

.ma-booking-option b {
    color: #a36f2d;
}

.ma-booking-dates,
.ma-booking-slots {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.ma-booking-dates button,
.ma-booking-slots button {
    flex: 0 0 auto;
    border: 1px solid #ead7ca;
    border-radius: 16px;
    background: #fff;
    color: #2d1d19;
}

.ma-booking-dates button {
    display: grid;
    min-width: 76px;
    padding: 0.7rem;
    text-align: center;
}

.ma-booking-dates strong {
    font-size: 1.45rem;
    line-height: 1;
}

.ma-booking-dates small,
.ma-booking-dates span {
    color: #7b6962;
    text-transform: capitalize;
}

.ma-booking-slots {
    flex-wrap: wrap;
    overflow: visible;
}

.ma-booking-slots button {
    min-width: 84px;
    padding: 0.7rem 1rem;
    font-weight: 800;
}

.ma-booking-dates button.is-selected,
.ma-booking-slots button.is-selected {
    border-color: #2f7d63;
    background: #2f7d63;
    color: #fff;
}

.ma-booking-dates button.is-selected small,
.ma-booking-dates button.is-selected span {
    color: rgba(255, 255, 255, 0.82);
}

.ma-booking-slots-status {
    margin: 0.85rem 0;
    color: #7b6962;
    font-weight: 700;
}

.ma-booking-contact {
    display: grid;
    gap: 0.75rem;
}

.ma-booking-contact label {
    display: grid;
    gap: 0.35rem;
    color: #5e4b45;
    font-weight: 800;
}

.ma-booking-contact input {
    width: 100%;
    border: 1px solid #ead7ca;
    border-radius: 16px;
    background: #fff;
    padding: 0.85rem 1rem;
    color: #2d1d19;
    font: inherit;
}

.ma-booking-primary,
.ma-booking-back {
    border: 0;
    font: inherit;
}

.ma-booking-primary {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    border-radius: 16px;
    background: #2f7d63;
    color: #fff;
    padding: 0.9rem 1rem;
    font-weight: 900;
}

.ma-booking-primary:disabled {
    opacity: 0.7;
}

.ma-booking-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    background: transparent;
    color: #80645a;
    font-weight: 800;
}

.ma-booking-review {
    display: grid;
    gap: 0.55rem;
}

.ma-booking-review div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #efdfd5;
    padding: 0.65rem 0;
}

.ma-booking-review span {
    color: #80645a;
}

.ma-booking-review strong {
    color: #2d1d19;
    text-align: right;
}

.ma-booking-modal__success {
    text-align: center;
}

.ma-booking-modal__success > i {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: #2f7d63;
    color: #fff;
    font-size: 2rem;
}

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

.atendimento-pos .app-card {
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.06);
}

.atendimento-total {
    background: #f8fafc;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 0.5rem;
    padding: 1rem;
}

.atendimento-total div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
}

.atendimento-total div + div {
    border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.produtos-modal .modal-body {
    background: #f8fafc;
}

.produtos-busca {
    min-width: min(100%, 18rem);
    width: auto;
}

.produtos-filtro {
    min-width: min(100%, 14rem);
    width: auto;
}

.catalogo-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}

.produto-card {
    background: #fff;
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: 0.5rem;
    display: grid;
    gap: 0.45rem;
    min-height: 17rem;
    padding: 0.75rem;
}

.produto-card.is-recommended {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.08);
}

.produto-card strong,
.produto-card span,
.produto-card small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.produto-card span,
.produto-card small {
    color: #64748b;
}

.produto-foto {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #eef2f7;
    border-radius: 0.375rem;
    color: #475569;
    display: flex;
    font-weight: 800;
    justify-content: center;
    overflow: hidden;
}

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

.carrinho-panel {
    background: #fff;
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.carrinho-itens {
    display: grid;
    gap: 0.75rem;
    min-height: 8rem;
}

.carrinho-item {
    align-items: center;
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding-bottom: 0.75rem;
}

.carrinho-item strong,
.carrinho-item span {
    display: block;
    overflow-wrap: anywhere;
}

.carrinho-item span {
    color: #64748b;
    font-size: 0.875rem;
}

.carrinho-total {
    align-items: center;
    border-top: 1px solid rgba(31, 41, 55, 0.12);
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
}

@media (max-width: 991.98px) {
    .carrinho-panel {
        position: static;
    }
}

/* Focused booking wizard */
.ma-booking-modal .modal-dialog {
    max-width: min(860px, calc(100vw - 24px));
}

.ma-booking-modal .modal-content {
    background: #fff;
    border: 1px solid rgba(182, 132, 62, 0.22);
    border-radius: 0.75rem;
    box-shadow: 0 1.5rem 4rem rgba(43, 36, 29, 0.18);
    overflow: hidden;
}

.ma-booking-modal .modal-header {
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid rgba(182, 132, 62, 0.16);
    padding: 1.5rem 1.5rem 1.25rem;
}

.ma-booking-heading {
    min-width: 0;
    padding-right: 1rem;
}

.ma-booking-step-count {
    color: var(--ma-color-primary);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.ma-booking-modal .modal-title {
    font-family: var(--ma-font-body);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.ma-booking-close {
    align-items: center;
    border: 1px solid rgba(43, 36, 29, 0.12);
    border-radius: 50%;
    color: var(--booking-ink);
    display: inline-flex;
    flex: 0 0 2.5rem;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem;
}

.ma-booking-close:hover,
.ma-booking-close:focus-visible {
    background: rgba(182, 132, 62, 0.1);
    border-color: rgba(182, 132, 62, 0.4);
    color: var(--ma-color-primary);
}

.ma-booking-modal .modal-body {
    padding: 0;
}

.ma-booking-shell {
    display: block;
}

.ma-booking-flow {
    background: #fff;
    border: 0;
    border-radius: 0;
    min-height: 31rem;
    padding: 1.5rem;
}

.ma-booking-modal__step header {
    border: 0;
    margin-bottom: 1.25rem;
    padding: 0;
}

.ma-booking-modal__step header h3 {
    font-family: var(--ma-font-body);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.ma-booking-back {
    margin-bottom: 1rem;
}

.ma-booking-modal__grid--services {
    gap: 0.75rem;
}

.ma-booking-service-card {
    border-radius: 0.5rem;
    box-shadow: none;
}

.ma-booking-service-card:hover,
.ma-booking-service-card:focus-visible {
    box-shadow: 0 0.5rem 1.25rem rgba(43, 36, 29, 0.09);
    transform: none;
}

.ma-booking-service-card.is-selected {
    background: rgba(182, 132, 62, 0.06);
    box-shadow: 0 0 0 0.15rem rgba(182, 132, 62, 0.14);
}

@media (max-width: 575.98px) {
    .ma-booking-modal .modal-header {
        padding: calc(1rem + env(safe-area-inset-top)) 1rem 1rem;
    }

    .ma-booking-flow {
        min-height: 0;
        padding: 1rem;
    }

    .ma-booking-modal .modal-title {
        font-size: 1.25rem;
    }
}

.ma-admin-appointment-modal {
  --appointment-blue: #2563eb;
  --appointment-blue-soft: #eff6ff;
  --appointment-green: #16a34a;
  --appointment-green-soft: #ecfdf3;
  --appointment-red: #dc2626;
  --appointment-red-soft: #fef2f2;
  --appointment-orange: #f59e0b;
  --appointment-orange-soft: #fffbeb;
  --appointment-line: #e5e7eb;
  --appointment-muted: #667085;
  --appointment-ink: #111827;
}

.ma-admin-appointment-modal__dialog {
  max-width: min(1280px, calc(100vw - 32px));
  width: min(1280px, calc(100vw - 32px));
}

.ma-admin-appointment-modal__content {
  background: #ffffff;
  border-radius: 14px;
  color: var(--appointment-ink);
  height: auto;
  max-height: calc(100vh - 40px);
  overflow: hidden;
}

.ma-admin-appointment-modal__header,
.ma-admin-appointment-modal__footer {
  background: #ffffff;
  border-color: var(--appointment-line);
  padding: 16px 24px;
}

.ma-admin-appointment-modal__header {
  align-items: flex-start;
}

.ma-admin-appointment-modal__header .modal-title {
  color: var(--appointment-ink);
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.ma-admin-appointment-modal__header p {
  color: var(--appointment-muted);
  font-size: 0.95rem;
  margin: 4px 0 0;
}

.ma-admin-appointment-modal__body {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
  padding: 18px 24px;
}

.ma-admin-appointment-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.ma-admin-appointment-grid {
  align-items: start;
  column-gap: 18px;
  display: grid;
  min-width: 0;
  row-gap: 16px;
}

.ma-admin-appointment-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ma-admin-appointment-grid--three {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
}

.ma-admin-appointment-grid--value-note {
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.7fr);
}

.ma-admin-appointment-field {
  align-content: start;
  align-self: start;
  display: grid;
  gap: 5px;
  grid-template-rows: auto auto;
  margin: 0;
  min-width: 0;
}

.ma-admin-appointment-field > span,
.ma-admin-inline-flow label > span,
.ma-admin-current-professional span {
  color: #344054;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.ma-admin-appointment-modal .form-control,
.ma-admin-appointment-modal .form-select {
  border-color: var(--appointment-line);
  border-radius: 10px;
  color: var(--appointment-ink);
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 0;
  padding: 8px 14px;
}

.ma-admin-appointment-modal input.form-control,
.ma-admin-appointment-modal select.form-select {
  height: 44px;
}

.ma-admin-time-selects {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.ma-admin-time-selects > span {
  color: var(--appointment-muted);
  font-size: 1rem;
  font-weight: 800;
}

.ma-admin-time-selects .form-select {
  min-width: 0;
  padding-left: 12px;
  padding-right: 28px;
}

.ma-admin-appointment-modal textarea.form-control {
  height: 96px;
  max-height: 110px;
  min-height: 90px;
  overflow-y: auto;
  padding-bottom: 10px;
  padding-top: 10px;
  resize: vertical;
}

.ma-admin-appointment-modal .form-control:focus,
.ma-admin-appointment-modal .form-select:focus,
.ma-admin-service-picker__toggle:focus-visible {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ma-admin-service-picker__select {
  display: none;
}

.ma-admin-service-picker {
  position: relative;
}

.ma-admin-service-picker__toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--appointment-line);
  border-radius: 10px;
  color: var(--appointment-ink);
  display: flex;
  font: inherit;
  font-size: 0.95rem;
  gap: 10px;
  height: 44px;
  justify-content: space-between;
  min-height: 0;
  padding: 8px 14px;
  text-align: left;
  width: 100%;
}

.ma-admin-service-picker__toggle span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ma-admin-service-picker__menu {
  background: #ffffff;
  border: 1px solid var(--appointment-line);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  display: grid;
  gap: 2px;
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
}

.ma-admin-service-picker__menu label {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0;
  padding: 9px 10px;
}

.ma-admin-service-picker__menu label:hover {
  background: #f8fafc;
}

.ma-admin-service-picker__menu input {
  accent-color: var(--appointment-blue);
}

.ma-admin-service-picker__menu span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ma-admin-appointment-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ma-admin-status-card {
  background: var(--appointment-orange-soft);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 12px;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
}

.ma-admin-status-card > span {
  color: #7c4a03;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.ma-admin-status-card strong {
  color: var(--appointment-ink);
  font-size: 1rem;
  font-weight: 850;
}

.ma-admin-status-card p {
  color: #7a5b21;
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 0;
}

.ma-admin-status-card--confirmed {
  background: var(--appointment-green-soft);
  border-color: rgba(22, 163, 74, 0.24);
}

.ma-admin-status-card--confirmed > span,
.ma-admin-status-card--confirmed p {
  color: #166534;
}

.ma-admin-status-card--done {
  background: #f3f4f6;
  border-color: var(--appointment-line);
}

.ma-admin-status-card--done > span,
.ma-admin-status-card--done p {
  color: #4b5563;
}

.ma-admin-status-card--canceled {
  background: var(--appointment-red-soft);
  border-color: rgba(220, 38, 38, 0.22);
}

.ma-admin-status-card--canceled > span,
.ma-admin-status-card--canceled p {
  color: #991b1b;
}

.ma-admin-status-card--new {
  background: var(--appointment-blue-soft);
  border-color: rgba(37, 99, 235, 0.22);
}

.ma-admin-status-card--new > span,
.ma-admin-status-card--new p {
  color: #1d4ed8;
}

.ma-admin-quick-actions {
  display: grid;
  gap: 10px;
}

.ma-admin-action-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--appointment-line);
  border-radius: 10px;
  color: #1f2937;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr);
  height: 54px;
  min-height: 0;
  padding: 10px 14px;
  text-align: left;
}

.ma-admin-action-button i {
  color: var(--appointment-blue);
  font-size: 1.05rem;
  line-height: 1;
  text-align: center;
}

.ma-admin-action-button span {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  min-width: 0;
}

.ma-admin-action-button:hover,
.ma-admin-action-button:focus-visible {
  background: #f8fbff;
  border-color: rgba(37, 99, 235, 0.35);
  outline: 0;
}

.ma-admin-action-button--confirm {
  background: var(--appointment-green-soft);
  border-color: rgba(22, 163, 74, 0.25);
}

.ma-admin-action-button--confirm i {
  color: var(--appointment-green);
}

.ma-admin-action-button--danger {
  background: #fffafa;
}

.ma-admin-action-button--danger i {
  color: var(--appointment-red);
}

.ma-admin-action-button--whatsapp {
  border-color: rgba(22, 163, 74, 0.4);
  color: #166534;
}

.ma-admin-action-button--whatsapp i {
  color: #16a34a;
}

.ma-admin-inline-flow {
  background: #f8fafc;
  border: 1px solid var(--appointment-line);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.ma-admin-inline-flow[hidden] {
  display: none;
}

.ma-admin-inline-flow header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ma-admin-inline-flow header strong {
  color: var(--appointment-ink);
  font-weight: 850;
}

.ma-admin-inline-flow header button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #667085;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.ma-admin-inline-flow header button:hover,
.ma-admin-inline-flow header button:focus-visible {
  background: #eef2f7;
  outline: 0;
}

.ma-admin-inline-flow label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.ma-admin-current-professional {
  background: #ffffff;
  border: 1px solid var(--appointment-line);
  border-radius: 10px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.ma-admin-current-professional strong {
  color: var(--appointment-ink);
  font-weight: 850;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ma-admin-flow-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ma-admin-appointment-modal__footer {
  gap: 10px;
}

.ma-admin-appointment-modal__footer .btn {
  align-items: center;
  display: inline-flex;
  font-size: 0.95rem;
  height: 44px;
  justify-content: center;
  padding: 0 16px;
}

@media (max-width: 980px) {
  .ma-admin-appointment-modal__dialog {
    max-width: calc(100vw - 18px);
    width: calc(100vw - 18px);
  }

  .ma-admin-appointment-modal__body {
    grid-template-columns: 1fr;
  }

  .ma-admin-appointment-side {
    order: 2;
  }
}

@media (max-width: 680px) {
  .ma-admin-appointment-modal__dialog {
    margin: 8px auto;
    max-width: calc(100vw - 12px);
    width: calc(100vw - 12px);
  }

  .ma-admin-appointment-modal__content {
    border-radius: 12px;
    max-height: calc(100svh - 16px);
  }

  .ma-admin-appointment-modal__header,
  .ma-admin-appointment-modal__footer {
    padding: 18px;
  }

  .ma-admin-appointment-modal__body {
    gap: 18px;
    padding: 18px;
  }

  .ma-admin-appointment-grid--two,
  .ma-admin-appointment-grid--three,
  .ma-admin-appointment-grid--value-note {
    grid-template-columns: 1fr;
  }

  .ma-admin-action-button,
  .ma-admin-flow-actions .btn,
  .ma-admin-appointment-modal__footer .btn {
    width: 100%;
  }

  .ma-admin-flow-actions,
  .ma-admin-appointment-modal__footer {
    flex-direction: column;
  }
}

.professional-appointment-modal .modal-dialog {
    max-width: min(460px, calc(100vw - 32px));
    width: calc(100vw - 32px);
}

.professional-appointment-modal__content {
    background: #fff;
    border: 1px solid rgba(22, 32, 45, 0.08) !important;
    border-radius: 1.35rem;
    box-shadow: 0 1.5rem 4rem rgba(20, 24, 31, 0.16) !important;
    overflow: hidden;
}

.professional-appointment-modal__header {
    align-items: flex-start;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding: 1.15rem 1.15rem 0.75rem;
}

.professional-appointment-modal__close {
    align-items: center;
    background: #f6f7f9;
    border: 1px solid rgba(22, 32, 45, 0.08);
    border-radius: 999px;
    color: #273244;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem;
}

.professional-appointment-modal__title {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
    padding-top: 0.08rem;
}

.professional-appointment-modal__title span {
    color: #182334;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.05;
}

.professional-appointment-modal__title strong {
    color: #6b7482;
    font-size: 0.92rem;
    font-weight: 700;
}

.professional-status-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.38rem;
    grid-column: 2;
    justify-self: start;
    line-height: 1;
    padding: 0.48rem 0.68rem;
}

.professional-status-badge--waiting {
    background: #fff4dc;
    color: #b66b00;
}

.professional-status-badge--confirmed {
    background: #e9f3ff;
    color: #1e65a7;
}

.professional-status-badge--done {
    background: #e8f8ee;
    color: #16743c;
}

.professional-status-badge--canceled {
    background: #f8ecec;
    color: #a83a3a;
}

.professional-appointment-modal__body {
    display: grid;
    gap: 0.85rem;
    padding: 0.6rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom));
}

.professional-detail-card,
.professional-transfer-sheet {
    background: #fff;
    border: 1px solid rgba(22, 32, 45, 0.09);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.2rem rgba(20, 24, 31, 0.045);
    padding: 1rem;
}

.professional-detail-label {
    color: #8a93a0;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.professional-detail-client {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.professional-detail-client strong,
.professional-service-name {
    color: #172233;
    display: block;
    font-size: 1.04rem;
    font-weight: 800;
    margin-top: 0.18rem;
}

.professional-detail-client small,
.professional-date-time-card small,
.professional-service-description,
.professional-detail-card p,
.professional-commission-card small,
.professional-transfer-sheet small {
    color: #697383;
    font-size: 0.86rem;
    margin: 0;
}

.professional-detail-avatar,
.professional-detail-icon {
    align-items: center;
    background: #f4f6f8;
    border: 1px solid rgba(22, 32, 45, 0.08);
    border-radius: 999px;
    color: #253247;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.professional-date-time-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.professional-date-time-card__item {
    align-items: flex-start;
    display: flex;
    gap: 0.72rem;
    min-width: 0;
    padding: 1rem;
}

.professional-date-time-card__item + .professional-date-time-card__item {
    border-left: 1px solid rgba(22, 32, 45, 0.08);
}

.professional-date-time-card strong {
    color: #172233;
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 0.2rem;
}

.professional-commission-card {
    background: #f8fafb;
}

.professional-commission-card strong {
    color: #102030;
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.35rem 0 0.45rem;
}

.professional-actions {
    display: grid;
    gap: 0.75rem;
}

.professional-action-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.professional-action-card {
    align-items: center;
    border: 0;
    border-radius: 0.95rem;
    display: grid;
    font-size: 0.74rem;
    font-weight: 900;
    gap: 0.38rem;
    justify-items: center;
    min-height: 4.7rem;
    padding: 0.7rem 0.35rem;
}

.professional-action-card i {
    font-size: 1.35rem;
}

.professional-action-card--cancel {
    background: #fff0f0;
    color: #c53737;
}

.professional-action-card--transfer {
    background: #edf5ff;
    color: #1d67b2;
}

.professional-action-card--complete {
    background: #eaf8ef;
    color: #168346;
}

.professional-whatsapp-button,
.professional-transfer-confirm {
    align-items: center;
    background: #ffc928;
    border: 0;
    border-radius: 1rem;
    color: #171717;
    display: inline-flex;
    font-weight: 900;
    gap: 0.55rem;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    width: 100%;
}

.professional-whatsapp-button:hover,
.professional-whatsapp-button:focus-visible {
    background: #ffd84a;
    color: #171717;
    text-decoration: none;
}

.professional-transfer-sheet {
    display: grid;
    gap: 1rem;
}

.professional-transfer-sheet form {
    display: grid;
    gap: 1rem;
}

.professional-transfer-sheet__head {
    align-items: flex-start;
    display: flex;
    gap: 0.7rem;
}

.professional-transfer-sheet__back {
    align-items: center;
    background: #f4f6f8;
    border: 1px solid rgba(22, 32, 45, 0.08);
    border-radius: 999px;
    color: #273244;
    display: inline-flex;
    flex: 0 0 2.35rem;
    height: 2.35rem;
    justify-content: center;
    padding: 0;
    width: 2.35rem;
}

.professional-transfer-sheet__head span,
.professional-transfer-field span {
    color: #8a93a0;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
}

.professional-transfer-sheet__head strong {
    color: #172233;
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
}

.professional-transfer-field {
    display: grid;
    gap: 0.45rem;
}

.professional-transfer-field select {
    appearance: none;
    background: #fff;
    border: 1px solid rgba(22, 32, 45, 0.14);
    border-radius: 0.85rem;
    color: #172233;
    min-height: 3rem;
    padding: 0.55rem 0.75rem;
    width: 100%;
}

.professional-transfer-confirm:disabled,
.professional-action-card:disabled {
    opacity: 0.7;
}

@media (max-width: 575.98px) {
    .professional-appointment-modal .modal-dialog {
        align-items: flex-end;
        margin: 0 auto;
        max-width: calc(100vw - 16px);
        min-height: 100dvh;
        padding: calc(0.5rem + env(safe-area-inset-top)) 0 0.5rem;
        width: calc(100vw - 16px);
    }

    .professional-appointment-modal__content {
        border-radius: 1.25rem;
        max-height: calc(100dvh - 1rem - env(safe-area-inset-top));
    }

    .professional-appointment-modal__header {
        padding-top: 1rem;
    }

    .professional-date-time-card {
        grid-template-columns: 1fr;
    }

    .professional-date-time-card__item + .professional-date-time-card__item {
        border-left: 0;
        border-top: 1px solid rgba(22, 32, 45, 0.08);
    }
}

.professional-mobile-header,
.professional-mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    body.professional-mobile-layout {
        --professional-mobile-bg: #f7f0ea;
        --professional-mobile-surface: #fffaf7;
        --professional-mobile-line: rgba(83, 64, 45, 0.12);
        --professional-mobile-ink: #251f1a;
        --professional-mobile-muted: #817468;
        --professional-mobile-accent: #3b2b22;
        --professional-mobile-header-height: 70px;
        --professional-mobile-nav-height: 66px;
        --professional-mobile-safe-bottom: env(safe-area-inset-bottom);
        --professional-mobile-content-padding: 12px;
        background: var(--professional-mobile-bg);
        overflow: hidden;
    }

    body.professional-mobile-layout .admin-shell,
    body.professional-mobile-layout .admin-main {
        background: var(--professional-mobile-bg);
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    body.professional-mobile-layout .admin-main {
        display: flex;
        flex-direction: column;
    }

    body.professional-mobile-layout .admin-navbar {
        display: none;
    }

    body.professional-mobile-layout .admin-content {
        background: var(--professional-mobile-bg);
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0;
        scrollbar-width: none;
    }

    body.professional-mobile-layout .admin-content::-webkit-scrollbar {
        display: none;
    }

    .professional-mobile-header {
        align-items: center;
        background: var(--professional-mobile-bg);
        color: var(--professional-mobile-ink);
        display: grid;
        flex: 0 0 auto;
        gap: 12px;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: var(--professional-mobile-header-height);
        padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
        position: relative;
        z-index: 1030;
    }

    .professional-mobile-header__button,
    .professional-mobile-header__avatar {
        align-items: center;
        background: rgba(255, 250, 244, 0.92);
        border: 1px solid var(--professional-mobile-line);
        border-radius: 50%;
        color: var(--professional-mobile-accent);
        display: inline-flex;
        height: 44px;
        justify-content: center;
        overflow: hidden;
        padding: 0;
        text-decoration: none;
        width: 44px;
    }

    body.professional-mobile-layout .professional-mobile-header::before {
        content: "";
        height: 44px;
        width: 44px;
    }

    body.professional-mobile-layout .professional-mobile-header__button {
        display: none;
    }

    body.professional-mobile-layout .admin-sidebar,
    body.professional-mobile-layout .admin-sidebar-backdrop {
        display: none;
    }

    .professional-mobile-header__button i {
        font-size: 1.45rem;
    }

    .professional-mobile-header__avatar img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .professional-mobile-header__avatar span {
        align-items: center;
        background: #ead6bd;
        color: #5b3a1d;
        display: inline-flex;
        font-size: 0.78rem;
        font-weight: 900;
        height: 100%;
        justify-content: center;
        width: 100%;
    }

    .professional-mobile-header__title {
        min-width: 0;
        text-align: center;
    }

    .professional-mobile-header__title h1 {
        color: var(--professional-mobile-ink);
        font-size: 1.5rem;
        font-weight: 900;
        line-height: 1.08;
        margin: 0;
    }

    .professional-mobile-header__title p {
        color: var(--professional-mobile-muted);
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.25;
        margin: 3px 0 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .professional-mobile-bottom-nav {
        align-items: stretch;
        background: rgba(255, 250, 244, 0.98);
        border-top: 1px solid var(--professional-mobile-line);
        box-shadow: 0 -10px 30px rgba(54, 41, 30, 0.08);
        display: grid;
        flex: 0 0 auto;
        gap: 2px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-height: calc(var(--professional-mobile-nav-height) + env(safe-area-inset-bottom));
        padding: 6px 14px calc(6px + env(safe-area-inset-bottom));
        position: relative;
        z-index: 1030;
    }

    .professional-mobile-bottom-nav a {
        align-items: center;
        background: transparent;
        border-radius: 8px;
        color: #7d736b;
        display: grid;
        font-size: 0.72rem;
        font-weight: 800;
        gap: 3px;
        justify-items: center;
        min-height: 50px;
        padding: 4px 2px;
        text-decoration: none;
    }

    .professional-mobile-bottom-nav i {
        font-size: 1.22rem;
        line-height: 1;
    }

    .professional-mobile-bottom-nav a.is-active {
        color: var(--professional-mobile-accent);
        font-weight: 900;
    }

    .professional-mobile-header__button:focus-visible,
    .professional-mobile-header__avatar:focus-visible,
    .professional-mobile-bottom-nav a:focus-visible {
        outline: 2px solid rgba(59, 43, 34, 0.34);
        outline-offset: 2px;
    }
}

.agenda-mobile-app,
.agenda-mobile-fab {
    display: none;
}

@media (max-width: 767px) {
    body.admin-layout:has(.agenda-mobile-app) {
        background: #f7f0ea;
        overflow-x: hidden;
    }

    .admin-main:has(.agenda-mobile-app) {
        background: #f7f0ea;
        min-height: 100dvh;
    }

    .admin-content:has(.agenda-mobile-app) {
        min-height: 100dvh;
        padding: 0;
    }

    .calendar-desktop-surface {
        display: none;
    }

    .agenda-mobile-app {
        --agenda-mobile-bg: #f7f0ea;
        --agenda-mobile-surface: #fffaf4;
        --agenda-mobile-line: rgba(83, 64, 45, 0.12);
        --agenda-mobile-ink: #251f1a;
        --agenda-mobile-muted: #817468;
        --agenda-mobile-brown: #3b2b22;
        background: var(--agenda-mobile-bg);
        box-sizing: border-box;
        color: var(--agenda-mobile-ink);
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: 100dvh;
        margin: 0 auto;
        max-width: 520px;
        max-height: 100dvh;
        min-height: 100dvh;
        overflow-x: hidden;
        padding: 12px 12px calc(20px + env(safe-area-inset-bottom));
        position: relative;
    }

    body.professional-mobile-layout .agenda-mobile-app {
        height: auto;
        max-height: none;
        min-height: 100%;
        padding: 12px 12px 18px;
    }

    body.professional-mobile-layout .agenda-mobile-body {
        overflow-y: visible;
    }

    .agenda-mobile-month-list header button {
        align-items: center;
        background: rgba(255, 250, 244, 0.92);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 50%;
        color: var(--agenda-mobile-brown);
        display: inline-flex;
        height: 44px;
        justify-content: center;
        padding: 0;
        width: 44px;
    }

    .agenda-mobile-datebar {
        align-items: center;
        background: var(--agenda-mobile-surface);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        min-height: 48px;
        overflow: hidden;
    }

    .agenda-mobile-datebar a {
        align-items: center;
        color: var(--agenda-mobile-brown);
        display: inline-flex;
        font-weight: 850;
        height: 100%;
        justify-content: center;
        text-decoration: none;
    }

    .agenda-mobile-datebar a:not(:last-child) {
        border-right: 1px solid var(--agenda-mobile-line);
    }

    .agenda-mobile-datebar__current {
        font-size: 0.95rem;
        min-width: 0;
        overflow: hidden;
        padding: 0 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agenda-mobile-segmented {
        background: #efe5db;
        border: 1px solid rgba(83, 64, 45, 0.1);
        border-radius: 8px;
        display: grid;
        gap: 4px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 4px;
    }

    .agenda-mobile-segmented a {
        align-items: center;
        border-radius: 7px;
        color: #65584d;
        display: inline-flex;
        font-size: 0.9rem;
        font-weight: 850;
        justify-content: center;
        min-height: 38px;
        text-decoration: none;
    }

    .agenda-mobile-segmented a.is-active {
        background: var(--agenda-mobile-brown);
        color: #fffaf4;
    }

    .agenda-mobile-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .agenda-mobile-body::-webkit-scrollbar {
        display: none;
    }

    .agenda-mobile-empty,
    .agenda-mobile-notice {
        align-items: center;
        background: var(--agenda-mobile-surface);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        display: grid;
        gap: 6px 12px;
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 14px;
    }

    .agenda-mobile-empty i,
    .agenda-mobile-notice i {
        align-items: center;
        background: rgba(180, 138, 74, 0.14);
        border-radius: 50%;
        color: #8a641f;
        display: inline-flex;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .agenda-mobile-empty strong,
    .agenda-mobile-empty span,
    .agenda-mobile-notice span {
        min-width: 0;
    }

    .agenda-mobile-empty strong {
        font-size: 0.96rem;
        font-weight: 900;
    }

    .agenda-mobile-empty span,
    .agenda-mobile-notice span {
        color: var(--agenda-mobile-muted);
        font-size: 0.84rem;
        grid-column: 2;
    }

    .agenda-mobile-notice {
        margin-bottom: 10px;
    }

    .agenda-mobile-pro-strip {
        display: flex;
        gap: 8px;
        margin-bottom: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .agenda-mobile-pro-strip::-webkit-scrollbar {
        display: none;
    }

    .agenda-mobile-pro-strip span {
        align-items: center;
        background: rgba(255, 250, 244, 0.92);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        color: var(--agenda-mobile-ink);
        display: grid;
        flex: 0 0 176px;
        gap: 1px 8px;
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 52px;
        padding: 8px;
    }

    .agenda-mobile-pro-strip img,
    .agenda-mobile-pro-strip b {
        border-radius: 50%;
        grid-row: 1 / span 2;
        height: 34px;
        width: 34px;
    }

    .agenda-mobile-pro-strip img {
        object-fit: cover;
    }

    .agenda-mobile-pro-strip b {
        align-items: center;
        background: #ead6bd;
        color: #5b3a1d;
        display: inline-flex;
        font-size: 0.72rem;
        justify-content: center;
    }

    .agenda-mobile-pro-strip strong,
    .agenda-mobile-pro-strip small {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agenda-mobile-pro-strip strong {
        font-size: 0.8rem;
        font-weight: 900;
    }

    .agenda-mobile-pro-strip small {
        color: var(--agenda-mobile-muted);
        font-size: 0.7rem;
        font-weight: 750;
    }

    .agenda-mobile-day {
        --agenda-mobile-column-width: 272px;
        background: var(--agenda-mobile-surface);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .agenda-mobile-day.is-single-professional {
        overflow-x: hidden;
    }

    .agenda-mobile-day.is-single-professional .agenda-mobile-day__time-head,
    .agenda-mobile-day.is-single-professional .agenda-mobile-day__heads {
        display: none;
    }

    .agenda-mobile-day__time-head,
    .agenda-mobile-day__heads {
        background: rgba(255, 250, 244, 0.97);
        border-bottom: 1px solid var(--agenda-mobile-line);
        min-height: 54px;
        position: sticky;
        top: 0;
        z-index: 4;
    }

    .agenda-mobile-day__time-head {
        align-items: center;
        border-right: 1px solid var(--agenda-mobile-line);
        color: var(--agenda-mobile-muted);
        display: flex;
        font-size: 0.7rem;
        font-weight: 850;
        justify-content: center;
    }

    .agenda-mobile-day__heads,
    .agenda-mobile-day__columns {
        display: grid;
        grid-template-columns: repeat(var(--agenda-mobile-columns), minmax(var(--agenda-mobile-column-width), 1fr));
        min-width: calc(var(--agenda-mobile-columns) * var(--agenda-mobile-column-width));
    }

    .agenda-mobile-day.is-single-professional .agenda-mobile-day__columns {
        min-width: 0;
    }

    .agenda-mobile-day__professional {
        align-items: center;
        border-right: 1px solid var(--agenda-mobile-line);
        display: flex;
        gap: 8px;
        min-width: 0;
        padding: 8px;
    }

    .agenda-mobile-day__professional img,
    .agenda-mobile-day__professional span {
        border-radius: 50%;
        flex: 0 0 34px;
        height: 34px;
        width: 34px;
    }

    .agenda-mobile-day__professional img {
        object-fit: cover;
    }

    .agenda-mobile-day__professional span {
        align-items: center;
        background: #ead6bd;
        color: #5b3a1d;
        display: inline-flex;
        font-size: 0.72rem;
        font-weight: 900;
        justify-content: center;
    }

    .agenda-mobile-day__professional strong {
        font-size: 0.82rem;
        font-weight: 900;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agenda-mobile-day__time {
        background: rgba(255, 250, 244, 0.92);
        border-right: 1px solid var(--agenda-mobile-line);
        display: grid;
        grid-auto-rows: var(--agenda-slot-height);
        height: var(--agenda-grid-height);
    }

    .agenda-mobile-day__time div,
    .agenda-mobile-week__time div {
        align-items: flex-start;
        color: #85786d;
        display: flex;
        font-size: 0.72rem;
        font-weight: 800;
        justify-content: flex-end;
        line-height: 1;
        padding: 6px 6px 0 0;
    }

    .agenda-mobile-day__time div.is-half-hour,
    .agenda-mobile-week__time div.is-half-hour {
        color: rgba(133, 120, 109, 0.62);
    }

    .agenda-mobile-day__column,
    .agenda-mobile-week__column {
        background:
            linear-gradient(to bottom, rgba(83, 64, 45, 0.09) 1px, transparent 1px),
            #fffdf8;
        background-size: 100% var(--agenda-slot-height);
        border-right: 1px solid var(--agenda-mobile-line);
        height: var(--agenda-grid-height);
        position: relative;
    }

    .agenda-mobile-slot,
    .agenda-mobile-week-slot {
        box-sizing: border-box;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(83, 64, 45, 0.045);
        display: block;
        height: var(--agenda-slot-height);
        padding: 0;
        width: 100%;
    }

    .agenda-mobile-slot[data-slot-kind="half"],
    .agenda-mobile-week-slot[data-slot-kind="half"] {
        border-bottom-color: rgba(83, 64, 45, 0.1);
    }

    .agenda-mobile-slot:not(:disabled):hover,
    .agenda-mobile-slot:not(:disabled):focus-visible,
    .agenda-mobile-week-slot:not(:disabled):hover,
    .agenda-mobile-week-slot:not(:disabled):focus-visible {
        background: rgba(180, 138, 74, 0.1);
        outline: 2px solid rgba(92, 66, 42, 0.22);
        outline-offset: -2px;
    }

    .agenda-mobile-slot.is-unavailable,
    .agenda-mobile-week-slot.is-unavailable {
        cursor: pointer;
    }

    .agenda-mobile-unavailable,
    .agenda-mobile-week-unavailable {
        box-sizing: border-box;
        align-content: start;
        background: rgba(90, 78, 68, 0.08);
        border: 1px dashed rgba(90, 78, 68, 0.16);
        border-radius: 8px;
        color: rgba(77, 67, 59, 0.76);
        display: grid;
        left: 6px;
        overflow: hidden;
        padding: 6px;
        pointer-events: none;
        position: absolute;
        right: 6px;
        z-index: 1;
    }

    .agenda-mobile-unavailable--intervalo { z-index: 2; border-style: solid; border-color: #d9dce0; background: #eef0f2; color: #59616b; }

    .agenda-mobile-unavailable span,
    .agenda-mobile-unavailable strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agenda-mobile-unavailable span,
    .agenda-mobile-week-unavailable span {
        font-size: 0.68rem;
        font-weight: 850;
    }

    .agenda-mobile-unavailable strong {
        font-size: 0.72rem;
    }

    .agenda-mobile-event,
    .agenda-mobile-week-event {
        box-sizing: border-box;
        --event-bg: #fff3dd;
        --event-border: rgba(177, 124, 46, 0.28);
        --event-accent: #9a641f;
        background: var(--event-bg);
        border: 1px solid var(--event-border);
        border-left: 4px solid var(--event-accent);
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(54, 41, 30, 0.08);
        color: #231d18;
        display: grid;
        gap: 3px;
        left: 7px;
        min-height: 0;
        overflow: hidden;
        padding: 8px 9px;
        position: absolute;
        right: 7px;
        text-align: left;
        z-index: 3;
    }

    .agenda-mobile-event:hover,
    .agenda-mobile-event:focus-visible,
    .agenda-mobile-week-event:hover,
    .agenda-mobile-week-event:focus-visible,
    .agenda-mobile-month-item:hover,
    .agenda-mobile-month-item:focus-visible {
        box-shadow: 0 12px 24px rgba(54, 41, 30, 0.12);
        outline: 2px solid rgba(92, 66, 42, 0.28);
        outline-offset: 2px;
    }

    .agenda-mobile-event strong,
    .agenda-mobile-event small,
    .agenda-mobile-event span,
    .agenda-mobile-event em,
    .agenda-mobile-week-event strong,
    .agenda-mobile-week-event span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agenda-mobile-event strong,
    .agenda-mobile-week-event strong {
        font-size: 0.9rem;
        font-weight: 950;
        line-height: 1.1;
    }

    .agenda-mobile-event small,
    .agenda-mobile-event span,
    .agenda-mobile-event em,
    .agenda-mobile-week-event span {
        color: #62564c;
        font-size: 0.76rem;
        font-style: normal;
        font-weight: 750;
        line-height: 1.1;
    }

    .agenda-mobile-event span {
        align-items: center;
        display: inline-flex;
        gap: 5px;
    }

    .agenda-mobile-event.is-compact,
    .agenda-mobile-week-event.is-compact {
        align-content: center;
        gap: 2px;
        padding-block: 5px;
    }

    .agenda-mobile-event.is-compact small,
    .agenda-mobile-event.is-compact em,
    .agenda-mobile-week-event.is-compact span {
        display: none;
    }

    .agenda-mobile-week-event {
        left: 4px;
        padding: 6px;
        right: 4px;
    }

    .agenda-mobile-week-event strong {
        font-size: 0.72rem;
    }

    .agenda-mobile-week-event span {
        font-size: 0.66rem;
    }

    .agenda-mobile-event.ma-agenda-event--confirmado,
    .agenda-mobile-week-event.ma-agenda-event--confirmado {
        --event-bg: #edf8ef;
        --event-border: rgba(47, 122, 79, 0.24);
        --event-accent: #2f7a4f;
    }

    .agenda-mobile-event.ma-agenda-event--concluido,
    .agenda-mobile-week-event.ma-agenda-event--concluido {
        --event-bg: #f0efec;
        --event-border: rgba(118, 113, 107, 0.22);
        --event-accent: #76716b;
    }

    .agenda-mobile-event.ma-agenda-event--cancelado,
    .agenda-mobile-week-event.ma-agenda-event--cancelado {
        --event-bg: #f8ece7;
        --event-border: rgba(154, 78, 62, 0.2);
        --event-accent: #9a4e3e;
        opacity: 0.72;
    }

    .agenda-mobile-week-strip {
        display: grid;
        gap: 5px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        margin-bottom: 10px;
    }

    .agenda-mobile-week-strip a {
        align-items: center;
        background: rgba(255, 250, 244, 0.9);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        color: #5f5348;
        display: grid;
        justify-items: center;
        min-height: 58px;
        padding: 6px 2px;
        position: relative;
        text-decoration: none;
    }

    .agenda-mobile-week-strip span {
        font-size: 0.68rem;
        font-weight: 850;
        line-height: 1;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-transform: capitalize;
        white-space: nowrap;
    }

    .agenda-mobile-week-strip strong {
        align-items: center;
        border-radius: 50%;
        display: inline-flex;
        font-size: 0.95rem;
        font-weight: 950;
        height: 28px;
        justify-content: center;
        width: 28px;
    }

    .agenda-mobile-week-strip small {
        background: #b48a4a;
        border-radius: 999px;
        color: #fff;
        font-size: 0.62rem;
        font-weight: 900;
        min-width: 17px;
        padding: 1px 4px;
        position: absolute;
        right: 4px;
        top: 4px;
    }

    .agenda-mobile-week-strip a.is-selected strong,
    .agenda-mobile-week-strip a.is-today strong {
        background: var(--agenda-mobile-brown);
        color: #fffaf4;
    }

    .agenda-mobile-week {
        background: var(--agenda-mobile-surface);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        display: grid;
        grid-template-columns: 46px minmax(504px, 1fr);
        overflow: auto;
        scrollbar-width: thin;
    }

    .agenda-mobile-week__time {
        background: rgba(255, 250, 244, 0.96);
        border-right: 1px solid var(--agenda-mobile-line);
        display: grid;
        grid-auto-rows: var(--agenda-slot-height);
        height: var(--agenda-grid-height);
        position: sticky;
        left: 0;
        z-index: 5;
    }

    .agenda-mobile-week__columns {
        display: grid;
        grid-template-columns: repeat(7, minmax(72px, 1fr));
        min-width: 504px;
    }

    .agenda-mobile-week-unavailable {
        left: 4px;
        padding: 4px;
        right: 4px;
    }

    .agenda-mobile-month-weekdays,
    .agenda-mobile-month-grid {
        display: grid;
        gap: 4px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .agenda-mobile-month-weekdays {
        color: var(--agenda-mobile-muted);
        font-size: 0.72rem;
        font-weight: 900;
        margin-bottom: 6px;
        text-align: center;
    }

    .agenda-mobile-month-grid {
        background: var(--agenda-mobile-surface);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        padding: 8px;
    }

    .agenda-mobile-month-grid a {
        align-items: center;
        border-radius: 8px;
        color: var(--agenda-mobile-ink);
        display: inline-flex;
        font-size: 0.9rem;
        font-weight: 850;
        height: 40px;
        justify-content: center;
        position: relative;
        text-decoration: none;
    }

    .agenda-mobile-month-grid a.is-muted {
        color: rgba(129, 116, 104, 0.46);
    }

    .agenda-mobile-month-grid a.is-today {
        box-shadow: inset 0 0 0 1px rgba(59, 43, 34, 0.22);
    }

    .agenda-mobile-month-grid a.is-selected {
        background: var(--agenda-mobile-brown);
        color: #fffaf4;
    }

    .agenda-mobile-month-grid i {
        background: #b48a4a;
        border-radius: 50%;
        bottom: 5px;
        height: 5px;
        position: absolute;
        width: 5px;
    }

    .agenda-mobile-month-grid i.agenda-event--confirmado {
        background: #2f7a4f;
    }

    .agenda-mobile-month-grid i.agenda-event--concluido {
        background: #76716b;
    }

    .agenda-mobile-month-grid i.agenda-event--cancelado {
        background: #9a4e3e;
    }

    .agenda-mobile-month-list {
        background: var(--agenda-mobile-surface);
        border: 1px solid var(--agenda-mobile-line);
        border-radius: 8px;
        margin-top: 12px;
        padding: 12px;
    }

    .agenda-mobile-month-list header {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .agenda-mobile-month-list h2 {
        color: var(--agenda-mobile-ink);
        font-size: 1rem;
        font-weight: 950;
        line-height: 1.15;
        margin: 0;
        text-transform: capitalize;
    }

    .agenda-mobile-month-list header span,
    .agenda-mobile-month-list p {
        color: var(--agenda-mobile-muted);
        font-size: 0.84rem;
        font-weight: 750;
        margin: 2px 0 0;
    }

    .agenda-mobile-month-list header button {
        flex: 0 0 40px;
        height: 40px;
        width: 40px;
    }

    .agenda-mobile-month-items {
        display: grid;
        gap: 8px;
    }

    .agenda-mobile-month-item {
        --month-accent: #9a641f;
        align-items: center;
        background: #fff7e8;
        border: 1px solid rgba(177, 124, 46, 0.22);
        border-left: 4px solid var(--month-accent);
        border-radius: 8px;
        color: var(--agenda-mobile-ink);
        display: grid;
        gap: 10px;
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 58px;
        padding: 8px 10px;
        text-align: left;
    }

    .agenda-mobile-month-item.agenda-event--confirmado {
        --month-accent: #2f7a4f;
        background: #edf8ef;
        border-color: rgba(47, 122, 79, 0.22);
    }

    .agenda-mobile-month-item.agenda-event--concluido {
        --month-accent: #76716b;
        background: #f0efec;
        border-color: rgba(118, 113, 107, 0.2);
    }

    .agenda-mobile-month-item.agenda-event--cancelado {
        --month-accent: #9a4e3e;
        background: #f8ece7;
        border-color: rgba(154, 78, 62, 0.18);
        opacity: 0.76;
    }

    .agenda-mobile-month-item time {
        color: var(--month-accent);
        font-size: 0.82rem;
        font-weight: 950;
    }

    .agenda-mobile-month-item span {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .agenda-mobile-month-item strong,
    .agenda-mobile-month-item small {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agenda-mobile-month-item strong {
        font-size: 0.92rem;
        font-weight: 950;
    }

    .agenda-mobile-month-item small {
        color: var(--agenda-mobile-muted);
        font-size: 0.78rem;
        font-weight: 750;
    }

    .agenda-mobile-fab {
        align-items: center;
        background: var(--agenda-mobile-brown);
        border: 0;
        border-radius: 50%;
        bottom: calc(var(--professional-mobile-nav-height, 0px) + env(safe-area-inset-bottom) + 18px);
        box-shadow: 0 16px 34px rgba(59, 43, 34, 0.28);
        color: #fffaf4;
        display: inline-flex;
        height: 58px;
        justify-content: center;
        padding: 0;
        position: fixed;
        right: max(18px, calc((100vw - 520px) / 2 + 18px));
        width: 58px;
        z-index: 1040;
    }

    .agenda-mobile-fab i {
        font-size: 1.55rem;
    }

    .agenda-mobile-datebar a:focus-visible,
    .agenda-mobile-segmented a:focus-visible,
    .agenda-mobile-week-strip a:focus-visible,
    .agenda-mobile-month-grid a:focus-visible,
    .agenda-mobile-fab:focus-visible,
    .agenda-mobile-month-list header button:focus-visible {
        outline: 2px solid rgba(59, 43, 34, 0.34);
        outline-offset: 2px;
    }
}

@media (max-width: 360px) {
    .agenda-mobile-app {
        padding-left: 10px;
        padding-right: 10px;
    }

    .agenda-mobile-week {
        grid-template-columns: 42px minmax(476px, 1fr);
    }

    .agenda-mobile-week__columns {
        grid-template-columns: repeat(7, minmax(68px, 1fr));
        min-width: 476px;
    }

}

/* Professional admin profile */
.professional-page-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.professional-profile-kicker {
    color: var(--ma-color-primary);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.professional-validation {
    margin-bottom: 1rem;
}

.professional-list-profile {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-width: 14rem;
}

.professional-list-profile__photo,
.professional-list-profile__avatar {
    border-radius: 50%;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    width: 2.75rem;
}

.professional-list-profile__photo {
    object-fit: cover;
}

.professional-list-profile__avatar {
    align-items: center;
    background: rgba(182, 132, 62, 0.08);
    border: 1px solid rgba(182, 132, 62, 0.22);
    color: var(--ma-color-primary);
    display: inline-flex;
    justify-content: center;
}

.professional-list-profile__body {
    display: block;
    min-width: 0;
}

.professional-list-profile__body strong,
.professional-list-profile__body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.professional-list-profile__body strong {
    color: var(--ink-color);
    font-weight: 800;
}

.professional-list-profile__body small {
    color: var(--muted-color);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.professional-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 21rem;
}

.professional-list-tags span {
    align-items: center;
    background: rgba(104, 104, 102, 0.06);
    border: 1px solid rgba(104, 104, 102, 0.12);
    border-radius: 999px;
    color: var(--muted-color);
    display: inline-flex;
    font-size: 0.76rem;
    gap: 0.35rem;
    line-height: 1.2;
    padding: 0.32rem 0.58rem;
}

.professional-list-tags i {
    color: var(--ma-color-primary);
}

.admin-professional-modal .modal-dialog {
    max-width: min(1020px, calc(100vw - 1.5rem));
}

.professional-profile-modal .modal-content {
    border: 1px solid rgba(104, 104, 102, 0.14);
    border-radius: 0.5rem;
    box-shadow: 0 1.5rem 3.6rem rgba(43, 36, 29, 0.18);
    overflow: hidden;
}

.professional-profile-modal__header,
.professional-profile-modal__footer {
    background: var(--surface-strong);
}

.professional-profile-modal__header {
    border-bottom: 1px solid var(--line-color);
    padding: 1.15rem 1.25rem;
}

.professional-profile-modal__footer {
    border-top: 1px solid var(--line-color);
    padding: 1rem 1.25rem;
}

.professional-profile-modal .modal-body {
    padding: 1.25rem;
}

.professional-sheet {
    background: var(--surface-strong);
    border: 1px solid var(--line-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.professional-sheet--page {
    margin-top: 0.75rem;
}

.professional-sheet__identity {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(182, 132, 62, 0.05));
    border-bottom: 1px solid var(--line-color);
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.professional-photo-frame {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(182, 132, 62, 0.22);
    border-radius: 50%;
    color: var(--ma-color-primary);
    display: inline-flex;
    flex: 0 0 5.25rem;
    font-size: 2.35rem;
    height: 5.25rem;
    justify-content: center;
    object-fit: cover;
    width: 5.25rem;
}

.professional-photo-frame--image {
    display: block;
    padding: 0;
}

.professional-photo-upload {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.professional-photo-upload .btn {
    justify-content: center;
    min-height: 2.45rem;
}

.professional-photo-editor-modal .modal-dialog {
    max-width: min(760px, calc(100vw - 1.5rem));
}

.professional-photo-editor-modal .modal-content {
    background: #171615;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.38);
    color: #fffaf2;
    overflow: hidden;
}

.professional-photo-editor-modal .modal-header,
.professional-photo-editor-modal .modal-footer {
    background: #11100f;
    border-color: rgba(255, 255, 255, 0.12);
    padding: 1rem 1.25rem;
}

.professional-photo-editor-modal .modal-body {
    display: grid;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem 1.25rem 1.15rem;
}

.professional-photo-editor__stage {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.45rem;
    display: flex;
    justify-content: center;
    max-height: min(58vh, 560px);
    min-height: 320px;
    overflow: hidden;
}

.professional-photo-editor__stage img {
    display: block;
    max-height: 100%;
    max-width: 100%;
}

.professional-photo-editor-modal .cropper-container,
.professional-photo-editor-modal .cropper-wrap-box,
.professional-photo-editor-modal .cropper-canvas,
.professional-photo-editor-modal .cropper-drag-box,
.professional-photo-editor-modal .cropper-crop-box {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.professional-photo-editor-modal .cropper-view-box {
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.92);
    outline: 0;
}

.professional-photo-editor-modal .cropper-face {
    background: transparent;
}

.professional-photo-editor-modal .cropper-line,
.professional-photo-editor-modal .cropper-point {
    display: none;
}

.professional-photo-editor__controls {
    display: grid;
    gap: 0.9rem;
}

.professional-photo-editor__control {
    display: grid;
    gap: 0.4rem;
}

.professional-photo-editor__control label,
.professional-photo-editor__group > span {
    color: rgba(255, 250, 242, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.professional-photo-editor__control input[type="range"] {
    accent-color: var(--ma-color-primary);
    width: 100%;
}

.professional-photo-editor__groups {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.professional-photo-editor__group {
    display: grid;
    gap: 0.45rem;
}

.professional-photo-editor__group > div {
    display: flex;
    gap: 0.45rem;
}

.professional-photo-editor__group .btn {
    align-items: center;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0;
}

.professional-photo-editor-modal .btn-primary {
    background: var(--ma-color-primary);
    border-color: var(--ma-color-primary);
    color: var(--primary-text-color);
}

.professional-sheet__title {
    min-width: 0;
}

.professional-sheet__title h2,
.professional-sheet__title h3 {
    color: var(--ink-color);
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.2;
    margin: 0;
}

.professional-sheet__title p {
    color: var(--muted-color);
    margin: 0.28rem 0 0;
}

.professional-status-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.35rem;
    padding: 0.42rem 0.72rem;
}

.professional-status-pill--active {
    background: rgba(63, 123, 95, 0.11);
    color: var(--ma-color-success);
}

.professional-status-pill--inactive {
    background: rgba(104, 104, 102, 0.11);
    color: var(--muted-color);
}

.professional-tabs {
    background: rgba(104, 104, 102, 0.04);
    border-bottom: 1px solid var(--line-color);
    gap: 0.35rem;
    padding: 0.75rem 1rem 0;
}

.professional-tabs .nav-link {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    color: var(--muted-color);
    display: inline-flex;
    font-weight: 750;
    gap: 0.45rem;
    min-height: 2.6rem;
}

.professional-tabs .nav-link:hover,
.professional-tabs .nav-link:focus-visible {
    border-color: rgba(182, 132, 62, 0.18);
    color: var(--ink-color);
}

.professional-tabs .nav-link.active {
    background: var(--surface-strong);
    border-color: var(--line-color) var(--line-color) var(--surface-strong);
    color: var(--ink-color);
}

.professional-tab-content {
    padding: 1.25rem;
}

.professional-section {
    background: transparent;
}

.professional-section__heading {
    border-bottom: 1px solid var(--line-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.professional-section__heading h3,
.professional-section__heading h4 {
    color: var(--ink-color);
    font-size: 1rem;
    font-weight: 850;
    margin: 0;
}

.professional-vales__heading,
.professional-vales__history-header,
.professional-vale-card__top,
.professional-vale-card__footer {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.professional-vales__summary {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.5fr);
    margin-bottom: 1.2rem;
}

.professional-vales__balance,
.professional-vales__metrics {
    border: 1px solid var(--line-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

.professional-vales__balance {
    background: rgba(104, 104, 102, 0.045);
}

.professional-vales__balance span,
.professional-vales__balance small,
.professional-vales__metrics span,
.professional-vale-card__meta {
    color: var(--muted-color);
}

.professional-vales__balance span,
.professional-vales__balance strong,
.professional-vales__balance small {
    display: block;
}

.professional-vales__balance strong {
    color: var(--ink-color);
    font-size: clamp(1.75rem, 2.3vw, 2.35rem);
    line-height: 1.1;
    margin: 0.3rem 0;
}

.professional-vales__metrics {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.professional-vales__metrics div {
    min-width: 0;
}

.professional-vales__metrics span,
.professional-vales__metrics strong {
    display: block;
}

.professional-vales__metrics strong {
    color: var(--ink-color);
    font-size: 1rem;
    margin-top: 0.18rem;
}

.professional-vales__history-header {
    border-top: 1px solid var(--line-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.professional-vales__table {
    margin-top: 0.75rem;
}

.professional-vale-details summary {
    cursor: pointer;
    list-style: none;
}

.professional-vale-details summary::-webkit-details-marker {
    display: none;
}

.professional-vale-details dl {
    color: var(--muted-color);
    display: grid;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    max-width: 24rem;
}

.professional-vale-details dl div {
    display: grid;
    gap: 0.25rem;
}

.professional-vale-details dt {
    color: var(--ink-color);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.professional-vale-details dd {
    margin: 0;
}

.professional-vales__mobile {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.professional-vale-card {
    border: 1px solid var(--line-color);
    border-radius: 0.5rem;
    padding: 0.9rem;
}

.professional-vale-card__top span {
    color: var(--muted-color);
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: capitalize;
}

.professional-vale-card__top strong {
    color: var(--ink-color);
    font-size: 1.08rem;
}

.professional-vale-card__meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.professional-vale-card__footer {
    margin-top: 0.8rem;
}

.professional-finance-panel {
    display: grid;
    gap: 1rem;
}

.professional-finance-estorno {
    background: rgba(104, 104, 102, 0.04);
    border: 1px solid var(--line-color);
    border-radius: 0.5rem;
    padding: 1rem;
}

.professional-reference-card__header-actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.professional-finance-estorno strong {
    color: var(--ink-color);
    display: block;
    font-size: 0.95rem;
    font-weight: 850;
    margin: 0;
}

.professional-finance-estorno small {
    color: var(--muted-color);
    display: block;
    font-size: 0.8rem;
    margin: 0.15rem 0 0;
}

.professional-finance-estorno {
    display: grid;
    gap: 0.75rem;
}

.admin-vales-page {
    display: grid;
    gap: 1rem;
}

.admin-vales-header,
.admin-vales-filter,
.admin-vales-filter__actions,
.admin-vales-actions,
.admin-vales-pagination,
.admin-vales-card__actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.admin-vales-header,
.admin-vales-pagination {
    justify-content: space-between;
}

.admin-vales-filter {
    align-items: end;
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(150px, 0.65fr)) auto;
}

.admin-vales-filter__actions {
    flex-wrap: wrap;
}

.admin-vales-summary {
    margin-bottom: 0;
}

.admin-vales-list-heading {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.admin-vales-table {
    margin-top: 0.9rem;
}

.admin-vales-table__reason {
    max-width: 16rem;
}

.admin-vales-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-vales-empty {
    align-items: center;
    border: 1px dashed var(--line-color);
    border-radius: 0.5rem;
    color: var(--muted-color);
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
    min-height: 8rem;
    padding: 1rem;
    text-align: center;
}

.admin-vales-empty i {
    color: var(--ink-color);
    font-size: 1.35rem;
}

.admin-vales-card__reason {
    color: var(--ink-color);
    font-size: 0.92rem;
    margin: 0.65rem 0 0;
}

.admin-vales-card__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-vales-pagination {
    border-top: 1px solid var(--line-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.admin-vales-confirm-summary,
.admin-vales-details-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.admin-vales-confirm-summary {
    background: rgba(104, 104, 102, 0.045);
    border: 1px solid var(--line-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.admin-vales-confirm-summary div,
.admin-vales-details-list div {
    display: grid;
    gap: 0.2rem;
}

.admin-vales-confirm-summary dt,
.admin-vales-details-list dt {
    color: var(--muted-color);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-vales-confirm-summary dd,
.admin-vales-details-list dd {
    color: var(--ink-color);
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-vales-details-estorno {
    border-top: 1px solid var(--line-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.professional-toggle-line {
    align-items: center;
    background: rgba(104, 104, 102, 0.045);
    border: 1px solid var(--line-color);
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 3.7rem;
    padding: 0.7rem 0.9rem;
}

.professional-toggle-line strong,
.professional-toggle-line small {
    display: block;
}

.professional-toggle-line strong {
    color: var(--ink-color);
    font-size: 0.9rem;
}

.professional-toggle-line small {
    color: var(--muted-color);
    font-size: 0.78rem;
    margin-top: 0.12rem;
}

.professional-services-config {
    margin-top: 0;
}

.professional-default-commission {
    background: #fff8ec;
    border: 1px solid rgba(184, 124, 37, 0.2);
    border-radius: 8px;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
    margin: 0 0 1rem;
    padding: 0.9rem;
}

.professional-default-commission strong,
.professional-default-commission small {
    display: block;
}

.professional-default-commission strong {
    color: var(--ink-color);
    font-size: 0.94rem;
    font-weight: 850;
}

.professional-default-commission small {
    color: var(--muted-color);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.professional-services-config__head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.professional-services-config__head strong,
.professional-services-config__head small {
    display: block;
}

.professional-services-config__head strong {
    color: var(--ink-color);
    font-size: 0.92rem;
    font-weight: 850;
}

.professional-services-config__head small {
    color: var(--muted-color);
    font-size: 0.78rem;
    margin-top: 0.05rem;
}

.professional-services-config__add,
.professional-services-config__reset {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.35rem;
    justify-content: center;
    white-space: nowrap;
}

.professional-service-selector {
    display: grid;
    gap: 1rem;
    margin: 0 0 1rem;
}

.professional-service-selector--standalone {
    margin: 0;
}

.professional-service-selector__group {
    display: grid;
    gap: 0.55rem;
}

.professional-service-selector__group h4 {
    color: var(--ink-color);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0;
    margin: 0;
}

.professional-service-selector__grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.professional-service-selector__item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 4.2rem;
    padding: 0.75rem 0.85rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.professional-service-selector__item:hover,
.professional-service-selector__item:focus-within {
    border-color: #9fd7c8;
    box-shadow: 0 8px 18px rgba(17, 61, 72, 0.08);
}

.professional-service-selector__item.is-selected {
    background: #edf8f5;
    border-color: #9fd7c8;
}

.professional-service-selector__item input {
    height: 1.05rem;
    margin: 0;
    width: 1.05rem;
}

.professional-service-selector__item span,
.professional-service-selector__item strong,
.professional-service-selector__item small {
    display: block;
    min-width: 0;
}

.professional-service-selector__item strong {
    color: var(--ink-color);
    font-size: 0.88rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.professional-service-selector__item small {
    color: var(--muted-color);
    font-size: 0.76rem;
    margin-top: 0.12rem;
}

.professional-service-selector__item em {
    background: #f7fafc;
    border: 1px solid var(--line-color);
    border-radius: 999px;
    color: var(--muted-color);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    padding: 0.36rem 0.5rem;
    white-space: nowrap;
}

.professional-service-selector__item.is-selected em {
    background: #22745f;
    border-color: #22745f;
    color: #fff;
}

.professional-services-config__categories {
    display: flex;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    white-space: nowrap;
}

.professional-services-config__categories button {
    background: #edf8f5;
    border: 1px solid #c8e8df;
    border-radius: 999px;
    color: #1f6958;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1;
    padding: 0.42rem 0.62rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.professional-services-config__categories button:hover,
.professional-services-config__categories button:focus-visible {
    background: #dff3ed;
    border-color: #9fd7c8;
}

.professional-services-config__categories button.is-active {
    background: #22745f;
    border-color: #22745f;
    color: #fff;
}

.professional-services-config__list {
    display: grid;
    gap: 0.85rem;
}

.professional-services-config__list-title {
    color: var(--ink-color);
    font-size: 0.86rem;
    font-weight: 850;
}

.professional-services-config__list-title[hidden] {
    display: none;
}

.professional-services-empty {
    background: #f7fafc;
    border: 1px dashed var(--line-color);
    border-radius: 8px;
    color: var(--muted-color);
    font-size: 0.82rem;
    margin-top: 0.75rem;
    padding: 0.85rem;
}

.professional-services-empty[hidden] {
    display: none;
}

.professional-service-category {
    border: 1px solid var(--line-color);
    border-radius: 8px;
    overflow: hidden;
}

.professional-service-category h4 {
    background: #f7fafc;
    border-bottom: 1px solid var(--line-color);
    color: var(--ink-color);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0;
    margin: 0;
    padding: 0.65rem 0.9rem;
}

.professional-service-row {
    align-items: center;
    background: var(--surface-strong);
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(0, 1fr) minmax(8rem, auto) auto;
    padding: 0.75rem 0.9rem;
}

.professional-service-row + .professional-service-row {
    border-top: 1px solid var(--line-color);
}

.professional-service-row__service span,
.professional-service-row__service small,
.professional-service-row__commission span {
    display: block;
}

.professional-service-row__service span {
    color: var(--ink-color);
    font-size: 0.88rem;
    font-weight: 750;
}

.professional-service-row__service small,
.professional-service-row__commission span {
    color: var(--muted-color);
    font-size: 0.76rem;
}

.professional-service-row__service small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}

.professional-service-row__commission {
    display: grid;
    gap: 0.25rem;
    margin: 0;
}

.professional-service-row__commission.is-disabled {
    opacity: 0.62;
}

.professional-service-row__commission input {
    min-height: 2.45rem;
    text-align: right;
}

.professional-service-row__mode {
    color: var(--ink-color);
    font-size: 0.8rem;
    font-weight: 750;
}

.professional-service-row__status {
    align-items: center;
    color: #22745f;
    display: inline-flex;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 750;
    justify-content: flex-end;
    white-space: nowrap;
}

.professional-service-row__status i.bi-sliders {
    color: #8a5a12;
}

.professional-service-row__actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.professional-service-row__edit,
.professional-service-row__remove {
    align-items: center;
    display: inline-flex;
    gap: 0.3rem;
    justify-content: center;
    white-space: nowrap;
}

.professional-service-commission-editor {
    background: #ffffff;
    border: 1px solid rgba(34, 116, 95, 0.2);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(17, 61, 72, 0.12);
    margin-top: 1rem;
    overflow: hidden;
}

.professional-service-commission-editor[hidden] {
    display: none !important;
}

.professional-service-commission-editor__header,
.professional-service-commission-editor__footer {
    align-items: center;
    background: #f7fbfa;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.1rem;
}

.professional-service-commission-editor__header {
    border-bottom: 1px solid rgba(34, 116, 95, 0.14);
}

.professional-service-commission-editor__footer {
    border-top: 1px solid rgba(34, 116, 95, 0.14);
    justify-content: flex-end;
}

.professional-service-commission-editor__body {
    padding: 1rem 1.1rem;
}

.professional-services-config__categories--modal {
    margin-bottom: 1rem;
}

.professional-add-service-selected {
    background: #fff8ec;
    border: 1px solid rgba(184, 124, 37, 0.2);
    border-radius: 8px;
    display: grid;
    gap: 0.08rem;
    margin-bottom: 0.85rem;
    padding: 0.75rem 0.85rem;
}

.professional-add-service-selected span,
.professional-add-service-selected small {
    color: var(--muted-color);
    font-size: 0.74rem;
}

.professional-add-service-selected strong {
    color: var(--ink-color);
    font-size: 0.94rem;
}

.professional-add-service-list {
    border: 1px solid var(--line-color);
    border-radius: 8px;
    max-height: min(42vh, 23rem);
    overflow: auto;
}

.professional-add-service-option {
    align-items: center;
    background: #fff;
    border: 0;
    color: var(--ink-color);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.8rem 0.9rem;
    text-align: left;
    width: 100%;
}

.professional-add-service-option + .professional-add-service-option {
    border-top: 1px solid var(--line-color);
}

.professional-add-service-option:hover,
.professional-add-service-option:focus-visible,
.professional-add-service-option.is-selected {
    background: #edf8f5;
    outline: 0;
}

.professional-add-service-option strong,
.professional-add-service-option small {
    display: block;
    min-width: 0;
}

.professional-add-service-option strong {
    font-size: 0.88rem;
    font-weight: 800;
}

.professional-add-service-option small,
.professional-add-service-option em {
    color: var(--muted-color);
    font-size: 0.76rem;
    font-style: normal;
}

body:has(.professional-reference-modal.show) .modal-backdrop.show {
    background: #061321;
    opacity: 0.76;
}

.professional-reference-modal .modal-dialog {
    height: calc(100dvh - 32px);
    margin: 16px auto;
    max-width: none;
    width: calc(100vw - 32px);
}

.professional-reference-modal .modal-content {
    background: #fff;
    border: 1px solid rgba(7, 24, 43, 0.15);
    border-radius: 8px;
    box-shadow: 0 24px 58px rgba(5, 18, 32, 0.32);
    height: 100%;
    overflow: hidden;
}

.professional-reference-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.professional-reference-hero {
    align-items: center;
    background: linear-gradient(180deg, #f6f9fc 0%, #eef3f7 100%);
    display: grid;
    flex: 0 0 auto;
    gap: 28px;
    grid-template-columns: minmax(390px, 1fr) minmax(560px, auto);
    min-height: 190px;
    padding: 24px 64px 22px 70px;
    position: relative;
}

.professional-reference-close {
    background-size: 16px;
    height: 32px;
    opacity: 1;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 32px;
    z-index: 4;
}

.professional-reference-identity {
    align-items: center;
    display: flex;
    gap: 30px;
    min-width: 0;
}

.professional-reference-photo {
    flex: 0 0 auto;
    position: relative;
}

.professional-reference-avatar {
    align-items: center;
    background: #f8fbfd;
    border: 8px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(15, 31, 48, 0.16);
    color: #5f7185;
    display: flex;
    font-size: 70px;
    height: 160px;
    justify-content: center;
    object-fit: cover;
    overflow: hidden;
    width: 160px;
}

.professional-reference-avatar--image {
    display: block;
    padding: 0;
}

.professional-reference-photo-edit,
.professional-reference-photo-remove {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(7, 24, 43, 0.12);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(15, 31, 48, 0.16);
    color: #17395c;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: absolute;
    width: 38px;
}

.professional-reference-photo-edit {
    bottom: 10px;
    right: 9px;
}

.professional-reference-photo-remove {
    bottom: 10px;
    color: #ba1a1a;
    left: 9px;
}

.professional-reference-photo-edit:hover,
.professional-reference-photo-edit:focus-visible,
.professional-reference-photo-remove:hover,
.professional-reference-photo-remove:focus-visible {
    background: #f8fbfd;
}

.professional-reference-photo-error {
    display: block;
    margin-top: 6px;
    max-width: 160px;
    text-align: center;
}

.professional-reference-person {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.professional-reference-person > strong {
    color: #061b36;
    display: block;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.08;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.professional-reference-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 750;
    gap: 8px;
    justify-self: start;
    line-height: 1;
    padding: 7px 12px;
}

.professional-reference-status.is-active {
    background: #dff8e8;
    color: #087236;
}

.professional-reference-status.is-inactive {
    background: #eef2f5;
    color: #596b7a;
}

.professional-reference-status i {
    font-size: 9px;
}

.professional-reference-role {
    align-items: center;
    color: #304860;
    display: flex;
    flex-wrap: wrap;
    font-size: 15px;
    gap: 12px;
    min-width: 0;
}

.professional-reference-role span {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    min-width: 0;
}

.professional-reference-role i {
    color: #395573;
}

.professional-reference-kpis {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(160px, 198px));
    justify-content: end;
    padding-right: 24px;
}

.professional-reference-kpi {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(207, 218, 230, 0.78);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 31, 48, 0.08);
    column-gap: 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 112px;
    padding: 15px 16px 13px;
}

.professional-reference-kpi__icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    grid-row: 1 / span 2;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.professional-reference-kpi__icon i {
    font-size: 25px;
}

.professional-reference-kpi__value {
    display: block;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.professional-reference-kpi strong {
    color: #061b36;
    display: block;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.15;
}

.professional-reference-kpi small {
    color: #40566d;
    display: block;
    font-size: 13px;
    grid-column: 1 / -1;
    line-height: 1.2;
    margin-top: 7px;
}

.professional-reference-kpi--appointments .professional-reference-kpi__icon {
    background: #c9f5fb;
    color: #126c82;
}

.professional-reference-kpi--appointments .professional-reference-kpi__value {
    color: #061b36;
}

.professional-reference-kpi--completed .professional-reference-kpi__icon {
    background: #c9f3d9;
    color: #087236;
}

.professional-reference-kpi--completed .professional-reference-kpi__value {
    color: #006b56;
}

.professional-reference-kpi--cancelled .professional-reference-kpi__icon {
    background: #ffe0e1;
    color: #ba1a1a;
}

.professional-reference-kpi--cancelled .professional-reference-kpi__value {
    color: #d10b18;
}

.professional-reference-body {
    background: #f8fafc;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 24px 0;
}

.professional-reference-grid {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.professional-profile-workspace {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: 220px minmax(0, 1fr);
}

.professional-profile-side-nav {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(15, 31, 48, 0.04);
    display: grid;
    gap: 6px;
    padding: 8px;
}

.professional-profile-side-nav button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #40566d;
    display: flex;
    font-size: 14px;
    font-weight: 850;
    gap: 10px;
    justify-content: flex-start;
    min-height: 46px;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
}

.professional-profile-side-nav button:hover,
.professional-profile-side-nav button:focus-visible {
    background: #f3f7fa;
    color: #102a43;
}

.professional-profile-side-nav button.is-active {
    background: #eaf8f3;
    color: #008a65;
}

.professional-profile-side-nav i {
    font-size: 16px;
}

.professional-profile-panels,
.professional-profile-panel {
    min-width: 0;
}

.professional-profile-panel > .professional-reference-card {
    min-height: 480px;
}

.professional-reference-card {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(15, 31, 48, 0.05);
    overflow: hidden;
}

.professional-reference-card__header {
    align-items: center;
    background: linear-gradient(180deg, #1b2b3a 0%, #111e2a 100%);
    color: #fff;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 20px;
}

.professional-reference-card__header > span {
    align-items: center;
    display: inline-flex;
    font-size: 18px;
    font-weight: 850;
    gap: 12px;
    min-width: 0;
}

.professional-reference-card__header small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 500;
    text-align: right;
}

.professional-reference-card__body {
    padding: 18px 22px 22px;
}

.professional-reference-fields {
    display: grid;
    gap: 12px;
}

.professional-reference-field {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: 140px minmax(0, 1fr);
}

.professional-reference-field > .form-label,
.professional-reference-field > span.form-label {
    align-self: center;
    color: #061b36;
    font-size: 14px;
    font-weight: 850;
    margin: 0;
    min-width: 0;
    padding-top: 1px;
}

.professional-reference-field--textarea > .form-label {
    align-self: start;
    padding-top: 10px;
}

.professional-reference-field--stacked {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr;
}

.professional-reference-field--stacked > .form-label {
    text-align: left;
}

.professional-reference-modal .form-control,
.professional-reference-modal .form-select,
.professional-reference-modal .input-group-text {
    border-color: #d7e1eb;
    border-radius: 6px;
    color: #0d1b2a;
    font-size: 15px;
    min-height: 42px;
}

.professional-reference-modal .form-control:focus,
.professional-reference-modal .form-select:focus {
    border-color: #5daeea;
    box-shadow: 0 0 0 3px rgba(61, 139, 214, 0.16);
}

.professional-reference-modal .form-control:disabled {
    background: #f2f5f8;
    color: #667789;
}

.professional-reference-modal .input-group .form-control,
.professional-reference-modal .input-group .form-select,
.professional-reference-modal .input-group .input-group-text {
    border-radius: 0;
}

.professional-reference-modal .input-group > :first-child {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.professional-reference-modal .input-group > :last-child {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.professional-reference-input .input-group-text {
    background: #f7fafc;
    color: #294a6c;
    font-weight: 800;
}

.professional-reference-input .input-group-text:first-child {
    justify-content: center;
    width: 42px;
}

.professional-phone-input .professional-phone-prefix {
    color: #0c5148;
    gap: 6px;
    justify-content: center;
    width: 92px;
}

.professional-access-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.professional-access-mode .btn,
.professional-expediente-row .btn,
.professional-password-reset {
    align-items: center;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
}

.professional-access-mode .btn {
    border-color: #bdd3ea;
    color: #0b64ce;
}

.professional-access-mode .btn-check:checked + .btn {
    background: #eaf4ff;
    border-color: #8fc2f1;
    color: #075bbd;
}

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

.professional-expediente-row .form-select {
    min-width: 0;
}

.professional-expediente-new {
    min-width: 170px;
}

.professional-password-line {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 150px;
}

.professional-password-reset:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.professional-reference-switch {
    align-items: center;
    display: flex;
    min-height: 42px;
}

.professional-reference-switch .form-check {
    align-items: center;
    display: flex;
    gap: 12px;
}

.professional-reference-switch .form-check-input {
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(10, 36, 63, 0.08);
    cursor: pointer;
    height: 32px;
    margin: 0;
    width: 62px;
}

.professional-reference-switch .form-check-input:checked {
    background-color: #008f61;
}

.professional-reference-switch .form-check-label {
    color: #102236;
    font-size: 14px;
}

.professional-reference-switch--command .form-check-label {
    display: grid;
    gap: 2px;
}

.professional-reference-switch--command .form-check-label strong {
    color: #102236;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.professional-reference-switch--command .form-check-label small {
    color: #5b6875;
    font-size: 12px;
    line-height: 1.35;
}

.professional-reference-notice {
    align-items: center;
    border-radius: 7px;
    display: flex;
    gap: 14px;
    min-height: 64px;
    padding: 12px 16px;
}

.professional-reference-notice > i {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 27px;
    height: 27px;
    justify-content: center;
    width: 27px;
}

.professional-reference-notice span,
.professional-reference-notice strong,
.professional-reference-notice small {
    display: block;
}

.professional-reference-notice strong {
    color: #14334d;
    font-size: 14px;
    font-weight: 850;
    margin-bottom: 3px;
}

.professional-reference-notice small {
    color: #38556f;
    font-size: 13px;
    line-height: 1.35;
}

.professional-reference-notice--teal {
    background: #eaf8f6;
}

.professional-reference-notice--teal > i {
    background: #008f8f;
}

.professional-reference-notice--blue {
    background: #e8f5ff;
    margin-top: 28px;
}

.professional-reference-notice--blue > i {
    background: #2585e6;
}

.professional-schedule {
    display: grid;
    gap: 18px;
}

.professional-schedule__topline,
.professional-schedule-group__head {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.professional-schedule__topline h3,
.professional-week-preview h3 {
    color: #061b36;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
    margin: 0;
}

.professional-schedule__topline p,
.professional-schedule-group__head small {
    color: #4d6480;
    font-size: 14px;
    margin: 3px 0 0;
}

.professional-schedule-toggle {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 0;
}

.professional-schedule-toggle .form-check-input {
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(10, 36, 63, 0.08);
    cursor: pointer;
    height: 32px;
    margin: 0;
    width: 62px;
}

.professional-schedule-toggle .form-check-input:checked {
    background-color: #00966c;
}

.professional-schedule-toggle .form-check-label {
    color: #102236;
    font-size: 14px;
    font-weight: 750;
}

.professional-schedule-empty {
    align-items: center;
    background: #eaf8f6;
    border-radius: 8px;
    color: #0c5148;
    display: flex;
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px;
}

.professional-schedule-empty i {
    color: #008f8f;
    font-size: 20px;
}

.professional-reference-card--schedule .professional-schedule-layout {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.professional-reference-card--schedule .professional-schedule {
    container-type: inline-size;
    min-width: 0;
}

@container (min-width: 820px) {
    .professional-reference-card--schedule .professional-schedule-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.professional-schedule-config {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.professional-schedule-group {
    display: grid;
    gap: 12px;
}

.professional-reference-card--schedule .professional-schedule-group {
    min-width: 0;
}

.professional-schedule-label {
    color: #061b36;
    display: block;
    font-size: 15px;
    font-weight: 850;
}

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

.professional-day-picker button {
    align-items: center;
    background: #f2f4f7;
    border: 0;
    border-radius: 8px;
    color: #475467;
    display: inline-flex;
    font-size: 14px;
    font-weight: 850;
    justify-content: center;
    min-height: 52px;
    padding: 0 8px;
}

.professional-reference-card--schedule .professional-day-picker button {
    min-width: 0;
}

.professional-day-picker button.is-selected {
    background: #00966c;
    color: #fff;
}

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

.professional-time-pair label,
.professional-custom-editor label {
    display: grid;
    gap: 7px;
}

.professional-reference-card--schedule .professional-time-pair label,
.professional-reference-card--schedule .professional-custom-editor label {
    min-width: 0;
}

.professional-time-pair label > span:first-child,
.professional-custom-editor label > span {
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.professional-time-input {
    display: grid;
    position: relative;
}

.professional-reference-card--schedule .professional-time-input {
    min-width: 0;
}

.professional-reference-card--schedule input[type="time"],
.professional-reference-card--schedule .professional-custom-editor .form-select {
    min-width: 0;
    width: 100%;
}

.professional-time-input i {
    color: #294a6c;
    font-size: 17px;
    left: 14px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.professional-reference-modal .professional-time-input .form-control {
    border-radius: 8px;
    min-height: 52px;
    padding-left: 42px;
}

.professional-custom-add {
    align-items: center;
    background: #fff;
    border: 1px solid #b2ccff;
    border-radius: 8px;
    color: #1570ef;
    display: inline-flex;
    font-weight: 850;
    gap: 9px;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    width: fit-content;
}

.professional-reference-card--schedule .professional-custom-add {
    max-width: 100%;
}

.professional-custom-editor {
    align-items: end;
    background: #f8fafc;
    border: 1px solid #e4ebf2;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(150px, 1.2fr) minmax(110px, 1fr) minmax(110px, 1fr) auto;
    padding: 12px;
}

.professional-reference-card--schedule .professional-custom-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
}

.professional-reference-card--schedule .professional-custom-editor label:first-child,
.professional-reference-card--schedule .professional-custom-editor .professional-schedule-error {
    grid-column: 1 / -1;
}

.professional-reference-card--schedule .professional-custom-editor .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.professional-reference-card--schedule .professional-custom-editor[hidden] {
    display: none;
}

.professional-custom-editor .btn {
    min-height: 42px;
}

.professional-schedule-error {
    min-height: 18px;
}

.professional-custom-list {
    display: grid;
    gap: 8px;
}

.professional-custom-item {
    align-items: center;
    background: #fff;
    border: 1px solid #e4ebf2;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 58px;
    padding: 10px 12px;
}

.professional-custom-item strong,
.professional-custom-item small {
    display: block;
}

.professional-custom-item strong {
    color: #102a43;
    font-size: 14px;
    font-weight: 850;
}

.professional-custom-item small {
    color: #4d6480;
    font-size: 13px;
    margin-top: 2px;
}

.professional-custom-item button {
    align-items: center;
    background: #eef2f5;
    border: 0;
    border-radius: 50%;
    color: #40566d;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

.professional-week-preview {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 18px;
}

.professional-week-preview__rows {
    display: grid;
    gap: 8px;
}

.professional-reference-card--schedule .professional-week-preview__rows {
    min-width: 0;
}

.professional-reference-card--schedule .professional-custom-item > div {
    min-width: 0;
}

.professional-reference-card--schedule .professional-custom-item button {
    flex: 0 0 32px;
}

.professional-week-row {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(120px, 1fr) auto auto;
    min-height: 48px;
    padding: 9px 10px;
}

.professional-week-row span {
    color: #344054;
    font-size: 14px;
    font-weight: 750;
    min-width: 0;
}

.professional-week-row strong {
    color: #102a43;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.professional-week-row em {
    background: #ecfdf3;
    border-radius: 999px;
    color: #027a48;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    padding: 5px 9px;
    white-space: nowrap;
}

.professional-week-row em.is-custom {
    background: #eff8ff;
    color: #175cd3;
}

.professional-week-row.is-closed strong {
    color: #98a2b3;
}

.professional-schedule-layout.is-disabled,
.professional-schedule-content.is-disabled {
    opacity: 0.62;
}

.professional-character-count {
    color: #4d6480;
    font-size: 12px;
    line-height: 1;
    margin-top: 5px;
    text-align: right;
}

.professional-user-results {
    max-height: 11rem;
    overflow-y: auto;
}

.professional-advanced-body {
    padding: 0;
}

.professional-access-tabs {
    background: #152231;
    border: 0;
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 0.9fr;
    padding: 0 8px;
}

.professional-access-tabs .nav-item {
    min-width: 0;
}

.professional-access-tabs .nav-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    font-size: 15px;
    font-weight: 850;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 0 12px;
    width: 100%;
}

.professional-access-tabs .nav-link.active {
    background: #fff;
    border-color: #4ca6ef #dfe7ef #fff;
    border-top-width: 2px;
    color: #0875df;
}

.professional-access-tabs .nav-link.disabled {
    cursor: not-allowed;
    opacity: 0.58;
    pointer-events: none;
}

.professional-advanced-content {
    padding: 16px 24px 170px;
}

.professional-services-panel {
    max-width: 100%;
}

.professional-services-panel h3 {
    color: #061b36;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
    margin: 0 0 8px;
}

.professional-services-panel p {
    color: #3c5570;
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 26px;
}

.professional-reference-footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e0e7ef;
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    min-height: 78px;
    padding: 14px 28px;
}

.professional-reference-back {
    align-items: center;
    border: 0;
    color: #2b4a68;
    display: inline-flex;
    font-weight: 600;
    gap: 10px;
    min-height: 44px;
    padding-inline: 8px;
}

.professional-reference-back:hover,
.professional-reference-back:focus-visible {
    color: #0b64ce;
}

.professional-reference-footer__actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.professional-reference-footer .btn {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    min-width: 124px;
}

.professional-reference-save {
    background: #006f60;
    border-color: #006f60;
    box-shadow: 0 8px 16px rgba(0, 111, 96, 0.18);
    color: #fff;
    min-width: 190px;
}

.professional-reference-save:hover,
.professional-reference-save:focus-visible {
    background: #005f52;
    border-color: #005f52;
    color: #fff;
}

@media (min-width: 992px) {
    .professional-reference-modal .modal-dialog {
        height: calc(100dvh - 32px);
        width: calc(100vw - 32px);
    }
}

@media (max-width: 1399.98px) {
    .professional-reference-hero {
        gap: 22px;
        grid-template-columns: minmax(360px, 1fr) minmax(480px, auto);
        padding-left: 48px;
        padding-right: 42px;
    }

    .professional-reference-kpis {
        grid-template-columns: repeat(3, minmax(145px, 1fr));
        padding-right: 18px;
    }

    .professional-reference-field {
        grid-template-columns: 128px minmax(0, 1fr);
    }
}

@media (max-width: 1199.98px) {
    .professional-reference-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 24px 42px 20px;
    }

    .professional-reference-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
        padding-right: 0;
    }
}

@media (max-width: 991.98px) {
    .professional-profile-workspace {
        grid-template-columns: 1fr;
    }

    .professional-profile-side-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .professional-profile-side-nav button {
        justify-content: center;
        text-align: center;
    }

    .professional-reference-grid {
        grid-template-columns: 1fr;
    }

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

    .professional-advanced-content {
        padding-bottom: 48px;
    }
}

@media (max-width: 767.98px) {
    .professional-reference-modal .modal-dialog {
        height: 100dvh;
        margin: 0;
        width: 100vw;
    }

    .professional-reference-modal .modal-content {
        border: 0;
        border-radius: 0;
    }

    .professional-reference-hero {
        padding: calc(18px + env(safe-area-inset-top)) 16px 16px;
    }

    .professional-reference-identity {
        align-items: center;
        gap: 16px;
    }

    .professional-reference-avatar {
        border-width: 6px;
        font-size: 46px;
        height: 112px;
        width: 112px;
    }

    .professional-reference-photo-edit,
    .professional-reference-photo-remove {
        height: 32px;
        width: 32px;
    }

    .professional-reference-person > strong {
        font-size: 24px;
        white-space: normal;
    }

    .professional-reference-role {
        font-size: 13px;
        gap: 8px;
    }

    .professional-reference-kpis {
        gap: 8px;
        grid-template-columns: 1fr;
    }

    .professional-reference-kpi {
        min-height: 82px;
    }

    .professional-reference-body {
        padding: 12px 12px 0;
    }

    .professional-reference-card__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        justify-content: center;
        min-height: 62px;
        padding: 9px 14px;
    }

    .professional-reference-card__header > span {
        font-size: 16px;
    }

    .professional-reference-card__header small {
        text-align: left;
    }

    .professional-reference-card__body,
    .professional-advanced-content {
        padding: 14px;
    }

    .professional-profile-side-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .professional-profile-side-nav button {
        font-size: 13px;
        min-height: 44px;
        padding: 8px;
    }

    .professional-reference-field {
        gap: 6px;
        grid-template-columns: 1fr;
    }

    .professional-reference-field > .form-label,
    .professional-reference-field > span.form-label {
        text-align: left;
    }

    .professional-expediente-row,
    .professional-password-line {
        grid-template-columns: 1fr;
    }

    .professional-expediente-new,
    .professional-password-reset {
        width: 100%;
    }

    .professional-access-tabs {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .professional-access-tabs .nav-link {
        border-radius: 7px;
        min-height: 44px;
    }

    .professional-schedule__topline,
    .professional-schedule-group__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .professional-day-picker {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .professional-time-pair,
    .professional-custom-editor {
        grid-template-columns: 1fr;
    }

    .professional-reference-card--schedule .professional-time-pair,
    .professional-reference-card--schedule .professional-custom-editor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .professional-reference-card--schedule .professional-time-input i {
        display: none;
    }

    .professional-reference-card--schedule .professional-time-input .form-control {
        padding-left: 12px;
    }

    .professional-custom-add {
        width: 100%;
    }

    .professional-week-preview {
        padding: 14px;
    }

    .professional-week-row {
        grid-template-columns: 1fr auto;
    }

    .professional-week-row em {
        justify-self: start;
    }

    .professional-reference-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        min-height: auto;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }

    .professional-reference-footer__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .professional-reference-footer .btn,
    .professional-reference-save {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .professional-page-heading,
    .professional-services-config__head,
    .professional-sheet__identity,
    .professional-toggle-line {
        align-items: stretch;
        flex-direction: column;
    }

    .professional-page-heading > .d-flex {
        width: 100%;
    }

    .professional-page-heading .btn {
        flex: 1 1 0;
    }

    .professional-services-config__add,
    .professional-services-config__reset {
        width: 100%;
    }

    .professional-service-selector__grid {
        grid-template-columns: 1fr;
    }

    .professional-service-selector__item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .professional-service-selector__item em {
        grid-column: 2;
        justify-self: start;
    }

    .professional-default-commission,
    .professional-service-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .professional-service-row__status {
        justify-content: flex-start;
    }

    .professional-service-row__actions,
    .professional-service-row__edit,
    .professional-service-row__remove {
        width: 100%;
    }

    .professional-service-row__actions {
        justify-content: stretch;
    }

    .professional-service-row__actions .btn {
        flex: 1 1 0;
    }

    .professional-add-service-option {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .professional-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-inline: 0.75rem;
    }

    .professional-tabs .nav-link {
        white-space: nowrap;
    }

    .professional-profile-modal .modal-body,
    .professional-tab-content,
    .professional-sheet__identity {
        padding: 1rem;
    }

    .professional-vales__heading,
    .professional-vales__history-header {
        align-items: stretch;
        flex-direction: column;
    }

    .professional-vales__heading .btn {
        width: 100%;
    }

    .professional-vales__summary,
    .professional-vales__metrics {
        grid-template-columns: 1fr;
    }

    .admin-vales-header,
    .admin-vales-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-vales-header .btn,
    .admin-vales-filter__actions .btn,
    .admin-vales-filter__actions a,
    .admin-vales-pagination .btn-group,
    .admin-vales-pagination .btn {
        width: 100%;
    }

    .admin-vales-filter {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-vales-filter__actions,
    .admin-vales-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-vales-card__actions .btn {
        width: 100%;
    }

    .professional-reference-card__header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .professional-reference-card__header-actions .btn {
        width: 100%;
    }

    .professional-photo-editor-modal .modal-dialog {
        margin: 0;
        max-width: none;
    }

    .professional-photo-editor-modal .modal-content {
        border: 0;
        border-radius: 0;
        min-height: 100dvh;
    }

    .professional-photo-editor-modal .modal-body {
        grid-template-rows: minmax(0, 1fr) auto;
        min-height: 0;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .professional-photo-editor__stage {
        max-height: none;
        min-height: 0;
    }

    .professional-photo-editor__groups {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .ma-booking-modal .modal-dialog {
        margin: 1.75rem auto;
    }

    .ma-booking-modal .modal-header,
    .ma-booking-modal .modal-body {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .ma-booking-primary {
        width: auto;
        min-width: 240px;
    }
}

/* Keep refresh rules above legacy home overrides in the cascade. */
.ma-refresh-home .ma-section-head .ma-section-action {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--ma-refresh-line);
    border-radius: 999px;
    color: var(--ma-refresh-ink);
    display: inline-flex;
    font-weight: 900;
    gap: 9px;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    text-align: center;
}

.ma-refresh-home .ma-contact-actions button {
    align-items: center;
    background: linear-gradient(135deg, var(--ma-refresh-primary), var(--ma-refresh-primary-dark));
    border: 0;
    color: #fff;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 50px;
    padding: 0 16px;
}

.ma-refresh-home .ma-contact-actions a {
    border-radius: 8px;
}

/* Desktop/mobile polish for the public site refresh. */
.public-layout:has(.ma-refresh-home) {
    background: #251f1b;
}

.public-layout > main.container:has(.ma-refresh-home) {
    max-width: none;
    padding: 0 !important;
}

.ma-refresh-home.ma-home,
.ma-refresh-home.ma-premium-home {
    min-height: auto;
    padding-bottom: 0;
}

.ma-refresh-home .container-xxl {
    max-width: 1180px;
}

.ma-refresh-home .ma-site-header {
    padding-inline: max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.ma-refresh-home .ma-services-section {
    padding-bottom: clamp(34px, 5vw, 58px);
    padding-top: clamp(34px, 5vw, 58px);
}

.ma-refresh-home .ma-service-grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.ma-refresh-home .ma-public-service {
    min-height: 0;
    padding: 0;
}

.ma-refresh-home .ma-public-service > img {
    aspect-ratio: 1.6 / 1;
}

.ma-refresh-home .ma-public-service > div,
.ma-refresh-home .ma-public-service h3,
.ma-refresh-home .ma-public-service p,
.ma-refresh-home .ma-public-service dl,
.ma-refresh-home .ma-public-service button {
    margin-left: 14px;
    margin-right: 14px;
}

.ma-refresh-home .ma-public-service p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.ma-refresh-home .ma-public-service dl {
    margin-bottom: 0.9rem;
    margin-top: 0;
}

.ma-refresh-home .ma-public-service button {
    margin-bottom: 14px;
    min-height: 44px;
}

.ma-refresh-home .ma-difference-section,
.ma-refresh-home .ma-contact-section {
    padding-bottom: clamp(24px, 4vw, 46px);
    padding-top: clamp(24px, 4vw, 46px);
}

.ma-refresh-home .ma-difference-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.ma-refresh-home .ma-difference-grid article {
    padding: 16px;
}

.ma-refresh-home .ma-difference-grid h3 {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.ma-refresh-home .ma-difference-grid p {
    font-size: 0.9rem;
    line-height: 1.45;
}

.ma-refresh-home .ma-modern-footer {
    margin: 0;
    padding: clamp(34px, 5vw, 54px) max(20px, calc((100vw - 1180px) / 2 + 20px)) 18px;
}

.ma-refresh-home .ma-modern-footer .container-fluid,
.ma-refresh-home .ma-modern-footer .row,
.ma-refresh-home .ma-modern-footer .row > * {
    display: revert;
}

.ma-refresh-home .ma-modern-footer .row {
    display: flex;
}

.ma-refresh-home .ma-modern-footer .ma-brand {
    display: grid;
}

.ma-refresh-home .ma-modern-footer nav {
    display: grid;
}

.ma-refresh-home .ma-modern-footer p,
.ma-refresh-home .ma-modern-footer a {
    font-size: 0.95rem;
}

.ma-refresh-home .ma-footer-cta {
    background: #e6c188;
    border-radius: 999px;
    color: #251f1b;
    min-height: 46px;
}

.ma-refresh-home .ma-footer-bottom {
    display: flex;
}

@media (min-width: 992px) {
    .ma-refresh-home .ma-simple-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
        min-height: 620px;
    }

    .ma-refresh-home .ma-premium-hero h1 {
        font-size: clamp(4.2rem, 6vw, 5.9rem);
    }

    .ma-refresh-home .ma-simple-hero__photo {
        max-height: 520px;
    }

    .ma-refresh-home .ma-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .ma-refresh-home .ma-service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ma-refresh-home .ma-site-header {
        padding-inline: 16px;
    }

    .ma-refresh-home .ma-simple-hero {
        padding-inline: 16px;
    }

    .ma-refresh-home .ma-modern-footer {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
        padding-inline: 16px;
    }

    .ma-refresh-home .ma-modern-footer .row {
        row-gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .ma-refresh-home .ma-premium-hero h1 {
        font-size: 3rem;
    }

    .ma-refresh-home .ma-trust-list li {
        border-radius: 12px;
        width: 100%;
    }
}

/* Premium editorial rebrand aligned to the visual reference. */
.ma-refresh-home {
    --ma-color-primary: #b6843e;
    --ma-color-secondary: #d8b779;
    --ma-color-bg: #fbf7f0;
    --ma-color-bg-alt: #f3eadf;
    --ma-color-text: #2b241d;
    --ma-color-muted: #6f665d;
    --ma-color-border: rgba(185, 151, 103, 0.28);
    --ma-color-accent: #b6843e;
    --ma-refresh-bg: #fbf7f0;
    --ma-refresh-surface: rgba(255, 255, 255, 0.88);
    --ma-refresh-surface-soft: #f6efe6;
    --ma-refresh-ink: #2b241d;
    --ma-refresh-muted: #6f665d;
    --ma-refresh-line: rgba(185, 151, 103, 0.25);
    --ma-refresh-primary: #b6843e;
    --ma-refresh-primary-dark: #8f642d;
    --ma-refresh-accent: #c9a46a;
    --ma-font-title: "Playfair Display", Georgia, "Times New Roman", serif;
    --ma-font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    background:
        linear-gradient(90deg, rgba(251, 247, 240, 0.98) 0%, rgba(251, 247, 240, 0.9) 48%, rgba(251, 247, 240, 0.56) 100%),
        radial-gradient(circle at 84% 18%, rgba(214, 184, 133, 0.32), transparent 28rem),
        #fbf7f0;
}

.ma-refresh-home .ma-site-header {
    background: rgba(251, 247, 240, 0.72);
    border-bottom: 0;
    box-shadow: none;
    min-height: 96px;
}

.ma-refresh-home .ma-brand {
    grid-template-columns: 78px auto;
}

.ma-refresh-home .ma-brand__mark {
    background: transparent;
    color: var(--ma-refresh-primary);
    font-family: var(--ma-font-title);
    font-size: 54px;
    height: 66px;
    letter-spacing: -0.04em;
    width: 78px;
}

.ma-refresh-home .ma-brand strong {
    font-family: var(--ma-font-title);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ma-refresh-home .ma-brand small {
    color: var(--ma-refresh-primary);
    font-size: 11px;
    letter-spacing: 0.44em;
    text-transform: uppercase;
}

.ma-refresh-home .ma-site-nav {
    background: transparent;
    box-shadow: none;
}

.ma-refresh-home .ma-site-nav a {
    color: #24201d;
    font-weight: 500;
}

.ma-refresh-home .ma-site-nav a:first-child {
    color: var(--ma-refresh-primary);
    position: relative;
}

.ma-refresh-home .ma-site-nav a:first-child::after {
    background: var(--ma-refresh-primary);
    bottom: 4px;
    content: "";
    height: 1px;
    left: 18px;
    position: absolute;
    right: 18px;
}

.ma-refresh-home .ma-site-nav button,
.ma-refresh-home .ma-btn--primary,
.ma-refresh-home .ma-mobile-cta button,
.ma-refresh-home .ma-public-service button,
.ma-refresh-home .ma-hero-card button,
.ma-contact-actions button,
.ma-booking-primary {
    background: linear-gradient(180deg, #c39655, #a97832);
    border: 1px solid rgba(143, 100, 45, 0.24);
    box-shadow: 0 18px 32px rgba(117, 79, 32, 0.18);
    color: #fff;
}

.ma-refresh-home .ma-reference-hero {
    gap: clamp(26px, 4vw, 56px);
    max-width: 1280px;
    min-height: 660px;
    padding-bottom: 24px;
    padding-top: clamp(42px, 6vw, 72px);
}

.ma-refresh-home .ma-premium-hero h1,
.ma-refresh-home .ma-section-head h2,
.ma-refresh-home .ma-contact-section h2,
.ma-space-editorial h2 {
    font-family: var(--ma-font-title);
    font-weight: 600;
    letter-spacing: 0;
}

.ma-refresh-home .ma-premium-hero h1 {
    font-size: clamp(4.1rem, 8.4vw, 6.8rem);
    line-height: 0.96;
}

.ma-refresh-home .ma-premium-hero h1::after {
    background: var(--ma-refresh-primary);
    content: "";
    display: block;
    height: 1px;
    margin-top: 28px;
    width: 48px;
}

.ma-refresh-home .ma-eyebrow {
    color: var(--ma-refresh-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.ma-refresh-home .ma-simple-hero__photo {
    aspect-ratio: 0.98 / 1;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 520px;
}

.ma-refresh-home .ma-simple-hero__photo::before {
    background: linear-gradient(90deg, rgba(251, 247, 240, 0.15), transparent 28%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.ma-refresh-home .ma-simple-hero__photo::after {
    background: radial-gradient(circle at 50% 54%, transparent 0 46%, rgba(251, 247, 240, 0.7) 88%);
    z-index: 1;
}

.ma-refresh-home .ma-simple-hero__photo img {
    filter: saturate(0.88) contrast(0.96) brightness(1.04);
}

.ma-refresh-home .ma-hero-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    bottom: 56px;
    box-shadow: 0 24px 60px rgba(79, 58, 35, 0.12);
    display: grid;
    justify-items: center;
    left: auto;
    padding: 34px 28px 22px;
    right: 0;
    text-align: center;
    width: min(360px, 88%);
    z-index: 2;
}

.ma-refresh-home .ma-hero-card i {
    background: linear-gradient(180deg, #c39655, #a97832);
    border-radius: 50%;
    color: #fff;
    display: grid;
    height: 48px;
    margin-top: -58px;
    place-items: center;
    width: 48px;
}

.ma-refresh-home .ma-hero-card strong {
    font-family: var(--ma-font-title);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.12;
    max-width: 260px;
}

.ma-refresh-home .ma-hero-card small {
    color: #5f564e;
}

.ma-refresh-home .ma-hero-card button {
    border-radius: 7px;
    margin-top: 8px;
    min-height: 48px;
    width: 100%;
}

.ma-refresh-home .ma-btn,
.ma-refresh-home .ma-public-service button,
.ma-inline-cta button {
    border-radius: 7px;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ma-refresh-home .ma-btn--secondary,
.ma-refresh-home .ma-section-head .ma-section-action {
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(166, 117, 55, 0.45);
    box-shadow: none;
    color: #4a3b2d;
}

.ma-refresh-home .ma-trust-list {
    gap: clamp(14px, 3vw, 34px);
    margin-top: 34px;
}

.ma-refresh-home .ma-trust-list li {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #4d4741;
    padding: 0;
}

.ma-refresh-home .ma-trust-list i,
.ma-refresh-home .ma-public-service i,
.ma-refresh-home .ma-difference-grid i {
    background: transparent;
    color: var(--ma-refresh-primary);
    font-size: 2.1rem;
}

.ma-inline-cta {
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 215, 202, 0.86);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(78, 62, 43, 0.08);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px clamp(18px, 4vw, 42px);
}

.ma-inline-cta > div {
    align-items: center;
    display: flex;
    gap: 18px;
    min-width: 0;
}

.ma-inline-cta > div > i {
    background: #f4eadb;
    border-radius: 50%;
    color: var(--ma-refresh-primary);
    display: grid;
    flex: 0 0 64px;
    font-size: 1.6rem;
    height: 64px;
    place-items: center;
    width: 64px;
}

.ma-inline-cta img {
    border-radius: 50%;
    flex: 0 0 76px;
    height: 76px;
    object-fit: cover;
    width: 76px;
}

.ma-inline-cta span {
    display: grid;
    gap: 3px;
}

.ma-inline-cta strong {
    color: var(--ma-refresh-ink);
    font-family: var(--ma-font-title);
    font-size: 1.25rem;
    font-weight: 600;
}

.ma-inline-cta small {
    color: var(--ma-refresh-muted);
}

.ma-inline-cta button {
    align-items: center;
    background: linear-gradient(180deg, #c39655, #a97832);
    border: 0;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 0 34px;
}

.ma-centered-head {
    margin-inline: auto;
    text-align: center;
}

.ma-refresh-home .ma-section-head h2 {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.ma-refresh-home .ma-services-section {
    padding-top: 34px;
}

.ma-refresh-home .ma-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ma-refresh-home .ma-public-service {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-height: 245px;
    padding: 20px 18px 0;
    text-align: center;
}

.ma-refresh-home .ma-public-service + .ma-public-service {
    border-left: 1px solid rgba(185, 151, 103, 0.22);
}

.ma-refresh-home .ma-public-service > div,
.ma-refresh-home .ma-public-service h3,
.ma-refresh-home .ma-public-service p,
.ma-refresh-home .ma-public-service button {
    margin-left: auto;
    margin-right: auto;
}

.ma-refresh-home .ma-public-service h3 {
    font-family: var(--ma-font-body);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 18px;
    text-transform: uppercase;
}

.ma-refresh-home .ma-public-service p {
    color: var(--ma-refresh-muted);
    font-size: 0.9rem;
    max-width: 220px;
}

.ma-refresh-home .ma-public-service button {
    background: transparent;
    border: 1px solid rgba(166, 117, 55, 0.42);
    box-shadow: none;
    color: #3d3025;
    display: inline-flex;
    gap: 8px;
    min-height: 42px;
    padding: 0 24px;
    width: auto;
}

.ma-services-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.ma-space-editorial {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: clamp(28px, 5vw, 58px);
    padding-top: clamp(28px, 5vw, 58px);
}

.ma-space-editorial img {
    border-radius: 14px;
    box-shadow: 0 22px 56px rgba(78, 62, 43, 0.11);
    height: 100%;
    min-height: 290px;
    object-fit: cover;
    width: 100%;
}

.ma-space-editorial > div {
    align-self: stretch;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(78, 62, 43, 0.07);
    display: grid;
    justify-items: start;
    padding: clamp(26px, 5vw, 48px);
}

.ma-space-editorial h2 {
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    line-height: 1.04;
}

.ma-space-editorial p:not(.ma-eyebrow) {
    color: var(--ma-refresh-muted);
    line-height: 1.65;
    max-width: 520px;
}

.ma-refresh-home .ma-difference-section {
    padding-top: 18px;
}

.ma-refresh-home .ma-difference-section .container-xxl,
.ma-refresh-home .ma-contact-section .container-xxl {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.ma-refresh-home .ma-difference-grid article {
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(185, 151, 103, 0.2);
    box-shadow: none;
}

.ma-refresh-home .ma-contact-section {
    background: rgba(255, 255, 255, 0.36);
    border-top: 1px solid rgba(185, 151, 103, 0.16);
}

.ma-refresh-home .ma-modern-footer {
    background: #f7f1e8;
    border-top: 1px solid rgba(185, 151, 103, 0.2);
    color: var(--ma-refresh-ink);
}

.ma-refresh-home .ma-modern-footer .ma-footer-brand,
.ma-refresh-home .ma-modern-footer h2,
.ma-refresh-home .ma-modern-footer a:hover,
.ma-refresh-home .ma-modern-footer a:focus-visible {
    color: var(--ma-refresh-ink);
}

.ma-refresh-home .ma-modern-footer .ma-footer-brand span {
    background: transparent;
    color: var(--ma-refresh-primary);
}

.ma-refresh-home .ma-modern-footer p,
.ma-refresh-home .ma-modern-footer a,
.ma-refresh-home .ma-footer-bottom span {
    color: var(--ma-refresh-muted);
}

.ma-refresh-home .ma-footer-bottom {
    border-top-color: rgba(185, 151, 103, 0.2);
}

.ma-booking-modal {
    --booking-action: #b6843e;
    --booking-panel: #fbf7f0;
    --booking-line: rgba(185, 151, 103, 0.26);
    --booking-ink: #2b241d;
    --booking-muted: #6f665d;
}

.ma-booking-modal .modal-content,
.ma-booking-modal .modal-header {
    background: rgba(251, 247, 240, 0.98);
}

.ma-booking-modal .modal-title,
.ma-booking-modal__step h3 {
    font-family: var(--ma-font-title);
    font-weight: 600;
}

.ma-booking-wizard li.is-active span,
.ma-booking-dates button.is-selected,
.ma-booking-slots button.is-selected,
.ma-booking-modal__success > i {
    background: var(--booking-action);
    border-color: var(--booking-action);
}

.ma-booking-option:hover,
.ma-booking-option.is-selected {
    border-color: var(--booking-action);
    box-shadow: 0 14px 34px rgba(117, 79, 32, 0.12);
}

.ma-booking-option span {
    color: var(--booking-action);
}

@media (min-width: 992px) {
    .ma-refresh-home .ma-reference-hero {
        grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.92fr);
    }

    .ma-space-editorial {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    }
}

@media (max-width: 991.98px) {
    .ma-refresh-home .ma-site-header {
        min-height: 76px;
    }

    .ma-refresh-home .ma-brand {
        grid-template-columns: 56px auto;
    }

    .ma-refresh-home .ma-brand__mark {
        font-size: 40px;
        height: 50px;
        width: 56px;
    }

    .ma-refresh-home .ma-site-nav {
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
    }

    .ma-inline-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .ma-inline-cta button {
        width: 100%;
    }

    .ma-refresh-home .ma-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ma-refresh-home .ma-public-service:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .ma-refresh-home .ma-premium-hero h1 {
        font-size: clamp(3.2rem, 16vw, 4.1rem);
    }

    .ma-refresh-home .ma-simple-hero__photo {
        min-height: 420px;
    }

    .ma-refresh-home .ma-hero-card {
        bottom: 18px;
        right: 50%;
        transform: translateX(50%);
    }

    .ma-refresh-home .ma-service-grid {
        grid-template-columns: 1fr;
    }

    .ma-refresh-home .ma-public-service,
    .ma-refresh-home .ma-public-service + .ma-public-service {
        border-left: 0;
        border-top: 1px solid rgba(185, 151, 103, 0.2);
    }
}

/* Premium booking configurator */
.ma-booking-modal {
    --booking-champagne: #f4eadb;
    --booking-ivory: #fffaf3;
    --booking-gold: #b6843e;
    --booking-bronze: #8f642d;
    --booking-coffee: #2b241d;
    --booking-warm: #74685e;
}

.ma-booking-modal .modal-dialog {
    max-width: min(1200px, calc(100vw - 32px));
}

.ma-booking-modal .modal-content {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(248, 241, 230, 0.98));
    border: 1px solid rgba(182, 132, 62, 0.2);
    border-radius: 18px;
    box-shadow: 0 34px 90px rgba(43, 36, 29, 0.24);
}

.ma-booking-modal .modal-header {
    align-items: flex-start;
    background: transparent;
    border-bottom: 0;
    padding: clamp(24px, 4vw, 42px) clamp(22px, 4vw, 46px) 10px;
}

.ma-booking-modal .modal-title {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 0.98;
}

.ma-booking-modal__eyebrow,
.ma-booking-step-kicker {
    color: var(--booking-gold);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.ma-booking-modal .btn-close {
    background-color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(182, 132, 62, 0.18);
    box-shadow: 0 12px 28px rgba(43, 36, 29, 0.1);
}

.ma-booking-modal .modal-body {
    padding: 10px clamp(18px, 4vw, 46px) clamp(24px, 4vw, 44px);
}

.ma-booking-wizard--premium {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 0 clamp(22px, 3vw, 34px);
    overflow: visible;
    padding: 0;
}

.ma-booking-wizard--premium li {
    align-items: center;
    background: transparent;
    color: var(--booking-warm);
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 0;
    position: relative;
}

.ma-booking-wizard--premium li::before {
    background: rgba(182, 132, 62, 0.26);
    content: "";
    height: 1px;
    left: -50%;
    position: absolute;
    top: 14px;
    width: 100%;
}

.ma-booking-wizard--premium li:first-child::before {
    content: none;
}

.ma-booking-wizard--premium span {
    background: var(--booking-ivory);
    border: 1px solid rgba(182, 132, 62, 0.32);
    color: var(--booking-warm);
    height: 28px;
    position: relative;
    width: 28px;
    z-index: 1;
}

.ma-booking-wizard--premium li.is-active span {
    background: var(--booking-gold);
    border-color: var(--booking-gold);
    box-shadow: 0 0 0 6px rgba(182, 132, 62, 0.1);
    color: #fff;
}

.ma-booking-wizard--premium b {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
}

.ma-booking-step-hero {
    max-width: 760px;
}

.ma-booking-step-hero h3 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.ma-booking-step-hero p {
    max-width: 620px;
}

.ma-booking-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.ma-booking-trust li {
    align-items: center;
    color: var(--booking-warm);
    display: inline-flex;
    font-size: 0.88rem;
    gap: 6px;
}

.ma-booking-trust i {
    color: var(--booking-gold);
}

.ma-booking-catalog-tools {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.ma-booking-search {
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(182, 132, 62, 0.22);
    border-radius: 999px;
    display: flex;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
}

.ma-booking-search:focus-within {
    border-color: var(--booking-gold);
    box-shadow: 0 0 0 4px rgba(182, 132, 62, 0.1);
}

.ma-booking-search i {
    color: var(--booking-gold);
}

.ma-booking-search input {
    background: transparent;
    border: 0;
    color: var(--booking-coffee);
    flex: 1;
    min-width: 0;
    outline: 0;
}

.ma-booking-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ma-booking-category-chips button {
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(182, 132, 62, 0.22);
    border-radius: 999px;
    color: var(--booking-warm);
    font-size: 0.82rem;
    font-weight: 800;
    min-height: 38px;
    padding: 0 14px;
}

.ma-booking-category-chips button.is-selected {
    background: var(--booking-coffee);
    border-color: var(--booking-coffee);
    color: #fffaf3;
}

.ma-booking-modal__grid--services {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ma-booking-service-card {
    align-items: stretch;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(182, 132, 62, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(43, 36, 29, 0.07);
    display: grid;
    grid-template-columns: minmax(128px, 35%) minmax(0, 1fr) 42px;
    min-height: 178px;
    overflow: hidden;
    padding: 0;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.ma-booking-service-card:hover,
.ma-booking-service-card:focus-visible {
    border-color: var(--booking-gold);
    box-shadow: 0 24px 54px rgba(92, 66, 36, 0.16);
    transform: translateY(-3px);
}

.ma-booking-service-card.is-selected {
    background: linear-gradient(180deg, rgba(244, 234, 219, 0.92), rgba(255, 250, 243, 0.96));
    border-color: var(--booking-gold);
}

.ma-booking-service-card__media {
    background: var(--booking-champagne);
    border-radius: 0;
    display: block;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.ma-booking-service-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
    width: 100%;
}

.ma-booking-service-card:hover .ma-booking-service-card__media img,
.ma-booking-service-card:focus-visible .ma-booking-service-card__media img {
    transform: scale(1.02);
}

.ma-booking-service-card__content {
    align-content: center;
    background: transparent;
    color: var(--booking-coffee);
    display: grid;
    gap: 8px;
    height: 100%;
    padding: 20px;
    width: 100%;
}

.ma-booking-service-card__category {
    color: var(--booking-gold);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ma-booking-service-card strong {
    font-family: var(--ma-font-title);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 600;
    line-height: 1.08;
}

.ma-booking-service-card small {
    color: var(--booking-warm);
    font-size: 0.9rem;
    line-height: 1.45;
}

.ma-booking-service-card__meta {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 4px;
}

.ma-booking-service-card__meta span {
    align-items: center;
    background: transparent;
    color: var(--booking-warm);
    display: inline-flex;
    font-size: 0.84rem;
    gap: 6px;
    height: auto;
    width: auto;
}

.ma-booking-service-card__meta b {
    color: var(--booking-bronze);
    font-size: 1rem;
    white-space: nowrap;
}

.ma-booking-service-card__action {
    align-items: center;
    background: transparent;
    color: var(--booking-gold);
    display: flex;
    height: 100%;
    justify-content: center;
    width: 42px;
}

.ma-booking-service-card.is-selected .ma-booking-service-card__action i {
    background: var(--booking-gold);
    border-radius: 50%;
    color: #fff;
    display: grid;
    height: 28px;
    place-items: center;
    width: 28px;
}

@media (max-width: 991.98px) {
    .ma-booking-modal .modal-dialog {
        max-width: 90vw;
    }
}

@media (max-width: 767.98px) {
    .ma-booking-modal__grid--services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .ma-booking-modal .modal-dialog {
        max-width: none;
    }

    .ma-booking-modal .modal-header {
        padding: calc(18px + env(safe-area-inset-top)) 18px 8px;
    }

    .ma-booking-wizard--premium {
        margin-bottom: 22px;
    }

    .ma-booking-wizard--premium b {
        display: none;
    }

    .ma-booking-service-card {
        grid-template-columns: 38% minmax(0, 1fr) 38px;
        min-height: 160px;
    }

    .ma-booking-service-card__content {
        padding: 16px 12px;
    }

    .ma-booking-service-card strong {
        font-size: 1.14rem;
    }

    .ma-booking-service-card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Bootstrap-first booking modal rebrand */
.ma-booking-modal {
    --bs-primary: var(--ma-color-primary);
    --bs-primary-rgb: 182, 132, 62;
    --booking-action: var(--ma-color-primary);
    --booking-line: rgba(185, 151, 103, 0.24);
    --booking-ink: var(--ma-color-text);
    --booking-muted: var(--ma-color-muted);
}

.ma-booking-modal .modal-dialog {
    max-width: min(1080px, calc(100vw - 24px));
}

.ma-booking-modal .modal-content {
    background: #fff;
    border: 1px solid var(--booking-line);
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(43, 36, 29, 0.18);
}

.ma-booking-modal .modal-header {
    background: #fff;
    padding: 1.5rem 1.5rem 0;
}

.ma-booking-modal .modal-title,
.ma-booking-modal__step h3 {
    color: var(--booking-ink);
    font-family: var(--ma-font-body);
    font-weight: 800;
}

.ma-booking-modal .modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.ma-booking-badge {
    background: rgba(182, 132, 62, 0.12);
    color: var(--ma-color-primary);
}

.ma-booking-modal .btn-primary,
.ma-booking-modal .btn-outline-primary:hover,
.ma-booking-modal .btn-outline-primary:focus-visible,
.ma-booking-primary {
    background-color: var(--ma-color-primary);
    border-color: var(--ma-color-primary);
    box-shadow: none;
    color: #fff;
}

.ma-booking-modal .btn-outline-primary {
    border-color: rgba(182, 132, 62, 0.5);
    color: var(--ma-color-primary);
}

.ma-booking-modal .form-control:focus {
    border-color: rgba(182, 132, 62, 0.65);
    box-shadow: 0 0 0 0.25rem rgba(182, 132, 62, 0.16);
}

.ma-booking-progress .progress {
    background: #f1ebe3;
    height: 0.45rem;
}

.ma-booking-progress .progress-bar {
    background-color: var(--ma-color-primary);
    transition: width 180ms ease;
}

.ma-booking-wizard--bootstrap {
    background: transparent;
    border: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.ma-booking-wizard--bootstrap li {
    align-items: center;
    color: var(--booking-muted);
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0;
}

.ma-booking-wizard--bootstrap span {
    align-items: center;
    background: #f8f5f1;
    border: 1px solid var(--booking-line);
    border-radius: 50%;
    color: var(--booking-muted);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.ma-booking-wizard--bootstrap li.is-active {
    color: var(--ma-color-primary);
}

.ma-booking-wizard--bootstrap li.is-active span {
    background: var(--ma-color-primary);
    border-color: var(--ma-color-primary);
    color: #fff;
}

.ma-booking-wizard--bootstrap b {
    display: block;
    font-size: 0.82rem;
}

.ma-booking-catalog-tools {
    display: flex;
}

.ma-booking-category-chips {
    gap: 0.5rem;
}

.ma-booking-modal__grid--services {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ma-booking-service-card {
    background: #fff;
    border: 1px solid var(--booking-line);
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(43, 36, 29, 0.06);
    color: var(--booking-ink);
    display: flex;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ma-booking-service-card:hover,
.ma-booking-service-card:focus-visible {
    border-color: var(--ma-color-primary);
    box-shadow: 0 0.75rem 1.75rem rgba(43, 36, 29, 0.11);
    transform: translateY(-2px);
}

.ma-booking-service-card.is-selected {
    background: rgba(182, 132, 62, 0.06);
    border-color: var(--ma-color-primary);
}

.ma-booking-service-card .card-img-top {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.ma-booking-service-card .card-body {
    color: var(--booking-ink);
    padding: 1rem;
}

.ma-booking-service-card b,
.ma-booking-service-check {
    color: var(--ma-color-primary);
}

.ma-booking-service-card .badge {
    color: var(--booking-muted);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .ma-booking-modal__grid--services {
        grid-template-columns: 1fr;
    }

    .ma-booking-wizard--bootstrap b {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .ma-booking-modal .modal-dialog {
        height: 100dvh;
        margin: 0;
        max-width: none;
    }

    .ma-booking-modal .modal-content {
        border: 0;
        border-radius: 0;
        min-height: 100dvh;
    }

    .ma-booking-modal .modal-header {
        padding: calc(1rem + env(safe-area-inset-top)) 1rem 0;
    }

    .ma-booking-modal .modal-body {
        padding: 1rem;
    }
}

/* Reservation-experience rebrand */
.ma-booking-modal {
    --booking-soft-bg: #fbf7f0;
    --booking-card-bg: #fffdf9;
    --booking-line-strong: rgba(182, 132, 62, 0.34);
}

.ma-booking-modal .modal-dialog {
    max-width: min(1180px, calc(100vw - 24px));
}

.ma-booking-modal .modal-content {
    background: linear-gradient(135deg, #fff 0%, var(--booking-soft-bg) 100%);
    border-radius: 1rem;
    overflow: hidden;
}

.ma-booking-modal .modal-header {
    background: transparent;
    padding: 1.75rem 1.75rem 0.75rem;
}

.ma-booking-shell {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(240px, 0.3fr) minmax(0, 1fr);
}

.ma-booking-reservation {
    align-self: start;
    background: #fff;
    border: 1px solid var(--booking-line-strong);
    border-radius: 0.9rem;
    color: var(--booking-ink);
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.ma-booking-reservation__brand {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.ma-booking-reservation__brand > span {
    align-items: center;
    background: var(--ma-color-primary);
    border-radius: 50%;
    display: inline-flex;
    font-family: var(--ma-font-title);
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.ma-booking-reservation__brand strong,
.ma-booking-reservation__brand small {
    display: block;
}

.ma-booking-reservation__brand small {
    color: rgba(255, 250, 243, 0.68);
}

.ma-booking-reservation__photo {
    border-radius: 0.75rem;
    overflow: hidden;
}

.ma-booking-reservation__photo img {
    aspect-ratio: 1.35 / 1;
    display: block;
    object-fit: cover;
    width: 100%;
}

.ma-booking-reservation__summary {
    background: #fffaf3;
    border: 1px solid rgba(182, 132, 62, 0.18);
    border-radius: 0.7rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem;
}

.ma-booking-reservation__eyebrow,
.ma-booking-step-label {
    color: var(--ma-color-primary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ma-booking-reservation__summary > strong {
    color: var(--booking-ink);
    font-family: var(--ma-font-title);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
}

.ma-booking-reservation__summary > small {
    color: var(--booking-muted);
}

.ma-booking-reservation__items {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.ma-booking-reservation__items div {
    border-top: 1px solid rgba(182, 132, 62, 0.16);
    display: grid;
    gap: 0.12rem;
    padding-top: 0.6rem;
}

.ma-booking-reservation__items span {
    color: var(--booking-muted);
    font-size: 0.76rem;
}

.ma-booking-reservation__items b {
    color: var(--booking-ink);
    font-size: 0.92rem;
}

.ma-booking-reservation__items .is-complete b {
    color: var(--booking-ink);
}

.ma-booking-reservation__trust {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ma-booking-reservation__trust li {
    align-items: center;
    color: var(--booking-muted);
    display: flex;
    font-size: 0.86rem;
    gap: 0.5rem;
}

.ma-booking-reservation__trust i {
    color: var(--ma-color-primary);
}

.ma-booking-flow {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(182, 132, 62, 0.14);
    border-radius: 0.9rem;
    padding: 1rem;
}

.ma-booking-modal__step header {
    border-bottom: 1px solid rgba(182, 132, 62, 0.14);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.ma-booking-modal__step header h3 {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    margin-top: 0.25rem;
}

.ma-booking-modal__grid--services {
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ma-booking-service-card {
    border: 1px solid rgba(182, 132, 62, 0.18);
    border-radius: 0.9rem;
    box-shadow: 0 0.75rem 1.8rem rgba(43, 36, 29, 0.07);
}

.ma-booking-service-card .card-img-top {
    aspect-ratio: 1.7 / 1;
    filter: saturate(0.92) contrast(0.98) brightness(1.04);
}

.ma-booking-service-card .card-body {
    padding: 1rem 1rem 1.1rem;
}

.ma-booking-service-card .card-title {
    font-family: var(--ma-font-title);
    font-size: 1.25rem;
    font-weight: 600;
}

.ma-booking-service-card.is-selected {
    background: #fff8ee;
    box-shadow: 0 0 0 0.2rem rgba(182, 132, 62, 0.12), 0 1rem 2rem rgba(43, 36, 29, 0.1);
}

.ma-booking-category-chips .btn {
    border-radius: 999px !important;
    margin-bottom: 0.35rem;
    margin-right: 0.35rem;
}

.ma-booking-option {
    border-radius: 0.8rem;
}

.ma-booking-contact input {
    background: #fff;
}

@media (max-width: 991.98px) {
    .ma-booking-shell {
        grid-template-columns: 1fr;
    }

    .ma-booking-reservation {
        position: static;
    }

    .ma-booking-reservation__photo {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .ma-booking-modal .modal-header {
        padding: calc(1rem + env(safe-area-inset-top)) 1rem 0.5rem;
    }

    .ma-booking-shell,
    .ma-booking-flow,
    .ma-booking-reservation {
        border-radius: 0;
    }

    .ma-booking-flow {
        border-left: 0;
        border-right: 0;
        padding: 1rem 0 0;
    }
}

/* Final wizard layout */
.ma-booking-modal .modal-dialog {
    max-width: min(860px, calc(100vw - 24px));
}

.ma-booking-modal .modal-content {
    background: #fff;
    border: 1px solid rgba(182, 132, 62, 0.22);
    border-radius: 0.75rem;
    box-shadow: 0 1.5rem 4rem rgba(43, 36, 29, 0.18);
}

.ma-booking-modal .modal-header {
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid rgba(182, 132, 62, 0.16);
    padding: 1.5rem 1.5rem 1.25rem;
}

.ma-booking-modal .modal-body {
    padding: 0;
}

.ma-booking-shell {
    display: block;
}

.ma-booking-flow {
    background: #fff;
    border: 0;
    border-radius: 0;
    min-height: 31rem;
    padding: 1.5rem;
}

.ma-booking-heading {
    min-width: 0;
    padding-right: 1rem;
}

.ma-booking-step-count {
    color: var(--ma-color-primary);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.ma-booking-modal .modal-title {
    font-family: var(--ma-font-body);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.ma-booking-close {
    align-items: center;
    border: 1px solid rgba(43, 36, 29, 0.12);
    border-radius: 50%;
    color: var(--booking-ink);
    display: inline-flex;
    flex: 0 0 2.5rem;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem;
}

.ma-booking-close:hover,
.ma-booking-close:focus-visible {
    background: rgba(182, 132, 62, 0.1);
    border-color: rgba(182, 132, 62, 0.4);
    color: var(--ma-color-primary);
}

.ma-booking-modal__step header {
    border: 0;
    margin-bottom: 1.25rem;
    padding: 0;
}

.ma-booking-modal__step header h3 {
    font-family: var(--ma-font-body);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.ma-booking-back {
    margin-bottom: 1rem;
}

.ma-booking-modal__grid--services {
    gap: 0.75rem;
}

.ma-booking-service-card {
    border-radius: 0.5rem;
    box-shadow: none;
}

.ma-booking-service-card:hover,
.ma-booking-service-card:focus-visible {
    box-shadow: 0 0.5rem 1.25rem rgba(43, 36, 29, 0.09);
    transform: none;
}

.ma-booking-service-card.is-selected {
    background: rgba(182, 132, 62, 0.06);
    box-shadow: 0 0 0 0.15rem rgba(182, 132, 62, 0.14);
}

@media (max-width: 575.98px) {
    .ma-booking-modal .modal-header {
        padding: calc(1rem + env(safe-area-inset-top)) 1rem 1rem;
    }

    .ma-booking-flow {
        min-height: 0;
        padding: 1rem;
    }

    .ma-booking-modal .modal-title {
        font-size: 1.25rem;
    }
}
.professional-services-unified {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 18px 22px 22px;
}

.professional-services-unified [hidden] { display: none; }

.professional-services-unified__commission {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 13px 16px;
    background: #f5f8fb;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
}

.professional-services-unified__switch { margin: 0; min-width: 0; }
.professional-services-unified__switch .form-check-input { margin-top: .18em; }
.professional-services-unified__switch .form-check-label { color: #18334b; font-weight: 650; }
.professional-general-commission { width: min(100%, 180px); }
.professional-general-commission .form-label,
.professional-unified-row__percent span { display: block; margin: 0 0 4px; color: #52687d; font-size: 12px; font-weight: 650; }
.professional-general-commission .form-control { width: 100%; }

.professional-services-unified__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.professional-services-unified h3 { margin: 0; color: #142c42; font-size: 15px; font-weight: 750; }
.professional-services-unified__count { padding: 3px 9px; border-radius: 99px; background: #eaf1f7; color: #31536f; font-size: 12px; font-weight: 700; }
.professional-unified-rows { display: grid; gap: 7px; }
.professional-unified-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 38px;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border: 1px solid #dfe7ef;
    border-radius: 7px;
    background: #fff;
}
.professional-services-unified.is-general .professional-unified-row { grid-template-columns: minmax(0, 1fr) 38px; }
.professional-unified-row__service { display: grid; min-width: 0; line-height: 1.3; }
.professional-unified-row__service strong { overflow-wrap: anywhere; color: #18334b; font-size: 14px; }
.professional-unified-row__service small { color: #62778b; font-size: 12px; }
.professional-unified-row__percent { min-width: 0; }
.professional-unified-row__percent .form-control { width: 100%; }
.professional-unified-row__remove { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; }
.professional-services-unified__empty { margin: 0; padding: 12px 14px; border: 1px dashed #cbd8e4; border-radius: 7px; background: #f8fafc; color: #5c7185; font-size: 13px; }

.professional-services-unified__add { padding-top: 14px; border-top: 1px solid #e5ebf1; }
.professional-services-unified__add h3 { margin-bottom: 9px; }
.professional-unified-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; max-width: 1100px; }
.professional-unified-picker { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(190px, 1.1fr); gap: 8px; min-width: 0; }
.professional-unified-picker > * { min-width: 0; width: 100%; }
.professional-unified-picker { display: block; position: relative; }
.professional-unified-picker [data-service-picker] { display: none; }
.professional-service-suggestions { position: fixed; z-index: 1060; max-height: 250px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid #cbd8e4; border-radius: 7px; box-shadow: 0 12px 24px rgba(15,31,48,.12); padding: 5px; }
.professional-service-suggestion { display: block; width: 100%; border: 0; border-radius: 5px; padding: 9px 11px; text-align: left; background: transparent; color: inherit; }
.professional-service-suggestion { overflow-wrap: anywhere; }
.professional-service-suggestion:hover, .professional-service-suggestion[aria-selected="true"] { background: #edf4fa; }
.professional-service-new-percent { min-width: 125px; font-size: 12px; }
.professional-service-new-percent .form-control { min-height: 42px; }
.professional-unified-actions { grid-template-columns: minmax(180px, 1fr) minmax(120px, 150px) auto auto; }
.professional-service-new-percent[hidden] { display: none; }
.admin-service-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-category-picker { display: flex; align-items: stretch; gap: .5rem; min-width: 0; }
.service-category-picker .select2-container { flex: 1 1 auto; width: 1% !important; min-width: 0; }
.service-category-picker .select2-container--default .select2-selection--single { height: 38px; border: 1px solid #dee2e6; border-radius: .5rem; }
.service-category-picker .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px; padding-left: .75rem; padding-right: 2rem; }
.service-category-picker .select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px; right: .4rem; }
.service-category-picker .select2-container--default.select2-container--focus .select2-selection--single,
.service-category-picker .select2-container--default.select2-container--open .select2-selection--single { border-color: #86b7fe; box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15); }
.service-category-add { flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border-radius: .5rem; display: inline-flex; align-items: center; justify-content: center; }
.admin-service-filters label { min-width: 0; font-size: 13px; font-weight: 600; }
.admin-service-filters .form-control, .admin-service-filters .form-select { margin-top: 4px; }
@media (max-width: 800px) { .admin-service-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .admin-service-filters { grid-template-columns: minmax(0, 1fr); } }
.professional-unified-actions > .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; white-space: nowrap; }
.professional-services-unified__feedback { margin-top: 10px; padding: 9px 12px; border: 1px solid #badbd0; border-radius: 6px; background: #edf8f3; color: #116044; font-size: 13px; }
.professional-services-unified__feedback[data-feedback-kind="error"] { border-color: #efc1c0; background: #fff2f2; color: #a12b31; }
.professional-services-unified__feedback[data-feedback-kind="remove"] { border-color: #d5dfe9; background: #f4f7fa; color: #415a70; }

.professional-reference-modal .professional-reference-body {
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 18px;
}

.professional-reference-modal .professional-reference-footer {
    padding: 12px 28px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top-color: #dfe7ef;
    box-shadow: 0 -5px 18px rgba(15, 31, 48, .05);
}

@media (max-width: 1100px) {
    .professional-unified-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .professional-unified-picker { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .professional-reference-modal .professional-reference-body { padding-bottom: 16px; }
    .professional-reference-modal .professional-reference-footer { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
    .professional-services-unified { gap: 14px; padding: 14px; }
    .professional-services-unified__commission { padding: 12px; }
    .professional-general-commission { width: 100%; }
    .professional-unified-picker { grid-template-columns: minmax(0, 1fr); }
    .professional-unified-actions > .btn { min-width: 0; padding-inline: 7px; font-size: 12px; white-space: normal; }
    .professional-unified-row { grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; }
    .professional-unified-row__percent { grid-column: 1; grid-row: 2; }
    .professional-unified-row__remove { grid-column: 2; grid-row: 1 / 3; }
}
.agenda-day-card-menu { display: none; }

@media (max-width: 767px) {
    .agenda-mobile-unavailable--bloqueio { border-style: solid; border-color: #e5d6c6; background: #faf2e9; color: #765e47; }
    .agenda-mobile-unavailable--fechado strong { display: none; }
}
