/*
  Arshida Mobile UI System
  Source of truth: /crm/classes mobile page.
  Scope: reusable mobile-only classes. No new libraries, no heavy effects.
*/

:root {
  --mui-page-bg: #f5f7f8;
  --mui-surface: #ffffff;
  --mui-primary: #078c91;
  --mui-primary-dark: #066a73;
  --mui-primary-soft: #e8f6f6;
  --mui-accent: #2b6cb0;
  --mui-text: #172033;
  --mui-muted: #667085;
  --mui-border: #e7ebef;
  --mui-success: #159455;
  --mui-success-bg: #eaf7f0;
  --mui-danger: #b91c1c;
  --mui-danger-bg: #fdecec;
  --mui-warning: #b7791f;
  --mui-warning-bg: #fff8e8;
  --mui-info: #2563eb;
  --mui-info-bg: #f1f7ff;
  --mui-radius-page: 18px;
  --mui-radius-card: 16px;
  --mui-radius-field: 12px;
  --mui-radius-pill: 999px;
  --mui-shadow-page: 0 4px 14px rgba(23, 32, 51, 0.055);
  --mui-shadow-card: 0 4px 12px rgba(23, 32, 51, 0.04);
  --mui-pad-page-x: 14px;
  --mui-pad-page-y: 18px;
  --mui-pad-card: 13px;
  --mui-gap: 12px;
  --mui-field-height: 44px;
  --mui-touch-height: 44px;
  --mui-title-size: clamp(17px, 4.8vw, 21px);
  --mui-body-size: 13px;
  --mui-small-size: 12px;
}

/* Shared app shell: header, drawer menu and mobile bottom navigation only. */
@media (max-width: 768px) {
  body.shell-nav-open {
    position: fixed;
    inset-inline: 0;
    width: 100%;
    overflow: hidden;
  }

  .app-header {
    position: relative;
    min-height: 92px;
    max-height: 100px;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, #073847 0%, #08706c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  .app-header::before,
  .app-header::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    z-index: -1;
  }

  .app-header::before {
    right: -80px;
    top: -105px;
  }

  .app-header::after {
    left: -95px;
    top: -90px;
  }

  .app-header .container {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    padding: calc(14px + env(safe-area-inset-top)) 20px 14px;
  }

  .header-row {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-weight: 950;
    font-size: 19px;
    line-height: 1;
  }

  .brand-mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: #52d6d1;
    box-shadow: 0 0 0 5px rgba(82, 214, 209, 0.16);
  }

  .icon-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0;
    box-shadow: none;
  }

  .icon-btn span {
    width: 23px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    margin: 0;
  }

  .nav {
    position: fixed;
    inset-block: 0;
    right: 0;
    width: min(86vw, 350px);
    height: 100dvh;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 14px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(160deg, #062f3f 0%, #075f60 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 1;
    filter: none;
    backdrop-filter: none;
    transform: translateX(102%);
    transition: transform .22s ease;
    box-shadow: -18px 0 42px rgba(4, 26, 36, 0.26);
  }

  .nav.open { transform: translateX(0); }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4990;
    background: rgba(4, 20, 35, 0.48);
    backdrop-filter: blur(3px);
  }

  .nav-backdrop[hidden] { display: none; }

  .nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 8px;
  }

  .nav-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    display: inline-grid;
    place-items: center;
  }

  .nav-left,
  .nav-right,
  .nav-sub {
    display: grid;
    gap: 7px;
    min-width: 0;
  }

  .nav-link,
  .nav-group-toggle {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    text-align: right;
  }

  .nav-link.active,
  .nav-group-toggle.active {
    border-color: rgba(87, 210, 201, 0.78);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
  }

  .nav-chevron {
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-right: auto;
    opacity: .72;
  }

  .nav-group.open .nav-chevron { transform: rotate(135deg); }

  .nav-sub {
    display: none;
    margin-top: 7px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.12);
  }

  .nav-group.open .nav-sub { display: grid; }

  .nav-sub .nav-link {
    min-height: 40px;
    padding-inline: 9px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .nav-sub-divider {
    height: 1px;
    margin: 3px 0;
    background: rgba(255, 255, 255, 0.14);
  }

  .user-chip {
    min-height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
  }

  .user-chip .nav-icon {
    width: 15px;
    height: 15px;
  }

  .shell-logout {
    width: 100%;
    min-height: 40px;
    color: #fee2e2;
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(185, 28, 28, 0.18);
  }

  .nav-booking-cta {
    width: 100%;
    min-height: 56px;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, #0b83c5, #078c91);
    box-shadow: 0 10px 22px rgba(5, 90, 110, 0.28);
  }

  .nav-booking-cta::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-right: auto;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .86;
  }

  .nav-booking-cta strong,
  .nav-booking-cta small {
    display: block;
    line-height: 1.35;
  }

  .nav-booking-cta small {
    opacity: .82;
    font-size: 11px;
  }

  .bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 2500;
    height: 78px;
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    border: 1px solid #e3e9ee;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(2px);
    box-shadow: 0 12px 26px rgba(20, 35, 58, 0.12);
  }

  .bn-item {
    min-width: 0;
    height: 64px;
    min-height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    gap: 3px;
    color: #172033;
    background: #f8fafb;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    position: relative;
  }

  .bn-item.active {
    background: #e8f6f6;
    color: #078c91;
  }

  .bn-item.active::after {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #078c91;
    position: absolute;
    bottom: 5px;
  }

  .bn-ico img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
  }

  .club-dashboard {
    display: grid;
    gap: 14px;
  }

  .club-dashboard__hero,
  .club-dashboard__card {
    border: 1px solid #e2e8ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(23, 32, 51, 0.055);
  }

  .club-dashboard__hero {
    padding: 16px;
    display: grid;
    gap: 12px;
  }

  .club-dashboard__eyebrow,
  .club-dashboard__hero p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.7;
  }

  .club-dashboard__hero h2 {
    margin: 4px 0 6px;
    color: #14233a;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 950;
  }

  .club-dashboard__status {
    width: max-content;
    border-radius: 999px;
    padding: 6px 10px;
    color: #159455;
    background: #eaf7f0;
    font-size: 12px;
    font-weight: 900;
  }

  .club-dashboard__grid {
    display: grid;
    gap: 10px;
  }

  .club-dashboard__card {
    min-width: 0;
    padding: 13px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
    color: #14233a;
  }

  .club-dashboard__card img {
    grid-row: span 2;
    width: 22px;
    height: 22px;
    place-self: center;
    object-fit: contain;
  }

  .club-dashboard__card strong {
    font-size: 14px;
    font-weight: 950;
  }

  .club-dashboard__card span {
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
  }

  .club-dashboard__card--primary {
    border-color: rgba(7, 140, 145, 0.28);
    background: linear-gradient(135deg, #e8f6f6, #ffffff);
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    background: var(--mui-page-bg);
  }

  main.container {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    overflow-x: hidden;
    padding: 14px 14px calc(124px + env(safe-area-inset-bottom)) !important;
  }
}

.mui-mobile-only { display: none; }

@media (max-width: 768px) {
  .mui-mobile-only { display: block; }
  .mui-desktop-only { display: none !important; }
}

.mui-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  background: var(--mui-surface);
  border-radius: var(--mui-radius-page);
  padding: var(--mui-pad-page-y) var(--mui-pad-page-x) 26px;
  box-shadow: var(--mui-shadow-page);
}

.mui-stack { display: grid; gap: var(--mui-gap); }

.mui-page-header,
.mui-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}

.mui-page-title,
.mui-section-title { min-width: 0; }

.mui-page-title h1,
.mui-page-title h2,
.mui-page-title h3,
.mui-section-title h2,
.mui-section-title h3,
.mui-section-title h4 {
  margin: 0;
  color: var(--mui-text);
  font-size: var(--mui-title-size);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.mui-title-mark {
  display: block;
  width: 42px;
  height: 3px;
  border-radius: var(--mui-radius-pill);
  margin-top: 10px;
  margin-right: 0;
  background: linear-gradient(90deg, transparent 0 12%, #57d2c9 12% 88%, transparent 88%);
  position: relative;
}

.mui-title-mark::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #57d2c9;
}

.mui-card,
.mui-form-card,
.mui-data-card {
  min-width: 0;
  background: var(--mui-surface);
  border: 1px solid var(--mui-border);
  border-radius: var(--mui-radius-card);
  box-shadow: var(--mui-shadow-card);
  padding: 12px var(--mui-pad-card) 14px;
  overflow: hidden;
}

.mui-card + .mui-card,
.mui-data-card + .mui-data-card,
.mui-form-card + .mui-form-card { margin-top: var(--mui-gap); }

.mui-card-top {
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.mui-info-list { display: grid; }

.mui-info-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px 66px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(231, 235, 239, 0.95);
}

.mui-info-row:last-child { border-bottom: 0; }

.mui-icon-box,
.mui-field-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #f0f8f9;
  border: 1px solid #dcecee;
  color: #087c89;
  flex: 0 0 auto;
}

.mui-icon-box svg,
.mui-field-icon svg,
.mui-icon-box img,
.mui-field-icon img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
  fill: currentColor;
}

.mui-info-label {
  color: #3f4b5f;
  font-size: var(--mui-small-size);
  font-weight: 900;
  white-space: nowrap;
}

.mui-info-value {
  min-width: 0;
  color: var(--mui-text);
  font-size: var(--mui-body-size);
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: normal;
}

.mui-muted { color: var(--mui-muted) !important; }

.mui-form { display: grid; gap: 14px; }

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

.mui-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.mui-field > label,
.mui-label {
  color: var(--mui-text);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.35;
}

.mui-field small,
.mui-help {
  display: block;
  color: var(--mui-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.mui-control-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mui-field-height);
  border: 1px solid rgba(102, 112, 133, 0.24);
  border-radius: var(--mui-radius-field);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 10px;
  overflow: hidden;
}

.mui-control-wrap:focus-within {
  border-color: rgba(7, 140, 145, 0.58);
  box-shadow: 0 0 0 3px rgba(7, 140, 145, 0.10);
  background: #fff;
}

.mui-control-wrap > input,
.mui-control-wrap > select,
.mui-control-wrap > textarea,
.mui-input,
.mui-select,
.mui-textarea {
  width: 100%;
  min-width: 0;
  min-height: var(--mui-field-height);
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mui-text);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 0;
  box-shadow: none;
}

.mui-control-wrap > textarea,
.mui-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.7;
}

.mui-select,
.mui-control-wrap > select {
  appearance: none;
  -webkit-appearance: none;
}

.mui-divider {
  position: relative;
  height: 1px;
  margin: 4px 0;
  border: 0;
  background: var(--mui-border);
}

.mui-divider::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateX(50%);
  background: #b8c1cc;
}

.mui-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

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

.mui-btn {
  min-width: 0;
  min-height: var(--mui-touch-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(7, 140, 145, 0.55);
  background: #fff;
  color: var(--mui-primary-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}

.mui-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.mui-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--mui-accent), var(--mui-primary-dark));
  box-shadow: 0 8px 18px rgba(43, 108, 176, 0.16);
}

.mui-btn-secondary {
  color: #334155;
  border-color: rgba(102, 112, 133, 0.28);
  background: #fff;
}

.mui-btn-danger {
  color: var(--mui-danger);
  border-color: rgba(185, 28, 28, 0.28);
  background: #fff;
}

.mui-btn-full { width: 100%; }

.mui-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--mui-radius-pill);
  background: var(--mui-success-bg);
  color: var(--mui-success);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.mui-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.mui-badge-muted { background: #f2f4f7; color: var(--mui-muted); }
.mui-badge-danger { background: var(--mui-danger-bg); color: var(--mui-danger); }
.mui-badge-warning { background: var(--mui-warning-bg); color: var(--mui-warning); }
.mui-badge-info { background: var(--mui-info-bg); color: var(--mui-info); }

.mui-empty {
  margin: 0;
  padding: 18px;
  border-radius: var(--mui-radius-card);
  background: var(--mui-page-bg);
  color: var(--mui-muted);
  text-align: center;
  font-weight: 850;
}

@media (max-width: 380px) {
  .mui-page { padding-inline: 12px; }
  .mui-card,
  .mui-form-card,
  .mui-data-card { padding-inline: 12px; }
  .mui-info-row { grid-template-columns: 28px 60px minmax(0, 1fr); gap: 8px; }
  .mui-icon-box,
  .mui-field-icon { width: 28px; height: 28px; }
  .mui-form-grid,
  .mui-actions-grid { gap: 8px; }
}

@media (min-width: 769px) {
  .mui-page,
  .mui-card,
  .mui-form-card,
  .mui-data-card { box-shadow: none; }
}

/* RTL/form refinements shared by migrated mobile pages */
@media (max-width: 768px) {
  .mui-page,
  .mui-card,
  .mui-form-card,
  .mui-data-card,
  .mui-field,
  .mui-control-wrap {
    direction: rtl;
    text-align: right;
  }

  .mui-control-wrap > input,
  .mui-control-wrap > textarea,
  .mui-input,
  .mui-textarea {
    direction: rtl;
    text-align: right;
  }

  .mui-control-wrap > select,
  .mui-select {
    direction: rtl;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 0;
    padding-left: 30px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24'%3E%3Cpath fill='%23172033' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 8px center;
    background-size: 18px 18px;
  }
}

/* Migrated mobile form/button consistency v2 */
@media (max-width: 768px) {
  body:not([data-route^="/frontdesk"]) {
    overflow-x: hidden;
  }

  body:not([data-route^="/frontdesk"]) .field input,
  body:not([data-route^="/frontdesk"]) .field select,
  body:not([data-route^="/frontdesk"]) .field textarea,
  body:not([data-route^="/frontdesk"]) .register-field input,
  body:not([data-route^="/frontdesk"]) .register-field select,
  body:not([data-route^="/frontdesk"]) .register-field textarea,
  body:not([data-route^="/frontdesk"]) .payment-field input,
  body:not([data-route^="/frontdesk"]) .payment-field select,
  body:not([data-route^="/frontdesk"]) .payment-field textarea,
  body:not([data-route^="/frontdesk"]) .mui-control,
  body:not([data-route^="/frontdesk"]) .mui-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(102, 112, 133, 0.24);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--mui-text-main);
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
  }

  body:not([data-route^="/frontdesk"]) .field select,
  body:not([data-route^="/frontdesk"]) .register-field select,
  body:not([data-route^="/frontdesk"]) .payment-field select,
  body:not([data-route^="/frontdesk"]) .mui-select,
  body:not([data-route^="/frontdesk"]) .mui-control-wrap > select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 12px;
    padding-left: 38px;
    background-color: rgba(255, 255, 255, 0.92);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%23172033'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: left 12px center;
  }

  body:not([data-route^="/frontdesk"]) .field input::placeholder,
  body:not([data-route^="/frontdesk"]) .field textarea::placeholder,
  body:not([data-route^="/frontdesk"]) .register-field input::placeholder,
  body:not([data-route^="/frontdesk"]) .register-field textarea::placeholder,
  body:not([data-route^="/frontdesk"]) .payment-field input::placeholder,
  body:not([data-route^="/frontdesk"]) .payment-field textarea::placeholder {
    direction: rtl;
    text-align: right;
  }

  body:not([data-route^="/frontdesk"]) .btn:not(.btn-sm),
  body:not([data-route^="/frontdesk"]) button.btn:not(.btn-sm),
  body:not([data-route^="/frontdesk"]) a.btn:not(.btn-sm) {
    min-height: 38px;
    padding: 5px 10px;
    border-radius: 12px;
    line-height: 1.25;
  }

  body:not([data-route^="/frontdesk"]) .register-actions .btn,
  body:not([data-route^="/frontdesk"]) .payment-actions .btn {
    min-height: 38px !important;
    padding: 5px 8px !important;
    border-radius: 12px !important;
    line-height: 1.2 !important;
  }

  body:not([data-route^="/frontdesk"]) .register-grid > .register-field:last-child:nth-child(odd),
  body:not([data-route^="/frontdesk"]) .payment-grid > .payment-field:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Global compact mobile controls v3 */
@media (max-width: 768px) {
  body:not([data-route^="/frontdesk"]) .field input,
  body:not([data-route^="/frontdesk"]) .field select,
  body:not([data-route^="/frontdesk"]) .payment-field input,
  body:not([data-route^="/frontdesk"]) .payment-field select,
  body:not([data-route^="/frontdesk"]) .register-field input,
  body:not([data-route^="/frontdesk"]) .register-field select,
  body:not([data-route^="/frontdesk"]) .form-control,
  body:not([data-route^="/frontdesk"]) .form-select {
    min-height: 42px !important;
    height: 42px;
    border-radius: 12px !important;
    box-sizing: border-box;
  }

  body:not([data-route^="/frontdesk"]) .field select:not([multiple]),
  body:not([data-route^="/frontdesk"]) .payment-field select:not([multiple]),
  body:not([data-route^="/frontdesk"]) .register-field select:not([multiple]),
  body:not([data-route^="/frontdesk"]) select.form-select:not([multiple]),
  body:not([data-route^="/frontdesk"]) .mui-select:not([multiple]),
  body:not([data-route^="/frontdesk"]) .mui-control-wrap > select:not([multiple]) {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 12px !important;
    padding-left: 32px !important;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%23667085'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41Z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 13px 13px !important;
    background-position: left 12px center !important;
  }

  body:not([data-route^="/frontdesk"]) input[dir="ltr"],
  body:not([data-route^="/frontdesk"]) input[type="tel"],
  body:not([data-route^="/frontdesk"]) input[name="phone"] {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: plaintext;
  }

  body:not([data-route^="/frontdesk"]) input[dir="ltr"]::placeholder,
  body:not([data-route^="/frontdesk"]) input[type="tel"]::placeholder,
  body:not([data-route^="/frontdesk"]) input[name="phone"]::placeholder {
    direction: ltr !important;
    text-align: left !important;
  }
}

/* Global file picker input override */
@media (max-width: 768px) {
  body:not([data-route^="/frontdesk"]) .file-picker input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

/*
  Arshida scoped mobile design system.
  Opt-in only: add .arshida-mobile-ui to a mobile page/container before using these classes.
*/
@media (max-width: 768px) {
  .arshida-mobile-ui {
    --ui-primary: #078C91;
    --ui-primary-dark: #0B5876;
    --ui-bg: #F5F7F8;
    --ui-card: #FFFFFF;
    --ui-border: #E2E8EE;
    --ui-text: #14233A;
    --ui-muted: #667085;
    --ui-success: #159455;
    --ui-success-bg: #EAF7F0;
    --ui-danger: #B91C1C;
    --ui-danger-bg: #FDECEC;
    --ui-warning: #B7791F;
    --ui-warning-bg: #FFF8E8;
    --ui-info: #2563EB;
    --ui-info-bg: #F1F7FF;
    --ui-card-radius: 20px;
    --ui-control-radius: 14px;
    --ui-control-height: 54px;
    --ui-shadow-card: 0 4px 12px rgba(20, 35, 58, 0.05);
    --ui-gap: 12px;
    direction: rtl;
    text-align: right;
    color: var(--ui-text);
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .arshida-mobile-ui,
  .arshida-mobile-ui * {
    box-sizing: border-box;
  }

  .arshida-mobile-ui.ui-page,
  .arshida-mobile-ui .ui-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background: var(--ui-card);
    border-radius: var(--ui-card-radius);
    padding: 18px 14px 26px;
    box-shadow: var(--ui-shadow-card);
  }

  .arshida-mobile-ui .ui-stack {
    display: grid;
    gap: var(--ui-gap);
    min-width: 0;
  }

  .arshida-mobile-ui .ui-page-header,
  .arshida-mobile-ui .ui-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    margin-bottom: 14px;
  }

  .arshida-mobile-ui .ui-page-title,
  .arshida-mobile-ui .ui-section-title {
    min-width: 0;
  }

  .arshida-mobile-ui .ui-page-title h1,
  .arshida-mobile-ui .ui-page-title h2,
  .arshida-mobile-ui .ui-page-title h3,
  .arshida-mobile-ui .ui-section-title h2,
  .arshida-mobile-ui .ui-section-title h3,
  .arshida-mobile-ui .ui-section-title h4 {
    margin: 0;
    color: var(--ui-text);
    font-size: clamp(17px, 4.8vw, 21px);
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.4px;
    white-space: nowrap;
  }

  .arshida-mobile-ui .ui-title-mark {
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    margin-top: 10px;
    margin-right: 0;
    background: linear-gradient(90deg, transparent 0 12%, #57D2C9 12% 88%, transparent 88%);
    position: relative;
  }

  .arshida-mobile-ui .ui-title-mark::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #57D2C9;
  }

  .arshida-mobile-ui .ui-section-card,
  .arshida-mobile-ui .ui-data-card,
  .arshida-mobile-ui .ui-card {
    min-width: 0;
    overflow: hidden;
    background: var(--ui-card);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-card-radius);
    box-shadow: var(--ui-shadow-card);
    padding: 13px;
  }

  .arshida-mobile-ui .ui-section-card + .ui-section-card,
  .arshida-mobile-ui .ui-data-card + .ui-data-card,
  .arshida-mobile-ui .ui-card + .ui-card {
    margin-top: var(--ui-gap);
  }

  .arshida-mobile-ui .ui-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
  }

  .arshida-mobile-ui .ui-form-grid.ui-form-grid-one {
    grid-template-columns: minmax(0, 1fr);
  }

  .arshida-mobile-ui .ui-field {
    min-width: 0;
    display: grid;
    gap: 6px;
  }

  .arshida-mobile-ui .ui-label,
  .arshida-mobile-ui .ui-field > label {
    color: var(--ui-text);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.35;
  }

  .arshida-mobile-ui .ui-help,
  .arshida-mobile-ui .ui-field small {
    display: block;
    color: var(--ui-muted);
    font-size: 11.5px;
    line-height: 1.55;
  }

  .arshida-mobile-ui .ui-control,
  .arshida-mobile-ui .ui-input,
  .arshida-mobile-ui .ui-select,
  .arshida-mobile-ui .ui-textarea {
    width: 100%;
    min-width: 0;
    min-height: var(--ui-control-height);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-control-radius);
    background: #FFFFFF;
    color: var(--ui-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    outline: 0;
    padding: 9px 14px;
    box-shadow: none;
    direction: rtl;
    text-align: right;
  }

  .arshida-mobile-ui .ui-input,
  .arshida-mobile-ui .ui-select {
    height: var(--ui-control-height);
  }

  .arshida-mobile-ui .ui-textarea {
    min-height: 96px;
    line-height: 1.7;
    resize: vertical;
  }

  .arshida-mobile-ui .ui-control:focus,
  .arshida-mobile-ui .ui-input:focus,
  .arshida-mobile-ui .ui-select:focus,
  .arshida-mobile-ui .ui-textarea:focus {
    border-color: var(--ui-primary);
    box-shadow: 0 0 0 3px rgba(7, 140, 145, 0.10);
  }

  .arshida-mobile-ui .ui-select-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
  }

  .arshida-mobile-ui .ui-select-wrap .ui-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 14px;
    padding-left: 38px;
    cursor: pointer;
  }

  .arshida-mobile-ui .ui-select-wrap::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-left: 2px solid var(--ui-muted);
    border-bottom: 2px solid var(--ui-muted);
    transform: translateY(-65%) rotate(-45deg);
    pointer-events: none;
  }

  .arshida-mobile-ui .ui-file-picker {
    width: 100%;
    height: var(--ui-control-height);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-control-radius);
    background: #FFFFFF;
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }

  .arshida-mobile-ui .ui-file-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .arshida-mobile-ui .ui-file-picker__button {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 10px;
    background: #EAF6F7;
    color: var(--ui-primary-dark);
    font-size: 12px;
    font-weight: 800;
  }

  .arshida-mobile-ui .ui-file-picker__name {
    min-width: 0;
    flex: 1 1 auto;
    color: var(--ui-muted);
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .arshida-mobile-ui .ui-actions,
  .arshida-mobile-ui .ui-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
  }

  .arshida-mobile-ui .ui-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--ui-primary-dark);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
  }

  .arshida-mobile-ui .ui-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
  }

  .arshida-mobile-ui .ui-btn-primary {
    color: #FFFFFF;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ui-primary-dark), var(--ui-primary));
  }

  .arshida-mobile-ui .ui-btn-secondary {
    color: #334155;
    border-color: var(--ui-border);
    background: #FFFFFF;
  }

  .arshida-mobile-ui .ui-btn-outline {
    color: var(--ui-primary-dark);
    border-color: rgba(7, 140, 145, 0.55);
    background: #FFFFFF;
  }

  .arshida-mobile-ui .ui-badge {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--ui-success-bg);
    color: var(--ui-success);
    font-size: 11.5px;
    font-weight: 950;
    white-space: nowrap;
  }

  .arshida-mobile-ui .ui-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
  }

  .arshida-mobile-ui .ui-badge-muted {
    background: #F2F4F7;
    color: var(--ui-muted);
  }

  .arshida-mobile-ui .ui-badge-danger {
    background: var(--ui-danger-bg);
    color: var(--ui-danger);
  }

  .arshida-mobile-ui .ui-badge-warning {
    background: var(--ui-warning-bg);
    color: var(--ui-warning);
  }

  .arshida-mobile-ui .ui-badge-info {
    background: var(--ui-info-bg);
    color: var(--ui-info);
  }

  .arshida-mobile-ui .ui-info-list {
    display: grid;
    min-width: 0;
  }

  .arshida-mobile-ui .ui-info-row {
    min-width: 0;
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px 62px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    border-bottom: 1px solid #EDF0F3;
  }

  .arshida-mobile-ui .ui-info-row:last-child {
    border-bottom: 0;
  }

  .arshida-mobile-ui .ui-icon-box {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: #F0F8F9;
    border: 1px solid #DCECEE;
    color: var(--ui-primary-dark);
  }

  .arshida-mobile-ui .ui-icon-box svg,
  .arshida-mobile-ui .ui-icon-box img {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
    fill: currentColor;
  }

  .arshida-mobile-ui .ui-info-label {
    color: #3F4B5F;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
  }

  .arshida-mobile-ui .ui-info-value {
    min-width: 0;
    color: var(--ui-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .arshida-mobile-ui.ui-page,
  .arshida-mobile-ui .ui-page {
    padding-inline: 12px;
  }

  .arshida-mobile-ui .ui-section-card,
  .arshida-mobile-ui .ui-data-card,
  .arshida-mobile-ui .ui-card {
    padding-inline: 12px;
  }

  .arshida-mobile-ui .ui-form-grid,
  .arshida-mobile-ui .ui-actions-grid {
    gap: 8px;
  }

  .arshida-mobile-ui .ui-info-row {
    grid-template-columns: 26px 56px minmax(0, 1fr);
    gap: 6px;
  }

  .arshida-mobile-ui .ui-icon-box {
    width: 26px;
    height: 26px;
  }
}

/* App mobile form controls: mirrors the booking appointment filter language. */
@media (min-width: 769px) {
  .app-mobile-ui .app-ui-icon,
  .app-mobile-ui .app-ui-chevron {
    display: none;
  }

  .app-mobile-ui .app-ui-control-row,
  .app-mobile-ui .app-ui-control {
    display: block;
  }
}

@media (max-width: 767px) {
  .app-mobile-ui {
    --app-control-height: 38px;
    --app-icon-width: 38px;
    --app-control-radius: 12px;
    --app-control-border: #D9E0E7;
    --app-control-bg: #FFFFFF;
    --app-icon-bg: #F3F8FA;
    --app-primary: #1B4965;
    --app-text: #172033;
    --app-muted: #667085;
    --app-danger: #D92D20;
    direction: rtl;
    text-align: right;
  }

  .app-mobile-ui,
  .app-mobile-ui * {
    box-sizing: border-box;
  }

  .app-mobile-ui .app-ui-field {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .app-mobile-ui .app-ui-label {
    display: block;
    margin: 0 6px 6px 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 900;
    color: var(--app-text);
    text-align: right;
  }

  .app-mobile-ui .app-ui-control-row {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
    direction: rtl;
    align-items: center;
  }

  .app-mobile-ui .app-ui-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--app-control-border);
    border-radius: 11px;
    background: var(--app-icon-bg);
    color: var(--app-primary);
    box-sizing: border-box;
  }

  .app-mobile-ui .app-ui-icon img,
  .app-mobile-ui .app-ui-icon svg {
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
  }

  .app-mobile-ui .app-ui-control {
    position: relative;
    width: 100%;
    min-width: 0;
  }

  .app-mobile-ui .app-ui-field > .app-ui-control {
    width: 100%;
  }

  .app-mobile-ui .app-ui-control input,
  .app-mobile-ui .app-ui-control select {
    width: 100% !important;
    height: var(--app-control-height) !important;
    min-height: var(--app-control-height) !important;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid var(--app-control-border) !important;
    border-radius: var(--app-control-radius) !important;
    background-color: var(--app-control-bg) !important;
    background-image: none !important;
    padding-inline: 14px;
    color: var(--app-text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    padding-top: 4px;
    padding-bottom: 5px;
    text-align: right;
    direction: rtl;
    outline: none;
    box-shadow: none;
  }

  .app-mobile-ui .app-ui-control textarea {
    width: 100% !important;
    min-height: 96px !important;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid var(--app-control-border) !important;
    border-radius: var(--app-control-radius) !important;
    background: var(--app-control-bg) !important;
    padding: 12px;
    color: var(--app-text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    direction: rtl;
    resize: vertical;
    outline: none;
    box-shadow: none;
  }

  .app-mobile-ui .app-ui-control input:focus,
  .app-mobile-ui .app-ui-control select:focus,
  .app-mobile-ui .app-ui-control textarea:focus {
    border-color: var(--app-primary) !important;
    box-shadow: 0 0 0 3px rgba(8, 127, 134, 0.10) !important;
    background-color: #FFFFFF !important;
  }

  .app-mobile-ui .app-ui-select-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
  }

  .app-mobile-ui .app-ui-select-wrap select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 14px !important;
    padding-left: 34px !important;
    cursor: pointer;
  }

  .app-mobile-ui .app-ui-chevron {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--app-muted);
    border-bottom: 2px solid var(--app-muted);
    transform: translateY(-65%) rotate(-45deg);
    pointer-events: none;
    z-index: 2;
  }

  .app-mobile-ui .app-ui-help,
  .app-mobile-ui .app-ui-error {
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    text-align: right;
  }

  .app-mobile-ui .app-ui-help {
    color: var(--app-muted);
  }

  .app-mobile-ui .app-ui-error {
    color: var(--app-danger);
  }

  .app-mobile-ui .app-ui-file-picker {
    width: 100%;
    height: var(--app-control-height) !important;
    min-height: var(--app-control-height) !important;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px;
    border: 1px solid var(--app-control-border) !important;
    border-radius: var(--app-control-radius) !important;
    background: var(--app-control-bg) !important;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }

  .app-mobile-ui .app-ui-file-picker input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .app-mobile-ui .app-ui-file-picker__button {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 9px;
    background: #EAF6F7;
    color: var(--app-primary);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
  }

  .app-mobile-ui .app-ui-file-picker__name {
    min-width: 0;
    flex: 1;
    color: var(--app-muted);
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
  }

  .app-mobile-ui .app-ui-ltr,
  .app-mobile-ui .app-ui-ltr::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: plaintext;
  }
}

@media (max-width: 380px) {
  .app-mobile-ui {
    --app-control-height: 38px;
    --app-icon-width: 38px;
    --app-control-radius: 12px;
  }

  .app-mobile-ui .app-ui-control-row {
    gap: 7px;
  }

  .app-mobile-ui .app-ui-icon img,
  .app-mobile-ui .app-ui-icon svg {
    width: 19px;
    height: 19px;
  }
}

/* App mobile data lists: source of truth is /crm/classes. */
@media (max-width: 768px) {
  .app-mobile-ui .app-mobile-list,
  .app-mobile-ui.app-mobile-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
  }

  .app-mobile-ui .app-list-page,
  .app-mobile-ui.app-list-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 18px 14px 26px;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(23, 32, 51, 0.055);
    overflow-x: hidden;
  }

  .app-mobile-ui .app-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;
  }

  .app-mobile-ui .app-list-title {
    min-width: 0;
  }

  .app-mobile-ui .app-list-title h1,
  .app-mobile-ui .app-list-title h2,
  .app-mobile-ui .app-list-title h3 {
    margin: 0;
    color: #14233A;
    font-size: clamp(17px, 4.8vw, 21px);
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.5px;
    white-space: nowrap;
  }

  .app-mobile-ui .app-list-title span {
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    margin-top: 10px;
    margin-right: 0;
    background: linear-gradient(90deg, transparent 0 12%, #57d2c9 12% 88%, transparent 88%);
    position: relative;
  }

  .app-mobile-ui .app-list-title span::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #57d2c9;
  }

  .app-mobile-ui .app-list-primary-action {
    flex: 0 0 auto;
    max-width: 46%;
    white-space: nowrap;
  }

  .app-mobile-ui .app-list-filters {
    min-width: 0;
    margin-bottom: 12px;
  }

  .app-mobile-ui .app-list-filters .app-ui-control-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .app-mobile-ui .app-data-list {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .app-mobile-ui .app-data-card {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    box-sizing: border-box;
    border: 1px solid #E2E8EE;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
    overflow: hidden;
  }

  .app-mobile-ui .app-data-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    margin-bottom: 8px;
  }

  .app-mobile-ui .app-data-card__title {
    margin: 0;
    min-width: 0;
    color: #14233A;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .app-mobile-ui .app-data-card__meta {
    min-width: 0;
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
    line-height: 1.5;
  }

  .app-mobile-ui .app-data-card__summary {
    min-width: 0;
    margin: 8px 0;
    color: #14233A;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 800;
  }

  .app-mobile-ui .app-data-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    min-width: 0;
  }

  .app-mobile-ui .app-data-card__item {
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-block: 0;
    border-bottom: 1px solid #EDF1F4;
  }

  .app-mobile-ui .app-data-card__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid #DCECEE;
    background: #F3FAFB;
    color: #087C89;
  }

  .app-mobile-ui .app-data-card__icon svg,
  .app-mobile-ui .app-data-card__icon img {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
    fill: currentColor;
  }

  .app-mobile-ui .app-data-card__content {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
  }

  .app-mobile-ui .app-data-card__label {
    color: #667085;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
  }

  .app-mobile-ui .app-data-card__value {
    min-width: 0;
    color: #14233A;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .app-mobile-ui .app-data-card__value.is-muted {
    color: #667085;
  }

  .app-mobile-ui .app-data-card__details {
    min-width: 0;
    margin-top: 8px;
    color: #344054;
    font-size: 12px;
    line-height: 1.7;
  }

  .app-mobile-ui .app-data-card__details > summary {
    cursor: pointer;
    color: #087C89;
    font-weight: 800;
  }

  .app-mobile-ui .app-status-badge {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #EAF7F0;
    color: #159455;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
  }

  .app-mobile-ui .app-status-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
  }

  .app-mobile-ui .app-status-badge.is-inactive,
  .app-mobile-ui .app-status-badge--inactive {
    background: #FDECEC;
    color: #B91C1C;
  }

  .app-mobile-ui .app-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-top: 10px;
  }

  .app-mobile-ui .app-card-actions form {
    margin: 0;
    display: inline-flex;
    min-width: 0;
  }

  .app-mobile-ui .app-data-card .app-card-actions .app-action-button {
    height: 36px;
    min-height: 36px;
    padding-inline: 12px;
    border-radius: 11px;
    gap: 5px;
  }

  .app-mobile-ui .app-action-button {
    height: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(7, 140, 145, 0.55);
    background: #FFFFFF;
    color: #066A88;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
  }

  .app-mobile-ui .app-action-button:active {
    transform: scale(0.98);
    opacity: 0.9;
  }

  .app-mobile-ui .app-action-button--primary {
    color: #FFFFFF;
    border-color: transparent;
    background: linear-gradient(135deg, #1B4965, #078C91);
    box-shadow: 0 8px 18px rgba(43, 108, 176, 0.16);
  }

  .app-mobile-ui .app-action-button--full {
    width: 100%;
  }

  .app-mobile-ui .app-action-button--outline {
    height: 36px;
    min-height: 36px;
    gap: 5px;
    padding-inline: 12px;
    border-radius: 11px;
    color: #066A88;
    border-color: rgba(7, 140, 145, 0.55);
    background: #FFFFFF;
    box-shadow: none;
  }

  .app-mobile-ui .app-action-button--danger {
    height: 36px;
    min-height: 36px;
    gap: 5px;
    padding-inline: 12px;
    border-radius: 11px;
    color: #B91C1C;
    border-color: rgba(185, 28, 28, 0.28);
    background: #FFFFFF;
    box-shadow: none;
  }

  .app-mobile-ui .app-action-button svg,
  .app-mobile-ui .app-action-button img {
    width: 15px;
    height: 15px;
    display: block;
    object-fit: contain;
    fill: currentColor;
  }

  .app-mobile-ui a.app-data-card__value {
    text-decoration: none;
    color: #087C89;
  }
}

@media (max-width: 380px) {
  .app-mobile-ui .app-data-card {
    padding: 12px;
  }

  .app-mobile-ui .app-data-card__grid {
    column-gap: 10px;
  }

  .app-mobile-ui .app-data-card__item {
    min-height: 46px;
    gap: 7px;
  }

  .app-mobile-ui .app-data-card__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .app-mobile-ui .app-data-card__icon svg,
  .app-mobile-ui .app-data-card__icon img {
    width: 16px;
    height: 16px;
  }
}

/* =========================================================
   FINAL SHELL OVERRIDES — 2026-07-17
   Scope: header, mobile drawer, accordions and bottom navigation only.
   ========================================================= */
@media (max-width: 768px) {
  body.shell-nav-open {
    position: fixed;
    inset-inline: 0;
    width: 100%;
    overflow: hidden;
  }

  .app-header {
    min-height: 88px;
    max-height: 94px;
  }

  .app-header .container {
    padding: calc(11px + env(safe-area-inset-top)) 18px 11px;
  }

  .header-row { min-height: 42px; }

  .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    gap: 4px;
  }

  .icon-btn span {
    width: 21px;
    height: 2px;
  }

  #navMenu.nav {
    position: fixed;
    inset-block: 0;
    right: 0;
    width: min(86vw, 350px);
    height: 100dvh;
    z-index: 4010;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 13px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(160deg, #062f3f 0%, #075f60 100%);
    border-left: 1px solid rgba(255,255,255,.14);
    opacity: 1;
    filter: none;
    -webkit-filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(102%);
    transition: transform .22s ease;
    box-shadow: -18px 0 42px rgba(4,26,36,.26);
  }

  #navMenu.nav.open { transform: translateX(0); }

  #navMenu.nav,
  #navMenu.nav * {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(4,20,35,.58);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  #navMenu .nav-sub {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* One clean outer capsule; no separate cards around each tab. */
  .bottom-nav {
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    height: 76px;
    min-height: 76px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 6px 8px;
    border: 1px solid #e3e9ee;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 10px 24px rgba(20,35,58,.12);
  }

  .bottom-nav .bn-item,
  .bottom-nav .bn-item.active {
    height: 62px;
    min-height: 62px;
    min-width: 0;
    display: grid;
    grid-template-rows: 23px 18px;
    align-content: center;
    justify-items: center;
    row-gap: 5px;
    padding: 4px 2px 9px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
    text-align: center;
  }

  .bottom-nav .bn-item { color: #172033; }
  .bottom-nav .bn-item.active { color: #078c91; }

  .bottom-nav .bn-ico,
  .bottom-nav .bn-ico img {
    width: 21px;
    height: 21px;
    display: block;
  }

  .bottom-nav .bn-txt {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 850;
    line-height: 18px;
    white-space: nowrap;
  }

  .bottom-nav .bn-item.active::after {
    left: 50%;
    bottom: 1px;
    width: 22px;
    height: 3px;
    transform: translateX(-50%);
  }
}


/* =========================================================
   SHELL POLISH — compact drawer, unified menu rows and footer
   ========================================================= */
@media (max-width: 768px) {
  #navMenu.nav {
    width: min(80vw, 330px);
    padding-inline: 12px;
  }

  #navMenu .nav-link,
  #navMenu .nav-group-toggle,
  #navMenu .user-chip,
  #navMenu .shell-logout {
    border-radius: 10px;
  }

  #navMenu .nav-link,
  #navMenu .nav-group-toggle {
    min-height: 42px;
    border-color: rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
  }

  #navMenu .nav-group-toggle {
    border-radius: 10px;
  }

  #navMenu .nav-sub {
    border-radius: 10px;
  }

  #navMenu .nav-right {
    margin-top: auto;
    gap: 7px;
  }

  #navMenu .user-chip,
  #navMenu .shell-logout {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
  }

  #navMenu .user-chip {
    justify-content: flex-start;
  }

  #navMenu .shell-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    box-shadow: none;
  }
}

.nav-symbol {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: currentColor;
  opacity: .94;
  -webkit-mask: var(--nav-symbol) center / contain no-repeat;
  mask: var(--nav-symbol) center / contain no-repeat;
}

.nav-symbol--classes {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v2H4V5zm1 4h14v10H5V9zm2 2v6h10v-6H7zm2 1h6v2H9v-2z'/%3E%3C/svg%3E");
}

.nav-symbol--absence {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm11 7H6v11h12V9zm-9 2h6v2H9v-2zm0 4h4v2H9v-2z'/%3E%3C/svg%3E");
}

.nav-symbol--logout {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h8v2H7v14h6v2H5V3zm10.6 4.6L20 12l-4.4 4.4-1.4-1.4 2-2H10v-2h6.2l-2-2 1.4-1.4z'/%3E%3C/svg%3E");
}


/* =========================================================
   FINAL MOBILE MENU SHAPE + CHILD ACTIVE STATE — 2026-07-18
   ========================================================= */
@media (max-width: 768px) {
  #navMenu.nav {
    width: min(80vw, 330px) !important;
    box-sizing: border-box !important;
  }

  #navMenu .nav-link,
  #navMenu .nav-group-toggle,
  #navMenu .nav-sub,
  #navMenu .nav-sub .nav-link,
  #navMenu .user-chip,
  #navMenu .shell-logout {
    border-radius: 10px !important;
  }

  #navMenu .shell-logout {
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
  }

  #navMenu .nav-sub .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.16) !important;
    box-shadow: inset -3px 0 0 #52d6d1;
  }

  #navMenu .nav-group.open > .nav-group-toggle:not(:hover):not(:focus-visible) {
    background: rgba(255,255,255,.07) !important;
  }
}


/* =========================================================
   MENU FIX 3 — active rail and unified bottom-nav icon color
   ========================================================= */
@media (max-width: 768px) {
  #navMenu .nav-left > .nav-link.active,
  #navMenu .nav-sub .nav-link.active {
    box-shadow: inset -3px 0 0 #52d6d1 !important;
  }

  #navMenu .nav-group.open > .nav-group-toggle:not(:hover):not(:focus-visible) {
    box-shadow: none !important;
  }

  .bottom-nav .nav-symbol,
  .bottom-nav .nav-symbol--classes,
  .bottom-nav .nav-symbol--absence {
    width: 21px !important;
    height: 21px !important;
    flex-basis: 21px !important;
    color: #078c91 !important;
    background-color: currentColor !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   MENU FIX 4 — semantic shell icons and stable active states
   ========================================================= */
.nav-symbol--home {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 10v11h7v-6h4v6h7V10l-9-7Zm0 2.6 7 5.45V19h-3v-6H8v6H5v-7.95L12 5.6Z'/%3E%3C/svg%3E");
}
.nav-symbol--customer,
.nav-symbol--user {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0 8c-4.42 0-8 2.24-8 5v2h16v-2c0-2.76-3.58-5-8-5Zm-5.8 5c.45-1.31 2.8-3 5.8-3s5.35 1.69 5.8 3H6.2Z'/%3E%3C/svg%3E");
}
.nav-symbol--payment {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5Zm2 2v2h14V7H5Zm0 4v6h14v-6H5Zm9 2h4v2h-4v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--receipt {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14v19l-2.5-1.5L14 22l-2.5-1.5L9 22l-2.5-1.5L5 21.4V3Zm2 2v13.1l2-1.2 2.5 1.5 2.5-1.5 2.5 1.5.5-.3V5H7Zm2 3h6v2H9V8Zm0 4h6v2H9v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--frontdesk {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM4 11h16v8h2v2H2v-2h2v-8Zm2 2v6h12v-6H6Zm2 1h8v2H8v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--instructor {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm7-1h6v2h-6V5Zm0 4h6v2h-6V9ZM9 12c-4 0-7 2-7 5v3h14v-3c0-3-3-5-7-5Zm-5 6v-1c0-1.5 2.05-3 5-3s5 1.5 5 3v1H4Zm12-5h6v2h-6v-2Zm0 4h4v2h-4v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--classes {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 9h2V7h2v10H5v-2H3V9Zm16-2h2v2h2v6h-2v2h-2V7ZM9 10h6V7h2v10h-2v-3H9v3H7V7h2v3Zm0 2h6v-1H9v1Z'/%3E%3C/svg%3E");
}
.nav-symbol--crm {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm9 7a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-4a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM8 13c-4 0-7 2-7 5v3h14v-3c0-3-3-5-7-5Zm-5 6v-1c0-1.5 2-3 5-3s5 1.5 5 3v1H3Zm14-5c-1.1 0-2.1.2-3 .55.6.5 1.1 1.1 1.45 1.8.5-.2 1-.35 1.55-.35 2.35 0 4 1.15 4 2v1h-4v2h6v-3c0-2.4-2.55-4-6-4Z'/%3E%3C/svg%3E");
}
.nav-symbol--inactive {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM10 13c-4 0-7 2-7 5v3h10.1a6.8 6.8 0 0 1-1.7-2H5c.45-1.3 2.3-3 5-3 .4 0 .8.04 1.16.1.18-.68.47-1.31.84-1.87A9.3 9.3 0 0 0 10 13Zm7 0a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm-2.5 4h5v2h-5v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--reminder {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm7-6v-5a7 7 0 0 0-5-6.7V3a2 2 0 0 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2v1h18v-1l-2-2Zm-12.17 1A3.9 3.9 0 0 0 7 16.2V11a5 5 0 0 1 10 0v5.2c0 .28.06.55.17.8H6.83Z'/%3E%3C/svg%3E");
}
.nav-symbol--promo {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v5a3 3 0 0 0 0 6v5H3v-5a3 3 0 0 0 0-6V6Zm2 2v1.35a5 5 0 0 1 0 9.3V20h14v-1.35a5 5 0 0 1 0-9.3V8H5Zm5 2h2v2h-2v-2Zm0 4h2v2h-2v-2Zm0 4h2v1h-2v-1Z'/%3E%3C/svg%3E");
}
.nav-symbol--loyalty {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 2.5 5.1L20 8l-4 3.9.95 5.5L12 14.8l-4.95 2.6L8 11.9 4 8l5.5-.9L12 2Zm0 4.5-.95 1.93-2.13.31 1.54 1.5-.36 2.12 1.9-1 1.9 1-.36-2.12 1.54-1.5-2.13-.31L12 6.5ZM4 19h16v2H4v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--absence {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 3h3V1h2v2h4V1h2v2h3v19H4V3h2Zm12 6H6v11h12V9Zm-8.7 3.3 1.4-1.4 2.3 2.3 2.3-2.3 1.4 1.4-2.3 2.3 2.3 2.3-1.4 1.4-2.3-2.3-2.3 2.3-1.4-1.4 2.3-2.3-2.3-2.3Z'/%3E%3C/svg%3E");
}
.nav-symbol--holiday {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 3h2V1h2v2h4V1h2v2h2a3 3 0 0 1 3 3v15H3V6a3 3 0 0 1 3-3Zm13 7H5v9h14v-9ZM6 5a1 1 0 0 0-1 1v2h14V6a1 1 0 0 0-1-1h-2v1h-2V5h-4v1H8V5H6Zm1 7h3v3H7v-3Z'/%3E%3C/svg%3E");
}
.nav-symbol--accounting {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 2h16v20H4V2Zm2 2v4h12V4H6Zm0 6v10h12V10H6Zm2 2h2v2H8v-2Zm4 0h2v2h-2v-2Zm4 0h2v2h-2v-2Zm-8 4h2v2H8v-2Zm4 0h2v2h-2v-2Zm4 0h2v2h-2v-2Z'/%3E%3C/svg%3E");
}
.nav-symbol--users {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.1 3.4 9.8 8 11 4.6-1.2 8-5.9 8-11V5l-8-3Zm0 2.15L18 6.4V11c0 3.9-2.4 7.65-6 8.85C8.4 18.65 6 14.9 6 11V6.4l6-2.25ZM12 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0 2a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0 5c-2.2 0-4 1.1-4 2.5V18h8v-1.5c0-1.4-1.8-2.5-4-2.5Z'/%3E%3C/svg%3E");
}
.nav-symbol--booking {
  --nav-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h2v2h8V2h2v2h3v18H3V4h3V2Zm13 8H5v10h14V10ZM5 6v2h14V6h-1v1h-2V6H8v1H6V6H5Zm8 6h2v3h3v2h-5v-5Z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  #navMenu .nav-left > .nav-link.active {
    border-color: rgba(87,210,201,.55) !important;
    background: rgba(255,255,255,.16) !important;
    color: #fff !important;
    box-shadow: inset -3px 0 0 #52d6d1 !important;
  }

  .bottom-nav .nav-symbol--absence {
    width: 19px !important;
    height: 19px !important;
    flex-basis: 19px !important;
  }
}

#navMenu .nav-booking-cta .nav-symbol {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}
#navMenu .user-chip .nav-symbol {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
