@charset "utf-8";

@font-face { font-family: "Noto Sans TC"; font-style: normal; font-weight: 400 800; src: url("../fonts/NotoSansTC-VariableFont_wght.ttf") format("opentype"); }

:root {
  --gold: #f3dc91;
  --gold-dark: #b2a06c;
  --gold-soft: #f5e3bd;
  --blue: #91a9d6;
  --line: #d8d8d8;
  --green: #48c77d;
  --orange: #f38d73;
  --peach: #f4b577;
  --text: #101010;
  --arcana-brand-bg: #cd6733;
  --schedule-header-height: 104px;
  --schedule-slot-height: 35px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans TC", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.arcana-login-page {
  min-height: 100vh;
  background: var(--arcana-brand-bg);
  color: #fff;
}

.login-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(380px, 520px);
  gap: clamp(42px, 8vw, 130px);
  align-items: center;
  padding: clamp(44px, 7vw, 112px) clamp(42px, 10vw, 190px);
}

.login-brand-panel {
  display: grid;
  align-content: center;
  color: #fff;
}

.login-logo {
  width: min(280px, 48vw);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.login-wordmark {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -.05em;
}

.login-wordmark-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 22px;
  font-size: 26px;
  letter-spacing: -.08em;
}

.login-card {
  justify-self: center;
    align-self: center;
    width: min(100%, 470px);
    /* border: 1px solid rgba(255, 255, 255, .32); */
    border-radius: 8px;
    /* background: rgba(255, 255, 255, .94); */
    color: white;
    padding: 42px;
    /* box-shadow: none; */
}

.login-card-copy {
  margin-bottom: 28px;
}

.login-card-copy span {
  display: inline-flex;
  margin-bottom: 16px;
  color: white;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-card-copy h2 {
  margin: 0 0 10px;
  color: #101010;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 950;
}

.login-card-copy p {
  margin: 0;
  color: white;
  font-size: 14px;
  line-height: 1.45;
}

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

.login-form label {
  color: #101010;
  font-size: 13px;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  height: 50px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  color: #101010;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.login-form input:focus {
  border-color: #c66532;
  box-shadow: 0 0 0 3px rgba(198, 101, 50, .14);
}

.login-form button {
  border: 0;
  border-radius: 8px;
  background: #101010;
  color: #fff;
  min-height: 52px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 850;
}

.login-error {
  border-radius: 8px;
  background: #fff1f3;
  padding: 12px 14px;
  margin: 0 0 18px;
  color: #c7284f;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .login-stage {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 34px;
  }

  .login-brand-panel {
    min-height: 0;
    justify-items: start;
  }

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

@media (max-width: 640px) {
  .login-stage {
    padding: 32px 18px;
  }

  .login-logo {
    width: 180px;
  }

  .login-card {
    padding: 28px;
  }
}

.arcana-app {
  min-width: 1180px;
  min-height: 100vh;
  background: #fff;
}

.app-nav {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gold);
  padding: 0 9.5%;
  font-weight: 800;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 54px;
}

.nav-item {
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.home-icon {
  font-size: 29px;
  line-height: 1;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-logout {
  color: #111;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-logout:hover {
  text-decoration: underline;
}

.location-switcher {
  min-width: 170px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  padding: 0 12px;
}

.location-switcher i {
  font-size: 16px;
}

.location-switcher select {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.home-screen {
  position: relative;
  min-height: calc(100vh - 56px);
  padding-top: 300px;
  text-align: center;
}

.support-ribbon {
  position: absolute;
  top: 22px;
  right: 10%;
  color: #666;
  background: var(--gold);
  padding: 2px 24px;
  font-size: 12px;
  text-decoration: none;
  clip-path: polygon(8% 0, 92% 0, 100% 18%, 92% 32%, 100% 50%, 92% 68%, 100% 82%, 92% 100%, 8% 100%, 0 82%, 8% 68%, 0 50%, 8% 32%, 0 18%);
}

.home-screen h1 {
  margin: 0 0 54px;
  color: #b6cbe1;
  font-size: 45px;
  font-weight: 700;
}

.module-grid {
  width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 82px;
}

.module-tile {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
  color: white;
  text-decoration: none;
  font-size: 31px;
  font-weight: 800;
}

.module-tile i {
  display: block;
  font-size: 51px;
  margin-bottom: 4px;
}

.module-tile::before {
  content: "";
  position: absolute;
  inset: 8px 28px;
  background: var(--orange);
  z-index: -1;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.9);
}

.module-tile::after {
  content: "";
  position: absolute;
  inset: 10px 18px;
  border: 2px solid #777;
  transform: rotate(45deg);
  z-index: -2;
}

.tile-member::before { background: #f8dc84; }
.tile-bill::before, .tile-payment::before, .tile-stock::before { background: #f18b74; }
.tile-booking::before, .tile-service::before { background: #f4b579; }
.tile-payment::after, .tile-service::after, .tile-stock::after { border-radius: 50%; transform: rotate(0); }

.timetable-page {
  background: #fff;
}

.timetable-page .app-nav {
  display: none;
}

.fresha-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 15;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #061118;
  padding: 14px 10px;
}

.rail-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rail-brand,
.rail-item {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-weight: 800;
}

.rail-brand {
  margin-bottom: 8px;
  background: var(--arcana-brand-bg);
  color: #fff;
  font-size: 12px;
  letter-spacing: -.06em;
}

.rail-item {
  font-size: 21px;
}

.rail-item.active {
  background: #6d53ee;
}

.rail-item:hover {
  background: rgba(255,255,255,.12);
}

.rail-item.active:hover {
  background: #6d53ee;
}

.rail-logout {
  margin-top: auto;
  color: #d8dee4;
}

.fresha-topbar {
  position: fixed;
  top: 0;
  left: 60px;
  right: 0;
  z-index: 14;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eceff2;
  background: rgba(255,255,255,.96);
  padding: 0 14px 0 18px;
}

.fresha-topbar strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-icons button {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
}

.topbar-icons button span {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #6d53ee;
  color: #fff;
  font-size: 11px;
}

.topbar-icons button:nth-child(3) span {
  background: #22a63f;
}

.topbar-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb86b, #ee78b8);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.schedule-shell {
  position: fixed;
  top: 58px;
  right: 0;
  bottom: 0;
  left: 60px;
  width: auto;
  max-width: none;
  margin: 0;
  height: auto;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.schedule-controls {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "heading calendar tools actions"
    "import import import import";
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eceff2;
  background: #fff;
  padding: 14px 14px 14px 14px;
}

.schedule-heading {
  grid-area: heading;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-heading h1 {
  display: none;
}

.schedule-heading strong {
  display: block;
  width: max-content;
  border-radius: 999px;
  background: #f7f8f9;
  color: #15191d;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}

.schedule-date-card {
  grid-area: calendar;
  align-self: stretch;
  width: 250px;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #fff;
  padding: 4px 8px;
}

.week-picker {
  display: grid;
  grid-template-rows: 0 36px;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

.weekday-row, .date-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.weekday-row span, .date-row button {
  display: grid;
  place-items: center;
  border: 0;
}

.date-row button {
  background: transparent;
  border-radius: 12px;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  transition: background .14s ease, color .14s ease;
}

.weekday-row span {
  overflow: hidden;
  color: #868686;
  font-size: 0;
  font-weight: 500;
}

.date-row .selected {
  background: #101820;
  color: #fff;
}

.date-row button:hover {
  background: #ececec;
}

.date-row .selected:hover {
  background: #78d2f1;
}

.schedule-tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
  max-width: none;
  width: 100%;
}

.date-buttons {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(92px, 1fr) 40px 40px minmax(72px, .75fr) 40px 42px;
  gap: 6px;
  align-items: center;
  align-content: center;
}

.date-buttons button, .search-controls button, .dialog-actions button, .close-top, .confirm-dialog button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  padding: 0 18px;
  font-weight: 600;
}

.date-buttons button {
  min-height: 38px;
  width: 100%;
  border: 1px solid #d8dde3;
  background: #fff;
  padding: 0;
  color: #111;
  font-size: 18px;
}

#prev-week-btn,
#next-week-btn,
#prev-day-btn,
#next-day-btn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  justify-self: center;
  padding: 0;
}

.date-buttons i {
  color: #111;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

#prev-week-btn i,
#next-week-btn i {
  font-size: 18px;
}

#prev-day-btn i,
#next-day-btn i {
  font-size: 24px;
}

.calendar-jump {
  position: relative;
  width: 40px;
  height: 38px;
  display: grid;
  place-items: center;
  grid-column: auto;
  justify-self: end;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #fff;
}

.calendar-jump i {
  color: #111;
  font-size: 20px;
}

.calendar-jump input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#note-btn[hidden],
#new-booking-btn[hidden] {
  display: none !important;
}

.staff-search {
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-search > span {
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}

.staff-search input {
  width: 100%;
  height: 40px;
  min-width: 130px;
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f7f8f9;
  color: #fff;
  font-size: 20px;
  padding: 0;
}

.icon-btn i {
  color: #111;
  display: block;
  line-height: 1;
}

.search-controls {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border-left: 0;
  padding-left: 0;
  justify-self: end;
  min-width: min(420px, 100%);
}

.search-controls button {
  min-height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8dde3;
  color: #111;
}

.search-controls .staff-search .icon-btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
}

.search-controls #new-booking-btn {
  min-width: 78px;
  background: #101820;
  color: #fff;
  border-color: #101820;
}

.softmedia-import-panel {
  grid-area: import;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid #eceff2;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.softmedia-import-panel[hidden] {
  display: none;
}

.softmedia-import-panel header {
  display: grid;
  gap: 3px;
}

.softmedia-import-panel header strong {
  font-size: 15px;
  font-weight: 850;
}

.softmedia-import-panel header span {
  color: #777;
  font-size: 13px;
}

.softmedia-import-panel > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.softmedia-import-panel label span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #eceff2;
  border-radius: 999px;
  background: #f8fafc;
  padding: 0 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.softmedia-import-panel.is-uploading label span {
  pointer-events: none;
  opacity: .6;
}

.schedule-controls button:hover,
.icon-btn:hover,
.calendar-jump:hover {
  filter: brightness(.96);
}

.schedule-controls input:focus {
  outline: 2px solid rgba(17, 17, 17, .18);
  outline-offset: 2px;
}

.schedule-board {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 0;
  margin-top: 0;
  border-top: 1px solid #eceff2;
  font-size: 16px;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: auto;
  isolation: isolate;
}

.time-rail {
  position: sticky;
  left: 0;
  z-index: 7;
  display: grid;
  grid-template-rows: repeat(42, var(--schedule-slot-height));
  padding-top: var(--schedule-header-height);
  border-right: 1px solid #eef0f2;
  background: #fff;
}

.time-rail span {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-right: 12px;
  color: #aaa;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-7px);
}

.time-rail .hour {
  background: transparent;
  color: #9fa1a8;
  font-size: 13px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(275px, 1fr));
  min-width: max-content;
  height: calc(var(--schedule-header-height) + 1190px);
}

.schedule-board.is-empty-staff .staff-grid {
  min-width: 0;
}

.schedule-empty-staff {
  min-height: calc(var(--schedule-header-height) + 420px);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  padding: calc(var(--schedule-header-height) + 44px) 24px 64px;
  border-left: 1px solid #eef0f2;
  background: #fff;
  color: #17191c;
  text-align: center;
}

.schedule-empty-staff strong {
  font-size: 18px;
  font-weight: 820;
}

.schedule-empty-staff span {
  max-width: 420px;
  color: #6f747a;
  font-size: 14px;
  line-height: 1.45;
}

.staff-column {
  position: relative;
  min-width: 275px;
  border-left: 1px solid #eef0f2;
  background: #fff;
}

.staff-column.drag-target {
  background: #fbfcff;
}

.staff-column:last-child {
  border-right: 1px solid #eef0f2;
}

.staff-head {
  position: sticky;
  top: 0;
  z-index: 8;
  height: var(--schedule-header-height);
  display: flex;
  flex-direction: column;
  gap: 7px;
  place-items: center;
  justify-content: center;
  border-bottom: 1px solid #eceff2;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.staff-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--avatar-color);
  color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--avatar-color) 55%, white);
  font-size: 15px;
  font-weight: 800;
}

.off-column {
  background-color: #fff;
}

.rest-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}

.appt {
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.04);
  border-left: 0;
  border-radius: 4px;
  background: #9edff0;
  padding: 10px 10px 9px;
  text-align: left;
  font-size: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  transition: background .12s ease, transform .12s ease;
  border-bottom: 0;
  cursor: grab;
  user-select: none;
}

.appt:hover {
  filter: brightness(.98);
  transform: translateY(-1px);
  z-index: 60 !important;
}

.appt.is-dragging {
  opacity: .45;
  cursor: grabbing;
}

.appt-overlap {
  box-shadow: -2px 0 0 rgba(255,255,255,.88), 0 1px 0 rgba(0,0,0,.08);
}

.appt-folder {
  box-shadow: -2px 0 0 rgba(255,255,255,.9), 0 1px 0 rgba(0,0,0,.08);
}

.appt-folder::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 48px;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: inherit;
  filter: brightness(.95);
  border: 1px solid rgba(0,0,0,.04);
  border-bottom: 0;
}

.appt-folder.is-stack-hidden {
  pointer-events: none;
  transform: translateY(-4px);
  filter: brightness(.96);
}

.appt-stack-control {
  position: absolute;
  right: 9px;
  bottom: 8px;
  min-width: 34px;
  height: 22px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  cursor: pointer;
}

.appt-stack-control:hover {
  background: rgba(255,255,255,.95);
}

.appt-linked {
  box-shadow: inset 0 0 0 1px rgba(118, 87, 220, .22), 0 1px 0 rgba(0,0,0,.05);
}

.appt-linked::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(118, 87, 220, .95) 0,
    rgba(118, 87, 220, .95) 7px,
    rgba(118, 87, 220, .25) 7px,
    rgba(118, 87, 220, .25) 14px
  );
}

.appt small {
  color: #172026;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.appt > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.appt .title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #111;
  font-size: 15px;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.appt span {
  display: block;
  color: #111;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.12;
}

.appt em {
  display: inline-block;
  margin-left: 5px;
  border-radius: 8px;
  background: rgba(255,255,255,.55);
  padding: 3px 7px;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
}

.appt .room-pill {
  background: rgba(255,255,255,.62);
  color: #172026;
}

.appt-phone {
  color: rgba(23, 32, 38, .72) !important;
}

.appt-status {
  position: absolute;
  top: 11px;
  right: 10px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cceffc;
  color: #111;
  font-size: 11px;
}

.appt-link-icon {
  position: absolute;
  top: 36px;
  right: 10px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.68);
  color: #7657dc;
  font-size: 13px;
}

.appt-aqua,
.appt-blue {
  background: #9edff0;
}

.appt-green {
  background: #69d4c7;
}

.appt-red {
  background: #f58ab5;
}

.appt-teal {
  background: #69d4c7;
}

.appt-sun {
  background: #ffc260;
}

.appt-pink {
  background: #f58ab5;
}

.appt-muted {
  background: #e8ecef;
}

.appt-aqua .appt-status,
.appt-blue .appt-status,
.appt-green .appt-status,
.appt-red .appt-status,
.appt-teal .appt-status,
.appt-sun .appt-status,
.appt-pink .appt-status,
.appt-muted .appt-status {
  background: rgba(255,255,255,.62);
}

.slot-hover {
  position: absolute;
  left: 4px;
  right: 4px;
  height: var(--schedule-slot-height);
  border-radius: 10px;
  background: rgba(145, 169, 214, .14);
  outline: 1px solid rgba(78, 111, 168, .36);
  pointer-events: none;
  z-index: 1;
}

.slot-hover[hidden] {
  display: none;
}

.slot-action-popover {
  position: fixed;
  z-index: 35;
  width: 315px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.slot-action-popover[hidden] {
  display: none;
}

.slot-action-popover strong {
  display: block;
  background: #dfe4e9;
  padding: 15px 28px;
  color: #111;
  font-size: 21px;
  font-weight: 850;
}

.slot-action-popover button,
.slot-action-popover a {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: #fff;
  color: #111;
  padding: 0 28px;
  text-align: left;
  text-decoration: none;
  font-size: 19px;
  font-weight: 650;
}

.slot-action-popover button:hover {
  background: #f7f7f7;
}

.slot-action-popover button:disabled {
  background: #f6f7f8;
  color: #a8adb4;
  cursor: not-allowed;
  opacity: 1;
}

.slot-action-popover button:disabled:hover {
  background: #f6f7f8;
}

.slot-action-popover button:disabled i {
  color: #c2c6cc;
}

.slot-action-popover i {
  width: 22px;
  font-size: 22px;
}

.slot-action-popover a {
  min-height: 52px;
  color: #6f55dc;
}

.hour-guide {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid #eef0f2;
  pointer-events: none;
  z-index: 0;
}

.appt-status i {
  color: inherit;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(20, 20, 20, .18);
  z-index: 20;
}

.overlay.active {
  display: block;
}

.member-page .overlay {
  z-index: 60;
}

.dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1170px;
  min-height: 560px;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #777;
  box-shadow: 0 0 7px rgba(0,0,0,.55);
  padding: 24px 28px;
}

.booking-dialog {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(900px, calc(100vw - 32px));
  height: 100vh;
  min-height: 0;
  /* display: grid; */
  /* grid-template-rows: auto 1fr; */
  border: 0;
  border-left: 1px solid #e8e8e8;
  box-shadow: -18px 0 38px rgba(0,0,0,.16);
  padding: 0;
  transform: translateX(104%);
  transition: transform .24s ease;
  overflow: visible;
}

.overlay.active .booking-dialog {
  transform: translateX(0);
}

.blocked-time-dialog {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(660px, calc(100vw - 32px));
  height: 100vh;
  min-height: 0;
  border: 0;
  border-left: 1px solid #e8e8e8;
  box-shadow: -18px 0 38px rgba(0,0,0,.16);
  padding: 0;
  transform: translateX(104%);
  transition: transform .24s ease;
  overflow: visible;
}

.overlay.active .blocked-time-dialog {
  transform: translateX(0);
}

.blocked-time-dialog form {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
}

.blocked-time-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  padding: 44px 48px 28px;
}

.blocked-time-head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.blocked-time-more {
  width: 52px;
  height: 52px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  font-size: 24px;
}

.blocked-time-body {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 32px 48px;
}

.blocked-time-body h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 850;
}

.block-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.block-type-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 2px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  color: #111;
}

.block-type-card.selected {
  border-color: #7657dc;
  box-shadow: 0 0 0 1px #7657dc inset;
}

.block-type-card i,
.block-emoji {
  font-size: 34px;
}

.block-type-card strong {
  font-size: 22px;
  font-weight: 850;
}

.block-type-card span:last-child {
  color: #777;
  font-size: 16px;
  font-weight: 650;
}

.blocked-field,
.blocked-time-grid label {
  display: grid;
  gap: 10px;
  color: #111;
  font-size: 20px;
  font-weight: 850;
}

.blocked-field input,
.blocked-field select,
.blocked-field textarea,
.blocked-time-grid select {
  width: 100%;
  min-height: 58px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  padding: 0 18px;
  color: #111;
  font-size: 20px;
  font-weight: 500;
}

.blocked-field textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

.blocked-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blocked-time-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding: 16px 24px;
}

.blocked-time-actions button {
  min-height: 48px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 850;
}

.blocked-time-actions button[type="submit"] {
  min-width: 150px;
  border-color: #0b1517;
  background: #0b1517;
  color: #fff;
}

.appt-blocked {
  border-left-color: #aab2bd !important;
  background: repeating-linear-gradient(-45deg, #eef1f4 0, #eef1f4 8px, #e5e9ee 8px, #e5e9ee 16px);
}

.appt-blocked .title {
  white-space: normal;
}

.booking-floating-controls {
  position: absolute;
  top: 17px;
  left: -66px;
  z-index: 6;
  display: grid;
  gap: 18px;
}

.booking-floating-controls button {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  color: #151515;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .12);
  padding: 0;
  font-size: 20px;
}

.booking-floating-controls button:hover {
  background: #f8f8f8;
  transform: translateY(-1px);
}

.booking-dialog form {
  overflow: visible;
}

.compact-booking {
  width: 1180px;
}

.dialog h2 {
  margin: 0 0 28px;
  font-size: 26px;
}

.dialog h2 i {
  color: #808080;
  font-size: 20px;
}

.booking-dialog form {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.booking-dialog h2 {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #f0f0f0;
  padding: 24px 32px 20px;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.05;
}

.booking-dialog.has-booking-status h2 {
  min-height: 164px;
  align-content: start;
  border-bottom: 0;
  background: #2f7bea;
  color: #fff;
  padding: 34px 40px 28px;
}

.booking-date-title,
.booking-time-title {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 2px 6px 2px 0;
  text-align: left;
}

.booking-date-title:hover,
.booking-time-title:hover,
.booking-date-title.active,
.booking-time-title.active {
  background: #f6f4ff;
}

.booking-dialog.has-booking-status .booking-date-title:hover,
.booking-dialog.has-booking-status .booking-time-title:hover,
.booking-dialog.has-booking-status .booking-date-title.active,
.booking-dialog.has-booking-status .booking-time-title.active {
  background: rgba(255, 255, 255, .14);
}

.booking-date-title span {
  display: block;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.05;
}

.booking-dialog.has-booking-status .booking-date-title span {
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.booking-time-title {
  margin-top: 5px;
}

.booking-time-title small {
  display: block;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 500;
}

.booking-dialog.has-booking-status .booking-time-title small {
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  font-weight: 650;
}

.booking-date-title i,
.booking-time-title i {
  display: inline-block !important;
  color: #111 !important;
  font-size: 15px !important;
}

.booking-dialog.has-booking-status .booking-date-title i,
.booking-dialog.has-booking-status .booking-time-title i {
  color: #fff !important;
}

.booking-status-wrap {
  position: relative;
  display: none;
  flex: 0 0 auto;
}

.booking-dialog.has-booking-status .booking-status-wrap {
  display: block;
}

.booking-status-btn {
  min-width: 150px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 0 22px;
  font-size: 18px;
  font-weight: 750;
}

.booking-status-btn:hover,
.booking-status-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, .18);
}

.booking-status-btn:disabled,
.booking-date-title:disabled,
.booking-time-title:disabled {
  color: #9aa1aa !important;
  cursor: not-allowed;
  opacity: 1;
}

.booking-status-btn:disabled i,
.booking-date-title:disabled i,
.booking-time-title:disabled i {
  color: #b3b8bf !important;
}

.booking-status-btn i {
  display: inline-block !important;
  color: #fff !important;
  font-size: 16px !important;
}

.booking-status-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 15;
  width: 280px;
  display: grid;
  gap: 2px;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(0,0,0,.18);
  padding: 14px;
}

.booking-status-menu[hidden] {
  display: none;
}

.booking-status-menu button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 0 12px;
  text-align: left;
  font-size: 18px;
  font-weight: 650;
}

.booking-status-menu button:hover {
  background: #f7f7f7;
}

.booking-status-menu button i {
  display: inline-block !important;
  color: #111 !important;
  font-size: 22px !important;
}

.booking-status-menu button b {
  display: none;
  color: #111;
  font-size: 20px;
}

.booking-status-menu button.active b {
  display: inline-block;
}

.booking-status-menu button.danger {
  color: #d83455;
}

.booking-status-menu button.danger i {
  color: #d83455 !important;
}

.booking-dialog h2 i {
  display: none;
}

.booking-datetime-popover {
  position: absolute;
  left: 32px;
  top: calc(100% - 10px);
  z-index: 8;
  width: min(430px, calc(100% - 64px));
  display: grid;
  gap: 14px;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
  padding: 18px;
}

.booking-datetime-popover[hidden] {
  display: none;
}

.booking-datetime-popover label {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.booking-datetime-popover input,
.booking-datetime-popover select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.booking-header-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-dialog .dialog-actions {
  position: static;
  grid-column: 2;
  grid-row: 3;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  padding: 14px 24px;
}

.dialog-actions[hidden],
.dialog-actions.is-hidden {
  display: none !important;
}

.booking-dialog .dialog-actions button {
  min-height: 44px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #f5f5f5;
  color: #111;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.booking-dialog .dialog-actions button[type="submit"],
#edit-booking-btn {
  min-width: 158px;
  background: #0f1b1d;
  color: #fff;
}

#booking-edit-actions::before {
  content: "Total";
  margin-right: auto;
  align-self: center;
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

#booking-edit-actions button[data-modal="service-list"] {
  display: none;
}

#clear-booking-btn {
  width: 44px;
  min-width: 44px;
  padding: 0 !important;
  background: #fff !important;
}

#delete-booking-btn {
  background: #fff0f1;
  color: #c83d4b;
}

#booking-view-actions {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto 54px;
  gap: 12px;
  align-items: center;
  padding: 20px 24px 16px;
}

#booking-view-actions .booking-view-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: #111;
}

#booking-view-actions .booking-view-total strong {
  font-size: 20px;
  font-weight: 850;
}

#booking-view-actions .booking-view-total span {
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 600;
}

#booking-view-actions .booking-view-total b {
  font-size: 22px;
  font-weight: 850;
}

#booking-view-actions .booking-more-wrap {
  position: relative;
}

#booking-view-actions #booking-more-btn {
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  padding: 0;
  font-size: 22px;
}

.booking-actions-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  z-index: 9;
  width: 335px;
  display: grid;
  gap: 2px;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
  padding: 18px 14px;
  text-align: left;
}

.booking-actions-menu[hidden] {
  display: none !important;
}

.booking-actions-menu strong {
  padding: 0 16px 8px;
  color: #111;
  font-size: 22px;
  font-weight: 850;
}

.booking-actions-menu button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0 !important;
  border-radius: 10px;
  background: none !important;
  color: #111;
  padding: 0 16px;
  text-align: left;
  font-size: 20px;
  font-weight: 650;
}

.booking-actions-menu button:hover,
.booking-actions-menu button:first-of-type {
  background: #f7f7f7;
}

.booking-actions-menu i {
  width: 22px;
  color: #111;
  font-size: 22px;
}

.booking-actions-menu hr {
  width: calc(100% - 32px);
  margin: 10px auto;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.booking-actions-menu .danger {
  color: #df3553;
}

#booking-view-actions .booking-checkout-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  font-size: 18px;
}

.booking-dialog.is-new-booking .booking-checkout-btn {
  display: none !important;
}

#booking-view-actions .booking-footer-hidden {
  display: none;
}

.booking-checkout-screen[hidden],
.checkout-view[hidden] {
  display: none !important;
}

.booking-dialog.is-checkout {
  width: min(1180px, calc(100vw - 28px));
}

.booking-dialog.is-checkout form {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.booking-dialog.is-checkout .booking-datetime-head,
.booking-dialog.is-checkout .booking-body,
.booking-dialog.is-checkout .client-add-view,
.booking-dialog.is-checkout #booking-view-actions,
.booking-dialog.is-checkout #booking-edit-actions {
  display: none !important;
}

.booking-checkout-screen {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  background: #fff;
}

.booking-checkout-screen.is-receipt {
  grid-template-columns: minmax(0, 1fr);
}

.booking-checkout-screen.is-receipt .checkout-summary,
.booking-checkout-screen.is-receipt .checkout-crumbs {
  display: none;
}

.booking-checkout-screen.is-receipt .checkout-main {
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.checkout-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 28px 34px 36px;
}

.checkout-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #6f6f6f;
  font-size: 14px;
}

.checkout-crumbs button {
  border: 0;
  background: transparent;
  color: #111;
  padding: 0;
  font-weight: 650;
}

.checkout-crumbs button.active {
  color: #6d55dc;
}

.booking-dialog.is-checkout .checkout-view h2,
.booking-dialog.is-checkout .checkout-packages-view h2,
.booking-dialog.is-checkout .checkout-services-view h2,
.booking-dialog.is-checkout .checkout-products-view h2 {
  position: static;
  grid-column: auto;
  grid-row: auto;
  margin: 0 0 24px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #111;
  font-size: 30px;
  line-height: 1.1;
}

.booking-dialog.is-checkout .checkout-cart-view h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
}

.checkout-cart-view .checkout-search {
  margin-top: 0;
}

.checkout-payment-view h3 {
  margin: 28px 0 16px;
  color: #111;
  font-size: 18px;
  font-weight: 850;
}

.checkout-tip-view p {
  margin: 0 0 28px;
  color: #222;
  font-size: 16px;
}

.checkout-tip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.checkout-tip-grid button {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 800;
}

.checkout-tip-grid button.active {
  border-color: #6d55dc;
  box-shadow: inset 0 0 0 1px #6d55dc;
}

.checkout-tip-grid span {
  color: #767676;
  font-size: 15px;
  font-weight: 600;
}

.checkout-tip-grid i {
  color: #111;
  font-size: 22px;
}

.checkout-search {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  background: #fff;
  padding: 0 14px;
}

.checkout-search i {
  color: #666;
  font-size: 18px;
}

.checkout-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 15px;
}

.checkout-cart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 28px;
}

.checkout-cart-grid button {
  min-height: 94px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  background: #fff;
  padding: 18px;
  color: #111;
  text-align: left;
  font-size: 16px;
  font-weight: 650;
}

.checkout-cart-grid button:hover,
.checkout-cart-grid button:focus-visible,
.checkout-cart-grid button.active {
  background: #f6f6f6;
  outline: none;
}

.checkout-cart-grid i {
  color: #666;
  font-size: 22px;
}

.checkout-combine-panel {
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  background: #fff;
  padding: 18px;
}

.checkout-combine-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-combine-panel strong {
  display: block;
  color: #111;
  font-size: 15px;
  font-weight: 850;
}

.checkout-combine-panel span,
.checkout-combine-panel small {
  color: #777;
  font-size: 13px;
}

.checkout-combine-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eeeeee;
  padding: 12px 0;
  cursor: pointer;
}

.checkout-combine-row:first-child {
  border-top: 0;
}

.checkout-combine-row:hover {
  background: #fafafa;
}

.checkout-combine-row input {
  width: 18px;
  height: 18px;
  accent-color: #7057ff;
}

.checkout-combine-empty {
  margin: 10px 0 0;
  color: #777;
  font-size: 14px;
}

.checkout-combined-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eeeeee;
  padding-top: 16px;
}

.checkout-combined-header strong {
  display: block;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.checkout-combined-header small {
  color: #777;
  font-size: 12px;
}

.checkout-combined-header button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #fff;
  color: #555;
}

.checkout-packages-view > header,
.checkout-products-view > header {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.checkout-packages-view > header h2,
.checkout-products-view > header h2 {
  margin: 0 !important;
}

#checkout-packages-back,
#checkout-products-back {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-size: 22px;
}

.sell-custom-package {
  min-height: 34px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: #111;
  font-weight: 700;
}

.checkout-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.checkout-package-card {
  min-height: 116px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 6px 12px;
  border: 1px solid #eeeeee;
  border-left: 5px solid #7057ff;
  border-radius: 8px;
  background: #fff;
  padding: 18px 18px;
  color: #111;
  text-align: left;
}

.checkout-package-card:hover {
  background: #f6f6f6;
}

.checkout-package-card > span {
  display: none;
}

.checkout-package-card strong {
  grid-column: 1;
  font-size: 17px;
  font-weight: 800;
}

.checkout-package-card small {
  grid-column: 1;
  color: #666;
  font-size: 14px;
}

.checkout-package-card b,
.checkout-package-card i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 16px;
}

.checkout-package-custom {
  border-left-color: #eeeeee;
}

.checkout-package-empty {
  grid-column: 1 / -1;
  margin: 12px 0;
  color: #777;
  text-align: center;
  font-weight: 700;
}

.checkout-product-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.checkout-product-card {
  min-height: 88px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  color: #111;
  text-align: left;
}

.checkout-product-card:hover,
.checkout-product-card:focus-visible {
  background: #f6f6f6;
  outline: none;
}

.checkout-product-thumb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #eaf6ff;
  color: #66aee3;
  font-size: 24px;
}

.checkout-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-product-card strong {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  color: #111;
  font-size: 17px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-product-card small {
  display: block;
  overflow: hidden;
  color: #777;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-product-card b {
  font-size: 16px;
  font-weight: 850;
}

.checkout-product-empty {
  margin: 18px 0;
  color: #777;
  text-align: center;
  font-weight: 700;
}

.checkout-payment-methods small {
  color: #777;
  font-size: 13px;
  font-weight: 600;
}

.checkout-payment-methods label {
  width: 100%;
  display: grid;
  gap: 7px;
  color: #6f6f6f;
  text-align: left;
  font-size: 12px;
  font-weight: 750;
}

.checkout-payment-methods label em {
  font-style: normal;
}

.checkout-payment-methods label span {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

.checkout-payment-methods input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #111;
  caret-color: #111;
  font-size: 16px;
  font-weight: 750;
  text-align: left;
}

.checkout-payment-methods label:focus-within span {
  border-color: #111;
}

.checkout-payment-methods [data-payment-method].is-active,
.checkout-payment-methods [data-sales-create-payment-method].is-active {
  border-color: #d8d8d8;
  background: #fafafa;
}

.checkout-payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.checkout-payment-methods [data-payment-method],
.checkout-payment-methods [data-sales-create-payment-method] {
  min-height: 128px;
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 14px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  background: #fbfbfb;
  color: #111;
  padding: 16px;
  text-align: left;
  cursor: pointer;
}

.checkout-payment-methods [data-payment-method]:hover,
.checkout-payment-methods [data-payment-method]:focus-within,
.checkout-payment-methods [data-sales-create-payment-method]:hover,
.checkout-payment-methods [data-sales-create-payment-method]:focus-within {
  background: #fbfbfb;
}

.checkout-payment-methods i {
  color: #17852a;
  font-size: 22px;
}

.checkout-payment-method-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

.checkout-payment-method-head strong {
  font-size: 16px;
  font-weight: 850;
}

.checkout-payment-empty {
  min-height: 180px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #dddddd;
  border-radius: 14px;
  background: #fbfbfb;
  color: #777;
  text-align: center;
  font-weight: 700;
}

.checkout-payment-empty strong {
  color: #111;
  font-size: 18px;
}

.checkout-receipt-view {
  width: 100%;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  background: #fff;
}

.checkout-receipt-nav {
  display: grid;
  align-content: start;
  gap: 2px;
  border-right: 1px solid #eeeeee;
  background: #fff;
  padding-top: 18px;
}

.checkout-receipt-nav button {
  min-height: 86px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  background: #fff;
  color: #777;
  font-size: 15px;
  font-weight: 700;
}

.checkout-receipt-nav button.active {
  color: #6d55dc;
}

.checkout-receipt-nav button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #6d55dc;
}

.checkout-receipt-nav i {
  font-size: 23px;
}

.checkout-receipt-panel {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 34px 40px 42px;
}

.checkout-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.checkout-receipt-head > div:first-child {
  display: grid;
  gap: 8px;
}

.checkout-receipt-status {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #099315;
  padding: 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.checkout-receipt-status.is-refunded {
  background: #e0e0e0;
  color: #111;
}

.checkout-receipt-status.is-voided {
  background: #d7194a;
  color: #fff;
}

.checkout-receipt-status.is-part-paid {
  background: #fff1b8;
  color: #5f4300;
}

.checkout-receipt-status.is-unpaid {
  background: #e8e8e8;
  color: #333;
}

.checkout-receipt-head h2 {
  margin: 10px 0 0 !important;
  color: #111 !important;
  font-size: 30px !important;
  line-height: 1.05 !important;
}

.checkout-receipt-head p,
.checkout-receipt-card > p {
  margin: 0;
  color: #777;
  font-size: 16px;
}

.checkout-receipt-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkout-receipt-more-wrap {
  position: relative;
}

#checkout-rebook-btn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #080808;
  padding: 0 22px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

#checkout-receipt-more {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #efefef;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 20px;
}

.checkout-sale-actions-menu {
  width: 222px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 12;
  display: grid;
  gap: 2px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.checkout-sale-actions-menu[hidden] {
  display: none;
}

.checkout-sale-actions-menu strong {
  padding: 4px 10px 8px;
  color: #111;
  font-size: 15px;
}

.checkout-sale-actions-menu button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0 10px;
  color: #111;
  font-size: 15px;
  text-align: left;
}

.checkout-sale-actions-menu button:hover,
.checkout-sale-actions-menu button:focus-visible {
  background: #f6f6f6;
  outline: none;
}

.checkout-sale-actions-menu button:disabled {
  color: #b6b6b6;
  cursor: not-allowed;
}

.checkout-sale-actions-menu button:disabled:hover {
  background: transparent;
}

.checkout-sale-actions-menu button.danger {
  color: #c31842;
}

.checkout-sale-actions-menu hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #eeeeee;
  margin: 8px 0;
}

.checkout-receipt-client,
.checkout-receipt-card {
  border: 1px solid #eeeeee;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.035);
}

.checkout-receipt-client {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
  padding: 20px 28px;
}

.checkout-receipt-client div {
  display: grid;
  gap: 4px;
}

.checkout-receipt-client strong {
  color: #111;
  font-size: 19px;
}

.checkout-receipt-client span,
.checkout-receipt-client small {
  color: #777;
  font-size: 15px;
  font-weight: 600;
}

.checkout-receipt-client > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eaf6ff;
  color: #2775a5;
  font-size: 24px;
  font-weight: 850;
}

.checkout-receipt-card {
  padding: 28px 30px;
}

.checkout-receipt-card h3 {
  margin: 0 0 4px;
  color: #111;
  font-size: 22px;
  line-height: 1.15;
}

.checkout-receipt-items {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-bottom: 1px solid #eeeeee;
}

.checkout-receipt-items article,
.checkout-receipt-totals p,
.checkout-receipt-payment p {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

.checkout-receipt-items article {
  padding: 0 0 20px;
}

.checkout-receipt-items article + article {
  padding-top: 20px;
  border-top: 1px solid #f1f1f1;
}

.checkout-receipt-items .checkout-receipt-appt-label {
  display: block;
  padding: 14px 0 10px;
  border-top: 1px solid #eeeeee;
}

.checkout-receipt-items .checkout-receipt-appt-label + article {
  padding-top: 0;
  border-top: 0;
}

.checkout-receipt-items .checkout-receipt-appt-label strong {
  color: #6d55dc;
  font-size: 13px;
  font-weight: 850;
}

.checkout-receipt-items strong {
  display: block;
  color: #111;
  font-size: 16px;
}

.checkout-receipt-items small,
.checkout-receipt-totals span,
.checkout-receipt-payment span {
  color: #777;
  font-size: 15px;
  font-weight: 600;
}

.checkout-receipt-items b,
.checkout-receipt-totals strong,
.checkout-receipt-payment strong {
  color: #111;
  font-size: 16px;
  white-space: nowrap;
}

.checkout-receipt-items .checkout-receipt-note {
  display: block;
  padding-top: 18px;
}

.checkout-receipt-items .checkout-receipt-note small {
  display: block;
  margin-top: 5px;
  color: #555;
  line-height: 1.45;
  white-space: pre-wrap;
}

.checkout-receipt-totals {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid #eeeeee;
}

.checkout-receipt-totals p:last-child span,
.checkout-receipt-totals p:last-child strong {
  color: #111;
  font-weight: 850;
}

.checkout-receipt-payment {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.checkout-receipt-payment small {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 15px;
  font-weight: 500;
}

.checkout-receipt-empty {
  margin: 0 0 18px;
  color: #777;
  font-weight: 700;
}

@media (max-width: 760px) {
  .checkout-receipt-view {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .checkout-receipt-panel {
    padding: 24px 18px 32px;
  }

  .checkout-receipt-head {
    display: grid;
  }

  .checkout-receipt-actions {
    justify-content: flex-start;
  }
}

.booking-checkout-screen.is-refund .checkout-main {
  overflow: auto;
}

.booking-checkout-screen.is-paynow .checkout-main {
  overflow: auto;
}

.checkout-refund-view {
  min-height: 100%;
  background: #fff;
}

.checkout-refund-actions {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-bottom: 1px solid #eeeeee;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 38px;
}

.checkout-refund-actions button {
  min-height: 48px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 22px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

#checkout-refund-next,
#checkout-refund-issue,
#sales-refund-next,
#sales-refund-issue {
  border-color: #111;
  background: #111;
  color: #fff;
}

#checkout-refund-next:disabled,
#checkout-refund-issue:disabled,
#sales-refund-next:disabled,
#sales-refund-issue:disabled {
  border-color: #bdbdbd;
  background: #aaa;
  color: #fff;
}

.checkout-refund-shell {
  width: min(640px, calc(100vw - 80px));
  margin: 54px auto 80px;
}

.checkout-refund-shell h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 38px;
  line-height: 1.05;
}

.checkout-refund-shell > p {
  margin: 0 0 4px;
  color: #777;
  font-size: 16px;
}

.checkout-refund-shell > a {
  color: #6d55dc;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-refund-tabs {
  height: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 38px 0 24px;
  border: 1px solid #eeeeee;
  background: #f4f4f4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.checkout-refund-tabs button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 17px;
  font-weight: 850;
}

.checkout-refund-tabs button.active {
  background: #fff;
  box-shadow: inset 0 0 0 1px #dedede;
}

.checkout-refund-all,
.checkout-refund-item {
  min-height: 66px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eeeeee;
  color: #111;
}

.checkout-refund-all {
  font-weight: 850;
}

.checkout-refund-item strong {
  display: block;
  font-size: 16px;
}

.checkout-refund-item small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 14px;
}

.checkout-refund-item.is-disabled {
  color: #9a9a9a;
  cursor: not-allowed;
}

.checkout-refund-item.is-disabled strong,
.checkout-refund-item.is-disabled small,
.checkout-refund-item.is-disabled b {
  color: #9a9a9a;
}

.checkout-refund-all input,
.checkout-refund-item input,
.checkout-refund-inventory input {
  width: 24px;
  height: 24px;
  accent-color: #111;
}

.checkout-refund-total {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid #eeeeee;
  padding: 20px 0 24px;
}

.checkout-refund-total p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #777;
  font-size: 16px;
}

.checkout-refund-total p:last-child {
  color: #111;
  font-weight: 850;
}

.checkout-refund-inventory {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b0b0b0;
  font-size: 16px;
}

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

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

.checkout-refund-grid label,
.checkout-refund-form-grid label,
.checkout-refund-reason {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 15px;
  font-weight: 850;
}

.checkout-refund-method,
.checkout-refund-money,
.checkout-refund-form-grid select,
.checkout-refund-form-grid input,
.checkout-refund-reason select {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eeeeee;
  background: #fff;
  padding: 0 14px;
  color: #111;
}

.checkout-refund-method select,
.checkout-refund-money input,
.checkout-refund-form-grid select,
.checkout-refund-form-grid input,
.checkout-refund-reason select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-size: 16px;
}

.checkout-refund-money em {
  color: #777;
  font-style: normal;
  font-weight: 700;
}

.checkout-refund-grid small {
  color: #777;
  font-size: 13px;
  font-weight: 600;
}

.checkout-refund-reason {
  margin-top: 28px;
}

.checkout-refund-view.is-confirm .checkout-refund-tabs {
  display: none;
}

.checkout-refund-view.is-confirm .checkout-refund-tab-panel,
.checkout-refund-view.is-confirm .checkout-refund-content {
  margin-top: 36px;
}

.checkout-refund-view.is-confirm .checkout-refund-grid,
.checkout-refund-view.is-confirm .checkout-refund-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.checkout-refund-view.is-confirm .checkout-refund-grid > label:nth-child(2),
.checkout-refund-view.is-confirm .checkout-refund-form-grid > label:nth-child(2) {
  display: none;
}

.checkout-paynow-view {
  min-height: 100%;
  background: #fff;
}

.checkout-paynow-actions {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-bottom: 1px solid #eeeeee;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 38px;
}

.checkout-paynow-actions button {
  min-height: 48px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 22px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

#checkout-paynow-submit {
  border-color: #111;
  background: #111;
  color: #fff;
}

#checkout-paynow-submit:disabled {
  border-color: #bdbdbd;
  background: #aaa;
}

.checkout-paynow-shell {
  width: min(680px, calc(100vw - 80px));
  margin: 54px auto 80px;
}

.checkout-paynow-shell h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 38px;
  line-height: 1.05;
}

.checkout-paynow-shell > p {
  margin: 0 0 28px;
  color: #777;
  font-size: 16px;
}

.checkout-paynow-balance {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #eeeeee;
  background: #fff;
  padding: 0 24px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
}

.checkout-paynow-balance span {
  color: #777;
  font-size: 16px;
  font-weight: 700;
}

.checkout-paynow-balance strong {
  color: #111;
  font-size: 26px;
}

.checkout-paynow-shell h3 {
  margin: 34px 0 16px;
  color: #111;
  font-size: 18px;
}

.checkout-paynow-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-paynow-method {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid #eeeeee;
  background: #fff;
  color: #111;
  text-align: center;
  cursor: pointer;
}

.checkout-paynow-method:focus-visible {
  outline: 3px solid rgba(109, 85, 220, 0.22);
  outline-offset: 2px;
}

.checkout-paynow-method.is-active {
  border-color: #6d55dc;
  box-shadow: inset 0 0 0 1px #6d55dc;
}

.checkout-paynow-methods i {
  color: #17852a;
  font-size: 25px;
}

.checkout-paynow-methods span {
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.checkout-paynow-methods label {
  width: min(150px, 100%);
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.checkout-paynow-methods input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  color: #111;
  font-size: 14px;
  text-align: right;
}

.checkout-paynow-footer {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  border-top: 1px solid #eeeeee;
  padding-top: 18px;
}

.checkout-paynow-footer p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #111;
  font-size: 17px;
  font-weight: 850;
}

#checkout-paynow-state {
  color: #777;
  font-size: 15px;
  font-weight: 650;
}

.checkout-payment-empty a {
  color: #6d55dc;
  font-weight: 850;
  text-decoration: none;
}

.sales-page {
  min-height: 100vh;
  background: #fff;
}

.sales-side-nav {
  position: fixed;
  inset: 54px auto 0 72px;
  z-index: 18;
  width: 210px;
  border-right: 1px solid #eeeeee;
  background: #fff;
  padding: 22px 12px;
}

.sales-side-nav .clients-logo {
  display: none;
}

.sales-side-nav strong {
  display: block;
  margin: 4px 12px 18px;
  color: #111;
  font-size: 17px;
  font-weight: 900;
}

.sales-side-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 0;
  padding: 0 14px;
  color: #111;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.sales-side-nav a.active {
  background: #f1edff;
}

.sales-list-shell {
  min-height: 100vh;
  margin-left: 72px;
  padding: 94px 64px 70px;
}

.sales-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.sales-list-header h1 {
  margin: 0 0 8px;
  color: #111;
  font-size: 32px;
  line-height: 1;
}

.sales-list-header p {
  margin: 0;
  color: #777;
  font-size: 15px;
}

.sales-list-header a {
  color: #6d55dc;
  text-decoration: none;
}

.sales-add-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: #111;
  padding: 0 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.sales-add-btn i {
  color: inherit;
  font-size: 17px;
}

.sales-toolbar button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  color: #111;
  font-size: 15px;
  font-weight: 850;
}

.sales-card {
  /* width: min(1120px, 100%); */
  width: 100%;
}

.sales-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.sales-search {
  width: min(290px, 42vw);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
}

.sales-search i {
  color: #777;
  font-size: 17px;
}

.sales-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 15px;
}

.sales-search input::placeholder {
  color: #b5b5b5;
}

.sales-toolbar button {
  border-color: #eeeeee;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.035);
}

.sales-toolbar button.active {
  border-color: #111;
}

.sales-table-wrap {
  overflow-x: auto;
}

.sales-table {
  width: 100%;
  border-collapse: collapse;
}

.sales-table th,
.sales-table td {
  height: 58px;
  border-bottom: 1px solid #eeeeee;
  padding: 0 16px;
  color: #111;
  font-size: 15px;
  text-align: left;
  white-space: nowrap;
}

.sales-table th {
  color: #191919;
  font-size: 14px;
  font-weight: 900;
}

.sales-table th[data-sales-sort],
.clients-table th[data-clients-sort],
.products-table th[data-products-sort],
th[data-dom-sort] {
  cursor: pointer;
  user-select: none;
}

.sales-table th[data-sales-sort] i,
.clients-table th[data-clients-sort] i,
.products-table th[data-products-sort] i,
th[data-dom-sort] i {
  margin-left: 6px;
  color: #8b8b8b;
  font-size: 12px;
}

.sales-table th.is-sorted,
.clients-table th.is-sorted,
.products-table th.is-sorted,
th.is-sorted[data-dom-sort] {
  color: #101010;
}

.sales-table th.is-sorted i,
.clients-table th.is-sorted i,
.products-table th.is-sorted i,
th.is-sorted[data-dom-sort] i {
  color: #101010;
}

.sales-table tbody tr {
  cursor: pointer;
}

.sales-table tbody tr:hover,
.sales-table tbody tr:focus {
  background: #f7f7f7;
  outline: 0;
}

.sales-table a {
  color: #6d55dc;
  text-decoration: none;
}

.sales-status-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  background: #e7f9e8;
  color: #08751c;
  font-size: 14px;
  font-weight: 850;
}

.sales-status-badge.is-part-paid {
  background: #fff2c5;
  color: #8a5c00;
}

.sales-status-badge.is-unpaid,
.sales-status-badge.is-refunded {
  background: #eeeeee;
  color: #626262;
}

.sales-status-badge.is-voided {
  background: #ffe7ec;
  color: #c51642;
}

.sales-results-count {
  margin: 20px 0 0;
  color: #777;
  font-size: 15px;
  text-align: center;
}

.sales-empty-cell {
  height: 96px !important;
  color: #777 !important;
  text-align: center !important;
}

.sales-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
}

.sales-receipt-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(1180px, calc(100vw - 28px));
  min-width: min(680px, calc(100vw - 28px));
  height: 100vh;
  overflow: visible;
  background: #fff;
  box-shadow: -12px 0 34px rgba(0, 0, 0, 0.08);
  transform: translateX(102%);
  transition: transform 0.22s ease;
}

.sales-receipt-drawer.active {
  transform: translateX(0);
}

.sales-drawer-close {
  position: fixed;
  top: 18px;
  left: -64px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 20px;
}

.sales-drawer-view {
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.sales-create-view {
  padding: 36px 40px;
  background: #fff;
}

.sales-create-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.sales-create-head span {
  color: #777;
  font-size: 13px;
  font-weight: 750;
}

.sales-create-head h2 {
  margin: 4px 0 0;
  color: #111;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 950;
}

.sales-create-head button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #111;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.sales-create-head button:disabled {
  background: #d6d6d6;
  color: #888;
}

.sales-create-grid {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(230px, 1fr) minmax(260px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.sales-create-panel {
  min-width: 0;
  display: grid;
  gap: 14px;
  border: 1px solid #e2ded8;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.sales-create-panel h3 {
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 900;
}

.sales-create-search {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ded8d0;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.sales-create-search i {
  color: #777;
  font-size: 15px;
}

.sales-create-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 14px;
}

.sales-create-item-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}

.sales-create-item-list button {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #ece8e2;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  text-align: left;
}

.sales-create-item-list button:hover {
  border-color: #111;
}

.sales-create-item-list button > span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1edff;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.sales-create-item-list button > span {
  border-radius: 8px;
}

.sales-create-item-list strong {
  min-width: 0;
  overflow: hidden;
  color: #111;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sales-create-item-list small {
  min-width: 0;
  overflow: hidden;
  color: #777;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sales-create-item-list b {
  grid-row: span 2;
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.sales-create-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #ded8d0;
  border-radius: 8px;
  overflow: hidden;
}

.sales-create-tabs button {
  min-height: 40px;
  border: 0;
  background: #fff;
  color: #777;
  font-size: 14px;
  font-weight: 850;
}

.sales-create-tabs button.active {
  background: #111;
  color: #fff;
}

.sales-create-cart label {
  display: grid;
  gap: 7px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.sales-create-cart textarea {
  min-height: 72px;
  resize: vertical;
  border: 1px solid #ded8d0;
  border-radius: 8px;
  padding: 10px 12px;
  outline: 0;
  color: #111;
  font-size: 14px;
}

.sales-create-payments {
  display: grid;
  gap: 8px;
  border-top: 1px solid #eeeeee;
  padding-top: 12px;
}

.sales-create-payments label {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 10px;
  border: 1px solid #ece8e2;
  border-radius: 8px;
  padding: 8px 10px;
}

.sales-create-payments label.is-active {
  border-color: #111;
}

.sales-create-payments label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.sales-create-payments input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.sales-create-total {
  display: grid;
  gap: 7px;
  border-top: 1px solid #eeeeee;
  padding-top: 12px;
}

.sales-create-total p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #777;
  font-size: 14px;
}

.sales-create-total strong {
  color: #111;
  font-weight: 900;
}

.sales-create-empty {
  margin: 0;
  border: 1px dashed #ded8d0;
  border-radius: 8px;
  padding: 18px;
  color: #777;
  font-size: 13px;
  text-align: center;
}

.sales-create-view:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  padding: 0;
  overflow: hidden;
}

.sales-create-view .checkout-main {
  min-width: 0;
  min-height: 0;
  height: 100vh;
  overflow: auto;
  padding: 28px 34px 36px;
}

.sales-create-view .checkout-summary {
  min-height: 100vh;
}

.sales-create-view .checkout-cart-view h2,
.sales-create-view .sales-create-client-view h2,
.sales-create-view .checkout-payment-view h2,
.sales-create-view .checkout-products-view h2 {
  margin-top: 0;
}

.sales-create-view .sales-create-client-view {
  min-height: 0;
  /* height: 100%; */
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.sales-create-cart-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 28px;
}

.sales-create-view .sales-create-client-list {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 0;
  max-height: none;
  margin-top: 16px;
  overflow: auto;
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
}

.sales-create-view .sales-create-client-search {
  grid-template-columns: 20px 1fr !important;
  margin-bottom: 0;
  border-color: #cbc5ec;
}

.sales-create-view .sales-create-client-list .client-choice {
  width: 100%;
  min-height: 72px;
  margin-left: 0;
  border-top: 0;
  border-bottom: 1px solid #f3f3f3;
  padding: 11px 12px;
}

.sales-create-view .sales-create-client-list .client-choice:last-child {
  border-bottom: 0;
}

.sales-create-view .sales-create-client-list .client-choice:hover,
.sales-create-view .sales-create-client-list .client-choice.active,
.sales-create-view .sales-create-client-list .client-choice.selected {
  background: #fbfaff;
}

.sales-create-view .sales-create-client-list .client-choice.active {
  box-shadow: inset 3px 0 0 #7657dc;
}

.sales-create-view .sales-create-client-list .client-photo,
.sales-create-view .sales-create-client-list .client-icon {
  width: 48px;
  height: 48px;
  font-size: 14px;
}

.sales-create-view .checkout-cart-view .sales-create-client-list {
  max-height: 210px;
}

.sales-create-view .sales-create-item-list {
  max-height: none;
  overflow: visible;
}

.sales-create-view .sales-create-appointment-list {
  display: block;
}

.sales-create-view .sales-create-item-list .checkout-product-card {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  border-color: #eeeeee;
  padding: 14px;
}

.sales-create-view .sales-create-item-list .checkout-product-card:hover {
  border-color: #111;
}

.sales-create-view .sales-create-item-list .checkout-product-card .checkout-product-thumb {
  grid-row: auto;
  width: 52px;
  height: 52px;
  border-radius: 8px;
}

.sales-create-view .checkout-payment-lines button {
  border: 0;
  background: transparent;
  color: #c51642;
}

.sales-drawer-receipt-view {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
}

#sales-receipt-more {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 20px;
}

.sales-receipt-drawer .checkout-receipt-nav {
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.sales-receipt-drawer .checkout-receipt-panel {
  padding-top: 34px;
}

@media (max-width: 920px) {
  .sales-side-nav {
    display: none;
  }

  .sales-list-shell {
    margin-left: 72px;
    padding-inline: 20px;
  }

  .sales-receipt-drawer {
    width: calc(100vw - 40px);
    min-width: 0;
  }
}

.checkout-summary {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  border-left: 1px solid #eeeeee;
  background: #fff;
}

.checkout-client-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #eeeeee;
  padding: 18px 24px;
}

.checkout-client-avatar {
  grid-column: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff5ee;
  color: #0f1b1d;
  overflow: hidden;
  font-size: 21px;
  font-weight: 850;
}

.checkout-client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-client-card strong {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  color: #111;
  font-size: 17px;
  font-weight: 850;
}

.checkout-summary-items {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 20px;
  overflow: auto;
  padding: 26px 24px;
}

.checkout-summary-item {
  position: relative;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  border-radius: 14px;
  padding: 8px 44px 8px 0;
  transition: background .14s ease;
}

.checkout-summary-item:hover {
  background: #f8f8f8;
}

.checkout-summary-item.is-readonly:hover {
  background: transparent;
}

.checkout-summary-item.is-covered {
  background: #fbfffc;
}

.checkout-item-line {
  width: 5px;
  min-height: 80px;
  border-radius: 999px;
  background: #c86cff;
}

.checkout-summary-package .checkout-item-line {
  background: #7057ff;
}

.checkout-summary-tip .checkout-item-line {
  background: #f3dc91;
}

.checkout-summary-item .checkout-item-copy {
  display: grid;
  gap: 5px;
}

.checkout-summary-item strong {
  color: #111;
  font-size: 17px;
  font-weight: 800;
}

.checkout-summary-item small {
  color: #777;
  font-size: 14px;
}

.checkout-summary-item em {
  width: max-content;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 5px 10px;
  color: #111;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.checkout-summary-item.is-covered em:last-of-type {
  border-color: #e6f2e8;
  background: #eef9ef;
  color: #27834f;
}

.checkout-summary-item b {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #111;
  font-size: 17px;
  font-weight: 850;
  transition: opacity .12s ease;
}

.checkout-summary-item.has-actions:hover > b,
.checkout-summary-item.has-actions:focus-within > b {
  opacity: 0;
}

.checkout-summary-item b del {
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 700;
}

.checkout-free-label {
  color: #111;
  font-size: 16px;
  font-weight: 850;
}

.checkout-package-qty {
  grid-column: 3;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  align-self: end;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
}

.checkout-package-qty button {
  width: 34px;
  height: 32px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 800;
}

.checkout-package-qty span {
  min-width: 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.checkout-summary-actions {
  position: absolute;
  top: 10px;
  right: 6px;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
}

.checkout-summary-item:hover .checkout-summary-actions,
.checkout-summary-item:focus-within .checkout-summary-actions {
  opacity: 1;
  pointer-events: auto;
}

.checkout-summary-actions button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
}

.checkout-summary-actions .danger {
  color: #cf2d53;
}

.checkout-notes {
  display: grid;
  gap: 12px;
  padding: 0 24px 18px;
}

.checkout-notes label {
  display: grid;
  gap: 8px;
  color: #3f3f46;
  font-size: 13px;
  font-weight: 750;
}

.checkout-notes textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  color: #111;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-notes textarea:focus {
  border-color: #111;
  outline: none;
}

.checkout-footer {
  position: relative;
  border-top: 1px solid #eeeeee;
  padding: 18px 24px 22px;
}

.checkout-footer p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  color: #777;
  font-size: 14px;
}

.checkout-footer p:nth-of-type(2) {
  color: #111;
  font-size: 16px;
  font-weight: 850;
}

.checkout-footer strong {
  color: #111;
}

.checkout-footer > div:last-child {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  margin-top: 18px;
}

.checkout-breakdown {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.checkout-breakdown p {
  margin: 0;
}

.checkout-breakdown p[hidden] {
  display: none;
}

#checkout-cart-discount-line span,
#checkout-cart-discount-line strong {
  color: #6d55dc;
}

.checkout-payment-lines {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  border-top: 1px solid #eeeeee;
  padding-top: 12px;
}

.checkout-payment-lines[hidden] {
  display: none;
}

.checkout-payment-lines p {
  margin: 0;
}

.checkout-payment-lines button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 17px;
}

.checkout-payment-state {
  margin-top: 12px !important;
  color: #111 !important;
  font-weight: 850 !important;
}

#checkout-more-btn,
#sales-create-more-btn {
  width: 52px;
  height: 52px;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 22px;
}

#checkout-payment-btn,
#sales-create-submit {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #090f10;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.checkout-actions-menu {
  position: absolute;
  right: 0;
  bottom: 62px;
  z-index: 5;
  width: 225px;
  display: grid;
  gap: 4px;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .16);
  padding: 14px 12px;
}

.checkout-actions-menu[hidden] {
  display: none;
}

.checkout-actions-menu strong {
  padding: 4px 8px 8px;
  color: #111;
  font-size: 15px;
  font-weight: 850;
}

.checkout-actions-menu button {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #111;
  padding: 0 8px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.checkout-actions-menu button:hover {
  background: #f7f7f7;
}

.checkout-actions-menu i {
  width: 19px;
  font-size: 17px;
}

.checkout-actions-menu hr {
  width: 100%;
  margin: 8px 0;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.checkout-actions-menu .danger {
  color: #cf2d53;
}

.checkout-cart-discount-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .32);
}

.checkout-cart-discount-overlay[hidden] {
  display: none;
}

.checkout-cart-discount-modal {
  position: relative;
  width: min(700px, calc(100vw - 42px));
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .28);
  padding: 34px 42px 30px;
}

.checkout-cart-discount-modal h2 {
  margin: 0 0 8px;
  color: #111;
  font-size: 24px;
  font-weight: 850;
}

.checkout-cart-discount-modal > p {
  margin: 0 0 30px;
  color: #666;
  font-size: 15px;
}

.checkout-cart-discount-modal label {
  width: 290px;
  display: grid;
  gap: 8px;
  color: #111;
  font-weight: 850;
}

.checkout-cart-discount-modal .checkout-discount-input {
  height: 48px;
}

.checkout-discount-preview {
  display: grid;
  gap: 4px;
  margin: 52px 0 0 !important;
}

.checkout-discount-preview span {
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.checkout-discount-preview strong {
  color: #111;
  font-size: 19px;
  font-weight: 900;
}

.checkout-discount-preview del {
  color: #999;
  font-size: 16px;
  font-weight: 700;
}

.checkout-cart-discount-modal .checkout-edit-apply {
  position: absolute;
  right: 42px;
  bottom: 34px;
}

.checkout-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .32);
}

.checkout-edit-overlay[hidden] {
  display: none;
}

.checkout-edit-modal {
  position: relative;
  width: 760px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .28);
  padding: 34px 42px 28px;
}

.checkout-edit-modal h2 {
  margin: 0 0 28px;
  color: #111;
  font-size: 24px;
  font-weight: 850;
}

.checkout-edit-close {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 22px;
}

.checkout-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.checkout-edit-grid label {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.checkout-edit-wide {
  grid-column: 1 / -1;
}

.checkout-money-input,
.checkout-discount-input,
.checkout-edit-qty {
  display: flex;
  min-height: 54px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.checkout-money-input em,
.checkout-discount-input button {
  width: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid #eeeeee;
  background: #fafafa;
  color: #777;
  font-style: normal;
  font-weight: 800;
}

.checkout-money-input input,
.checkout-discount-input input,
.checkout-edit-qty input,
.checkout-edit-grid select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: #fff;
  padding: 0 16px;
  font-size: 16px;
}

.checkout-edit-grid select {
  height: 54px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.checkout-edit-qty input {
  flex: 1;
}

.checkout-edit-qty button {
  width: 52px;
  border: 0;
  border-left: 1px solid #eeeeee;
  background: #fff;
  font-size: 22px;
  font-weight: 800;
}

.checkout-edit-merchant {
  margin: 26px 0 26px;
  font-size: 15px;
}

.checkout-edit-merchant span {
  color: #7057ff;
}

.checkout-edit-total {
  margin: 0 0 18px;
  display: grid;
  gap: 2px;
  font-weight: 850;
}

.checkout-edit-total span {
  color: #111;
  font-size: 14px;
}

.checkout-edit-total strong {
  font-size: 20px;
}

.checkout-edit-total del {
  color: #888;
  font-size: 15px;
}

.checkout-edit-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.checkout-edit-delete {
  width: 50px;
  height: 50px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  color: #cf2d53;
  font-size: 18px;
}

.checkout-edit-apply {
  min-width: 96px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #080f0f;
  color: #fff;
  padding: 0 26px;
  font-weight: 850;
}

.booking-body {
  min-height: 0;
  display: contents;
}

.status-list {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.booking-hidden-fields {
  display: none;
}

/* legacy status styles retained for non-Fresha dialogs */
.status-list {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 0;
  border-right: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
  background: #fbfbfb;
  padding: 18px;
}

.status-list strong {
  margin-bottom: 8px;
  background: transparent;
  padding: 0;
  font-size: 18px;
}

.status-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff;
  padding: 10px 12px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.status-list input {
  accent-color: #8f72e8;
}

.booking-dialog .status-list {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-col {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px 32px;
  overflow: auto;
}

.panel-kicker {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 12px;
  align-items: center;
  margin-bottom: 8px;
}

.panel-kicker i {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eeeaff;
  color: #7e67d6;
  font-size: 21px;
}

.panel-kicker strong {
  color: #111;
  font-size: 18px;
}

.panel-kicker span {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.2;
}

.client-panel {
  grid-column: 1;
  grid-row: 1 / 4;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid #f0f0f0;
  background: #fff;
  padding: 24px 22px;
  overflow-y: auto;
}

.client-add-entry {
  display: none;
  justify-items: center;
  gap: 9px;
  width: 100%;
  background: transparent;
  padding: 14px 6px;
  color: #1b1d21;
  cursor: pointer;
  text-align: center;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.client-add-entry span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eeeaff;
  color: #7657dc;
  font-size: 26px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.client-add-entry strong {
  font-size: 18px;
  font-weight: 850;
}

.client-add-entry small {
  color: #8b8b8b;
  font-size: 15px;
  line-height: 1.3;
}

.client-add-entry:hover,
.client-add-entry:focus-visible {
  border-color: #d9d0ff;
  background: #fbfaff;
  /* box-shadow: 0 8px 22px rgba(118, 87, 220, .12); */
}

.client-add-entry:hover span,
.client-add-entry:focus-visible span {
  background: #e4ddff;
  color: #5f3ed4;
  /* box-shadow: 0 8px 20px rgba(118, 87, 220, .16); */
}

.client-add-entry:focus-visible {
  outline: 2px solid #7657dc;
  outline-offset: 3px;
}

.walk-in-client-fields {
  display: none;
  width: 100%;
  gap: 18px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  /* box-shadow: 0 8px 22px rgba(0, 0, 0, .035); */
}

.walk-in-client-fields header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.walk-in-client-fields header > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eeeaff;
  color: #7657dc;
  font-size: 20px;
}

.walk-in-client-fields strong,
.walk-in-client-fields small {
  display: block;
}

.walk-in-client-fields strong {
  color: #111;
  font-size: 17px;
  font-weight: 900;
}

.walk-in-client-fields small {
  margin-top: 3px;
  color: #777;
  font-size: 13px;
  line-height: 1.3;
}

.walk-in-client-fields label {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.walk-in-client-fields input[type="text"],
.walk-in-client-fields input[type="tel"],
.walk-in-client-fields #customer-name,
.walk-in-client-fields #phone {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  padding: 0 14px;
  color: #111;
  font-size: 15px;
}

.walk-in-client-fields textarea,
.selected-client-note textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  padding: 12px 14px;
  color: #111;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
}

.walk-in-gender-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.walk-in-gender-toggle > span {
  grid-column: 1 / -1;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.walk-in-gender-toggle label {
  position: relative;
  display: block;
}

.walk-in-gender-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.walk-in-gender-toggle b {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.walk-in-gender-toggle input:checked + b {
  border-color: #111;
  background: #111;
  color: #fff;
}

.booking-dialog.is-new-booking .client-panel {
  display: grid;
  align-content: start;
}

.booking-dialog.is-new-booking:not(.is-client-selecting) .client-panel {
  justify-items: stretch;
  gap: 18px;
  padding-top: 28px;
}

.booking-dialog.is-new-booking:not(.is-client-selecting) .client-selector-title,
.booking-dialog.is-new-booking:not(.is-client-selecting) .client-search-field,
.booking-dialog.is-new-booking:not(.is-client-selecting) .client-choice,
.booking-dialog.is-new-booking:not(.is-client-selecting) .booking-client-list {
  display: none !important;
}

.booking-dialog.is-new-booking:not(.is-client-selecting):not(.has-client-selected) .client-add-entry,
.booking-dialog.is-new-booking:not(.is-client-selecting):not(.has-client-selected) .walk-in-client-fields {
  display: grid;
}

.booking-dialog.is-new-booking.is-client-selecting .client-add-entry,
.booking-dialog.is-new-booking.has-client-selected .client-add-entry,
.booking-dialog.is-new-booking.is-client-selecting .walk-in-client-fields,
.booking-dialog.is-new-booking.has-client-selected .walk-in-client-fields {
  display: none;
}

.client-panel h3,
.fresha-services h3 {
  margin: 0 0 18px;
  color: #24272b;
  font-size: 20px;
  font-weight: 800;
}

.client-selector-title[hidden],
.client-search-field[hidden],
.client-choice[hidden] {
  display: none !important;
}

.client-search-field {
  height: 44px;
  display: grid !important;
  grid-template-columns: 20px 1fr 28px !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 14px;
  border: 1px solid #cbc5ec;
  border-radius: 8px;
  padding: 0 10px;
  color: #8f8f8f !important;
  font-size: 14px !important;
}

.client-search-field input {
  height: auto;
  border: 0;
  outline: 0;
  padding: 0;
  min-width: 0;
}

.client-search-field .mini-danger {
  width: 24px;
  height: 24px;
  visibility: visible !important;
  border-radius: 50%;
  background: transparent;
  color: #b1b1b1;
  font-size: 18px;
}

.client-choice {
  width: calc(100% + 44px);
  min-height: 70px;
  margin-left: -22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  border-top: 1px solid #f3f3f3;
  background: #fff;
  padding: 10px 22px;
  text-align: left;
}

.client-choice:hover,
.client-choice.selected {
  background: #fafafa;
}

.client-choice strong {
  color: #24272b;
  font-size: 14px;
  font-weight: 800;
}

.client-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.client-choice-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-code-badge {
  flex: 0 0 auto;
  max-width: 132px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1efff;
  color: #5f3ed4;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-choice small {
  grid-column: 2;
  display: block;
  margin-top: 5px;
  color: #919191;
  font-size: 12px;
}

.booking-client-list {
  width: 100%;
}

.client-list-state {
  margin: 12px 0;
  color: #8f8f8f;
  font-size: 14px;
  text-align: center;
}

.client-icon,
.client-photo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee9ff;
  color: #8d76e9;
  font-weight: 800;
}

.client-photo {
  background: linear-gradient(135deg, #9edff0, #5fb6a9);
  color: #fff;
}

.client-photo.peach {
  background: linear-gradient(135deg, #ffc260, #f58ab5);
}

.client-photo.green {
  background: linear-gradient(135deg, #69d4c7, #80e7a2);
}

.client-profile-panel {
  width: calc(100% + 44px);
  margin: -24px 0 -24px -22px;
  background: #fff;
  overflow-x: hidden;
}

.client-profile-panel[hidden] {
  display: none;
}

.client-profile-head {
  display: grid;
  justify-items: center;
  border-bottom: 1px solid #efefef;
  padding: 30px 26px 26px;
  text-align: center;
}

.client-profile-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f58ab5, #9edff0);
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.client-profile-head h3 {
  margin: 0 0 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 23px;
}

.client-profile-head p {
  margin: 0 0 4px;
  max-width: 100%;
  color: #8c8c8c;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.client-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin-top: 30px;
}

.create-temp-client-account {
  display: none;
}

.client-profile-panel.is-temp-client .client-profile-actions {
  grid-template-columns: 1fr;
}

.client-profile-panel.is-temp-client .client-action-wrap,
.client-profile-panel.is-temp-client .client-profile-actions > button:not(.create-temp-client-account),
.client-profile-panel.is-temp-client .client-insights,
.client-profile-panel.is-temp-client .client-facts,
.client-profile-panel.is-temp-client .selected-client-note {
  display: none;
}

.client-profile-panel.is-temp-client .create-temp-client-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-color: #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
}

.client-profile-actions > button,
.client-action-wrap > button {
  min-height: 48px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  width: 100%;
}

.client-action-wrap {
  position: relative;
  min-width: 0;
}

.client-actions-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 8;
  width: 245px;
  display: grid;
  gap: 2px;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  padding: 10px 0;
  text-align: left;
}

.client-actions-menu[hidden] {
  display: none !important;
}

.client-actions-menu button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #181818;
  padding: 0 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
}

.client-actions-menu button:hover {
  background: #f7f7f7;
}

.client-actions-menu button:disabled {
  background: #f3f4f5;
  color: #9ba2aa;
  cursor: not-allowed;
  opacity: 1;
}

.client-actions-menu button:disabled:hover {
  background: #f3f4f5;
}

.client-actions-menu button:disabled i {
  color: #bec3ca;
}

.client-actions-menu strong {
  padding: 14px 18px 6px;
  color: #151515;
  font-size: 16px;
  font-weight: 850;
}

.client-actions-menu hr {
  width: calc(100% - 34px);
  margin: 10px auto;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.client-actions-menu .danger {
  color: #df3553;
}

.temp-client-booking-details {
  display: none;
}

.client-profile-panel.is-temp-client .temp-client-booking-details {
  display: grid;
  gap: 12px;
  border-top: 1px solid #efefef;
  padding: 22px 28px;
}

.temp-client-booking-details p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.temp-client-booking-details span {
  color: #777;
  font-size: 12px;
  font-weight: 750;
}

.temp-client-booking-details strong {
  color: #111;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  white-space: pre-wrap;
}

.selected-client-note {
  display: grid;
  gap: 8px;
  border-top: 1px solid #efefef;
  padding: 24px 28px 28px;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.client-add-view {
  position: absolute;
  inset: 0;
  z-index: 12;
  overflow-y: auto;
  background: #fff;
  padding: 72px 56px 56px;
}

.member-client-add-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  width: min(1120px, calc(100vw - 80px));
  height: 100vh;
  border-left: 1px solid #e8e8e8;
  background: #fff;
  box-shadow: -18px 0 38px rgba(0, 0, 0, .16);
  transform: translateX(104%);
  transition: transform .24s ease;
}

.member-client-add-drawer.active {
  transform: translateX(0);
}

.member-client-add-drawer[hidden] {
  display: block;
  pointer-events: none;
}

.member-client-add-drawer.active[hidden] {
  pointer-events: auto;
}

.member-client-add-drawer .client-add-view {
  position: absolute;
  display: block;
}

.client-add-view[hidden] {
  display: none !important;
}

.client-add-actions {
  position: absolute;
  top: 18px;
  right: 24px;
  display: flex;
  gap: 10px;
}

.client-add-actions button {
  min-height: 42px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
}

.client-add-actions #save-client-add {
  border-color: #101010;
  background: #101010;
  color: #fff;
}

.client-add-view h2 {
  margin: 0 0 28px;
  color: #111;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.1;
}

.client-add-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 78px;
  align-items: start;
}

.client-add-nav {
  display: grid;
  gap: 8px;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 24px;
}

.client-add-nav strong {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 850;
}

.client-add-nav button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  text-align: left;
  font-size: 14px;
}

.client-add-nav button.active {
  background: #f0efff;
}

.client-add-nav hr {
  width: 100%;
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.client-add-panel {
  display: none;
}

.client-add-panel.active {
  display: block;
}

.client-add-profile,
.client-add-addresses,
.client-add-emergency {
  max-width: 700px;
}

.client-add-profile h3,
.client-add-addresses h3,
.client-add-emergency h3 {
  margin: 4px 0 2px;
  font-size: 22px;
  font-weight: 850;
}

.client-add-profile > p,
.client-add-addresses > p,
.client-add-emergency > p {
  margin: 0 0 24px;
  color: #8b8b8b;
  font-size: 13px;
}

.emergency-contact-section {
  padding-top: 10px;
}

.emergency-contact-section + .emergency-contact-section {
  margin-top: 38px;
  border-top: 1px solid #e6e6e6;
  padding-top: 34px;
}

.emergency-contact-section h4 {
  margin: 0 0 28px;
  color: #111;
  font-size: 18px;
  font-weight: 850;
}

.add-address-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #7357d6;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 650;
}

.address-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .32);
  padding: 24px;
}

.address-modal-backdrop[hidden] {
  display: none !important;
}

.address-modal {
  position: relative;
  width: min(460px, 92vw);
  max-height: min(720px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.address-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 18px;
}

.address-modal h3 {
  margin: 0;
  padding: 48px 48px 24px;
  font-size: 26px;
  font-weight: 850;
}

.address-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 48px 22px;
}

.address-type-grid button {
  position: relative;
  min-height: 100px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
}

.address-type-grid i {
  font-size: 20px;
}

.address-type-grid button.selected {
  border-color: #7256df;
  background: #f1efff;
  box-shadow: inset 0 0 0 1px #7256df;
}

.address-type-grid button.selected::after {
  content: "\F26A";
  position: absolute;
  top: -9px;
  right: -8px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #7256df;
  color: #fff;
  font-family: "bootstrap-icons";
  font-size: 12px;
}

.address-form {
  display: grid;
  gap: 18px;
  overflow-y: auto;
  padding: 0 48px 28px;
}

.address-form label {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.address-search-label {
  position: relative;
}

.address-form input,
.address-form select {
  width: 100%;
  height: 43px;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  padding: 0 12px;
  font-size: 14px;
}

.address-search-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  padding: 0 12px;
}

.address-search-field input {
  border: 0;
  padding: 0;
}

.address-suggestion-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: 270px;
  overflow-y: auto;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
  padding: 6px;
}

.address-suggestion-menu[hidden] {
  display: none !important;
}

.address-suggestion-menu button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  text-align: left;
}

.address-suggestion-menu button:hover {
  background: #f6f4ff;
}

.address-suggestion-menu i {
  color: #7357d6;
  font-size: 18px;
}

.address-suggestion-menu span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.address-suggestion-menu strong,
.address-suggestion-menu small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-suggestion-menu strong {
  color: #171717;
  font-size: 14px;
  font-weight: 850;
}

.address-suggestion-menu small {
  color: #808080;
  font-size: 12px;
  font-weight: 500;
}

.address-detail-card {
  display: grid;
  gap: 14px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 18px;
}

.address-detail-card label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.address-detail-card input,
.address-detail-card select {
  background: #fff;
  font-weight: 500;
}

.address-detail-card input::placeholder {
  color: #7357d6;
  opacity: 1;
}

.address-modal-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eeeeee;
  padding: 16px 48px;
}

.address-modal-actions button {
  min-height: 44px;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  background: #fff;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 850;
}

.address-modal-actions #continue-address-modal {
  border-color: #101d1f;
  background: #101d1f;
  color: #fff;
}

.client-add-avatar {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5bf7b, #8fd8ee);
  color: #fff;
  font-size: 32px;
  font-weight: 850;
}

.client-add-avatar button {
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fff;
  color: #111;
  padding: 0;
  font-size: 15px;
}

.client-add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
}

.client-add-grid label {
  display: grid;
  gap: 7px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.client-add-grid input,
.client-add-grid select {
  width: 100%;
  height: 42px;
  border: 1px solid #dddddd;
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
}

.client-add-phone {
  display: grid;
  grid-template-columns: minmax(156px, .8fr) minmax(0, 1fr);
  gap: 7px;
}

.client-add-phone .js-dial-code-select[hidden] {
  display: none;
}

.client-add-phone .iti {
  grid-column: 1 / -1;
  width: 100%;
}

.client-add-phone .iti input {
  width: 100%;
}

.iti__country-list .iti__country[data-country-code="cn"],
.iti__country-list .iti__country[data-iso2="cn"] {
  border-bottom: 1px solid #eeeeee;
}

.client-add-extra {
  margin-top: 54px;
}

.client-add-extra h3 {
  margin-top: 0;
}

.client-add-extra small {
  position: relative;
  display: block;
  color: #8b8b8b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.client-add-extra a {
  color: #7357d6;
  text-decoration: none;
}

.client-add-extra .field-count {
  position: absolute;
  right: 0;
  top: -26px;
}

.client-add-extra hr {
  margin: 42px 0 28px;
  border: 0;
  border-top: 1px solid #e6e6e6;
}

.client-insights,
.client-facts {
  display: grid;
  gap: 20px;
  padding: 26px 28px;
}

.client-insights {
  border-bottom: 1px solid #efefef;
}

.client-insights p,
.client-insights .health-insight,
.client-facts p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
  margin: 0;
  min-width: 0;
}

.client-insights i,
.client-facts i {
  grid-row: 1 / span 2;
  color: #202327;
  font-size: 24px;
}

.client-insights .health-insight {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.client-insights .health-insight:hover strong,
.drawer-alerts .health-insight:hover strong {
  text-decoration: underline;
}

.client-insights strong {
  color: #24272b;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.client-insights span {
  color: #8c8c8c;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.client-facts span {
  color: #24272b;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.green-dot {
  color: #42c850 !important;
  filter: drop-shadow(0 0 4px rgba(66, 200, 80, .55));
  font-size: 15px !important;
}

.amber-dot {
  color: #c97920 !important;
  filter: drop-shadow(0 0 4px rgba(201, 121, 32, .45));
  font-size: 15px !important;
}

.red-dot {
  color: #d72158 !important;
  filter: drop-shadow(0 0 4px rgba(215, 33, 88, .45));
  font-size: 15px !important;
}

.appointment-panel {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  background: #fff;
  padding: 24px;
  overflow-y: auto;
}

.fresha-services {
  display: grid;
  gap: 14px;
}

.new-booking-service-selector {
  display: none;
  gap: 16px;
}

.booking-dialog.is-new-booking .new-booking-service-selector {
  display: grid;
}

.booking-dialog.is-adding-service .new-booking-service-selector {
  display: grid;
}

.booking-dialog.is-new-booking.has-selected-services .new-booking-service-selector {
  display: none;
}

.booking-dialog.is-new-booking.is-adding-service .new-booking-service-selector {
  display: grid;
}

.service-selector-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-selector-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #101010;
  padding: 0;
  font-size: 18px;
}

.service-selector-head button:hover {
  background: #f5f5f5;
}

.booking-dialog.is-new-booking:not(.has-selected-services) .service-selector-head button {
  display: none;
}

.service-selector-head h3,
.new-booking-service-selector h3 {
  margin: 0;
  color: #121417;
  font-size: 24px;
  font-weight: 850;
}

.new-service-search {
  height: 46px;
  display: grid !important;
  grid-template-columns: 24px 1fr !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 0 14px;
  color: #777 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.new-service-search input {
  height: auto !important;
  border: 0 !important;
  outline: 0;
  padding: 0 !important;
  min-width: 0;
  font-size: 14px;
}

.new-service-groups {
  display: grid;
  gap: 18px;
}

.new-service-group {
  display: grid;
  gap: 10px;
}

.new-service-group h4 {
  margin: 0;
  color: #111;
  font-size: 17px;
  font-weight: 850;
}

.new-service-group h4 span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 50%;
  background: #f1f1f1;
  color: #777;
  font-size: 12px;
}

.new-service-row {
  width: 100%;
}

.new-service-row:hover {
  background: #f6f6f6;
}

.booking-dialog.is-new-booking .appointment-panel {
  padding-top: 24px;
}

.booking-dialog.is-new-booking .fresha-services {
  margin-top: 4px;
  border-top: 1px solid #eeeeee;
  padding-top: 18px;
}

.booking-dialog.is-new-booking .fresha-services > h3,
.booking-dialog.is-new-booking .add-service-pill {
  display: none;
}

.booking-dialog.is-new-booking.has-selected-services .fresha-services > h3,
.booking-dialog.is-new-booking.has-selected-services .add-service-pill {
  display: block;
}

.booking-dialog.is-new-booking:not(.has-selected-services) .fresha-services {
  display: none;
}

.booking-dialog.is-adding-service .fresha-services {
  display: none;
}

.service-summary-list {
  display: grid;
  gap: 12px;
}

.service-summary-card {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  text-align: left;
}

.service-summary-card:hover,
.service-summary-card:focus-visible {
  background: #f6f6f6;
  outline: none;
}

.service-line {
  width: 5px;
  min-height: 56px;
  border-radius: 999px;
  background: #9ee9fb;
}

.service-summary-card strong {
  display: block;
  margin-bottom: 4px;
  color: #24272b;
  font-size: 17px;
  font-weight: 850;
}

.service-summary-card small {
  display: block;
  color: #8c8c8c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.service-summary-card em {
  display: inline-block;
  margin-top: 12px;
  border-radius: 999px;
  background: #f0eaff;
  color: #7761cf;
  padding: 6px 12px;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.service-summary-card b {
  color: #24272b;
  font-size: 16px;
  font-weight: 850;
}

.add-service-pill {
  width: max-content;
  min-height: 40px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: #24272b;
  font-weight: 800;
}

.form-col label {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 8px;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 650;
}

.form-col input, .form-col select, .form-col textarea, .new-form input, .new-form select, .service-filters input, .service-filters select {
  height: 44px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  padding: 6px 12px;
  background: #fff;
}

.form-col input:focus,
.form-col select:focus,
.form-col textarea:focus,
.service-filters input:focus,
.service-filters select:focus {
  border-color: #b9c9eb;
  outline: 3px solid rgba(145, 169, 214, .22);
}

.form-col textarea {
  height: 92px;
  resize: none;
}

.booking-dialog input:disabled,
.booking-dialog select:disabled,
.booking-dialog textarea:disabled,
.booking-dialog.is-readonly input:disabled,
.booking-dialog.is-readonly select:disabled,
.booking-dialog.is-readonly textarea:disabled {
  border-color: #d9dde2 !important;
  background: #f4f5f6 !important;
  color: #9ba2aa !important;
  cursor: not-allowed;
  opacity: 1;
  -webkit-text-fill-color: #9ba2aa;
}

.booking-dialog select:disabled {
  color: #9ba2aa !important;
}

.booking-dialog.is-readonly input[type="radio"]:disabled,
.booking-dialog.is-readonly input[type="checkbox"]:disabled {
  accent-color: #c3c8cf;
  cursor: not-allowed;
  opacity: .62;
}

.booking-dialog.is-readonly .status-list label:has(input:disabled),
.booking-dialog.is-readonly .walk-in-gender-toggle label:has(input:disabled) {
  color: #a4abb3;
  cursor: not-allowed;
}

.booking-dialog button:disabled,
.booking-actions-menu button:disabled,
.booking-status-menu button:disabled {
  border-color: #d9dde2 !important;
  background: #f3f4f5 !important;
  color: #9ba2aa !important;
  cursor: not-allowed !important;
  opacity: 1;
}

.booking-dialog button:disabled i,
.booking-actions-menu button:disabled i,
.booking-status-menu button:disabled i {
  color: #bec3ca !important;
  opacity: .75;
}

.booking-dialog button:disabled:hover,
.booking-actions-menu button:disabled:hover,
.booking-status-menu button:disabled:hover {
  background: #f3f4f5 !important;
  transform: none !important;
  filter: none !important;
}

.booking-dialog .booking-status-btn:disabled {
  border-color: rgba(255, 255, 255, .45) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .58) !important;
}

.booking-dialog .booking-date-title:disabled,
.booking-dialog .booking-time-title:disabled {
  border-color: transparent !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .62) !important;
}

.booking-dialog .booking-date-title:disabled span,
.booking-dialog .booking-time-title:disabled small,
.booking-dialog .booking-date-title:disabled i,
.booking-dialog .booking-time-title:disabled i,
.booking-dialog .booking-status-btn:disabled i {
  color: rgba(255, 255, 255, .58) !important;
}

.booking-dialog:not(.has-booking-status) .booking-date-title:disabled,
.booking-dialog:not(.has-booking-status) .booking-time-title:disabled {
  color: #a4abb3 !important;
}

.booking-dialog:not(.has-booking-status) .booking-date-title:disabled span,
.booking-dialog:not(.has-booking-status) .booking-time-title:disabled small,
.booking-dialog:not(.has-booking-status) .booking-date-title:disabled i,
.booking-dialog:not(.has-booking-status) .booking-time-title:disabled i {
  color: #a4abb3 !important;
}

.booking-dialog .service-summary-card:disabled {
  border-color: transparent !important;
  background: transparent !important;
  color: inherit !important;
  cursor: default !important;
  opacity: 1;
}

.booking-dialog .service-summary-card:disabled strong,
.booking-dialog .service-summary-card:disabled b {
  color: #24272b !important;
}

.booking-dialog .service-summary-card:disabled small {
  color: #8c8c8c !important;
}

.booking-dialog .service-summary-card:disabled em {
  background: #f0eaff !important;
  color: #7761cf !important;
}

.booking-dialog .service-summary-card:disabled .service-line {
  background: #9ee9fb !important;
  opacity: 1 !important;
}

.booking-dialog .service-summary-card:disabled:hover {
  background: transparent !important;
  transform: none !important;
  filter: none !important;
}

.booking-dialog .booking-checkout-btn:disabled {
  background: #e8eaed !important;
  color: #9ba2aa !important;
}

.booking-dialog.is-readonly .form-col .icon-btn,
.booking-dialog.is-readonly .form-col .mini-danger {
  visibility: hidden;
}

.form-col p {
  margin: 8px 0 0;
}

.inline-radios {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.inline-radios input {
  width: auto;
}

.time-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.mini-danger {
  width: 28px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: #f5a0a0;
  color: white;
  font-size: 24px;
}

.pale-icon {
  color: var(--blue);
  font-size: 34px;
}

.check-line {
  grid-template-columns: 95px auto !important;
}

.qty {
  width: 100px !important;
  text-align: center;
}

.delete-booking-btn {
  width: max-content;
  min-height: 38px;
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  background: #f0d585;
  padding: 0 18px;
  font-weight: 800;
}

.table-dialog {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(430px, calc(100vw - 32px));
  height: 100vh;
  min-height: 0;
  border: 0;
  border-left: 1px solid #e8e8e8;
  /* border-radius: 18px 0 0 18px; */
  box-shadow: -18px 0 38px rgba(0,0,0,.16);
  padding: 30px 28px 96px;
  transform: translateX(104%);
  transition: transform .24s ease;
  overflow: auto;
}

.overlay.active .table-dialog {
  transform: translateX(0);
}

.close-top {
  position: absolute;
  top: 24px;
  right: 28px;
  min-height: 42px;
  border-radius: 13px;
  background: #f5f5f5;
  color: #111;
}

.table-dialog h2 {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 650;
}

.table-dialog table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-dialog th {
  background: transparent;
  padding: 4px 10px 8px;
  text-align: left;
  font-size: 13px;
  color: #777;
}

.table-dialog td {
  border-bottom: 0;
  background: #fafafa;
  padding: 14px 10px;
  font-size: 14px;
}

.table-dialog td:first-child {
  border-radius: 14px 0 0 14px;
  border-left: 4px solid #9ee9fb;
}

.table-dialog td:last-child {
  border-radius: 0 14px 14px 0;
}

.table-dialog tbody tr {
  cursor: pointer;
}

.table-dialog tbody tr:hover {
  background: transparent;
}

.table-dialog tbody tr:hover td {
  background: #f2fbff;
}

.table-dialog p {
  text-align: center;
  font-weight: 800;
}

.service-dialog,
.service-edit-dialog {
  width: min(430px, calc(100vw - 32px));
  height: 100vh;
}

#service-list,
#service-edit,
#voucher-list {
  background: transparent;
  pointer-events: none;
}

#service-list .table-dialog,
#service-edit .table-dialog,
#voucher-list .table-dialog {
  pointer-events: auto;
}

.drawer-back {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 18px;
}

.service-dialog h2 {
  margin-bottom: 22px;
  font-size: 26px;
}

.service-edit-dialog h2 {
  margin-bottom: 24px;
  font-size: 26px;
}

.edit-service-selected {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px 0 0;
  text-align: left;
  font-weight: 800;
}

.edit-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  margin-top: 18px;
}

.edit-service-grid label {
  display: grid;
  gap: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.edit-service-grid .wide {
  grid-column: 1 / -1;
}

.edit-service-grid input,
.edit-service-grid select {
  width: 100%;
  height: 44px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: #333;
}

.advanced-options {
  margin-top: 24px;
  border: 0;
  background: transparent;
  color: #7761cf;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.service-edit-actions {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
}

.service-edit-actions button {
  min-height: 46px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

#delete-service-btn {
  color: #d85072;
}

#apply-service-btn {
  border-color: #0f1b1d;
  background: #0f1b1d;
  color: #fff;
}

.allergy-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(700px, calc(100vw - 48px));
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
  padding: 34px 46px 30px;
}

.allergy-close {
  position: absolute;
  top: 28px;
  right: 32px;
  border: 0;
  background: transparent;
  color: #111;
  padding: 0;
  font-size: 22px;
}

.allergy-dialog h2 {
  margin: 0 0 34px;
  color: #111;
  font-size: 24px;
  font-weight: 850;
}

.allergy-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 7px;
  background: #f1f1f1;
  padding: 4px;
}

.allergy-tabs button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111;
  font-size: 13px;
  font-weight: 850;
}

.allergy-tabs button.active {
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .12);
}

.allergy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 38px;
}

.allergy-grid label,
.allergy-note {
  display: grid;
  gap: 8px;
  color: #111;
  font-size: 14px;
  font-weight: 850;
}

.allergy-grid input,
.allergy-grid select,
.allergy-note textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
}

.allergy-grid input,
.allergy-grid select {
  height: 46px;
}

.allergy-severity {
  margin-top: 28px;
}

.allergy-severity h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 850;
}

.allergy-severity p {
  margin: 4px 0 16px;
  color: #777;
  font-size: 12px;
}

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

.severity-options button {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  background: #fff;
  color: #111;
  padding: 12px;
  font-size: 14px;
  font-weight: 650;
}

.severity-options button.active {
  border-color: #7458df;
  box-shadow: inset 0 0 0 1px #7458df;
}

.severity-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: currentColor;
  /* box-shadow: 0 0 0 4px rgba(255, 255, 255, .8), 0 0 18px 10px currentColor; */
}

.severity-dot.mild { color: rgba(40, 180, 92, .52); }
.severity-dot.moderate { color: rgba(195, 100, 23, .52); }
.severity-dot.severe { color: rgba(215, 33, 88, .52); }
.severity-dot.fatal { color: rgba(20, 20, 20, .52); }

.allergy-note {
  position: relative;
  margin-top: 26px;
}

.allergy-note span {
  position: absolute;
  right: 0;
  top: 0;
  color: #999;
  font-size: 12px;
  font-weight: 500;
}

.allergy-note textarea {
  height: 118px;
  resize: none;
  padding-top: 14px;
  line-height: 1.45;
}

.allergy-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.allergy-actions button {
  min-width: 74px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 850;
}

.staff-alert-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(780px, calc(100vw - 48px));
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
  padding: 34px 46px 36px;
}

.staff-alert-close {
  position: absolute;
  top: 28px;
  right: 32px;
  border: 0;
  background: transparent;
  color: #111;
  padding: 0;
  font-size: 22px;
}

.staff-alert-dialog h2 {
  margin: 0 0 38px;
  color: #111;
  font-size: 24px;
  font-weight: 850;
}

.staff-alert-dialog label {
  display: grid;
  gap: 8px;
}

.staff-alert-dialog textarea {
  width: 100%;
  min-height: 132px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #fff;
  padding: 18px;
  color: #111;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
}

.staff-alert-dialog small {
  color: #777;
  font-size: 13px;
}

.staff-alert-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 34px;
}

.staff-alert-actions button {
  min-width: 80px;
  min-height: 50px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 850;
}

.staff-alert-actions #save-staff-alert-btn {
  border-color: #111;
  background: #111;
  color: #fff;
}

.service-dialog .service-filters label {
  height: 44px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0 12px;
  color: #8f8f8f;
}

.service-dialog .service-filters input {
  height: auto;
  border: 0;
  outline: 0;
  padding: 0;
}

.service-dialog table,
.service-dialog thead,
.service-dialog tbody {
  display: block;
}

.service-dialog thead {
  margin: 24px 0 6px;
}

.service-dialog thead::after {
  content: "Hair & styling   6";
  display: block;
  color: #24272b;
  font-weight: 800;
}

.service-dialog thead tr {
  display: none;
}

.service-dialog tbody tr {
  position: relative;
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
}

.service-dialog tbody tr::before {
  content: "";
  grid-row: 1 / span 2;
  width: 4px;
  border-radius: 999px;
  background: #9ee9fb;
}

.service-dialog tbody tr:hover {
  background: #fafafa;
}

.service-dialog td {
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0 !important;
  border-left: 0 !important;
}

.service-dialog td:nth-child(1),
.service-dialog td:nth-child(3) {
  display: none;
}

.service-dialog td:nth-child(2) {
  grid-column: 2;
  color: #24272b;
  font-size: 16px;
  font-weight: 800;
}

.service-dialog td:nth-child(4) {
  grid-column: 2;
  color: #8c8c8c;
  font-size: 13px;
}

.voucher-dialog th:nth-child(3),
.voucher-dialog th:nth-child(4),
.voucher-dialog th:nth-child(6),
.voucher-dialog td:nth-child(3),
.voucher-dialog td:nth-child(4),
.voucher-dialog td:nth-child(6) {
  display: none;
}

.voucher-dialog td:nth-child(5) {
  font-weight: 650;
}

.service-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}

.service-filters input {
  width: 100%;
}

.service-filters select {
  width: 100%;
}

.confirm-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  min-height: 145px;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,.7);
  padding: 22px;
}

.confirm-dialog i {
  color: #1c86d1;
  font-size: 42px;
}

.confirm-dialog div {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.new-dialog {
  width: 1460px;
  height: 1020px;
}

.new-head {
  display: flex;
  gap: 18px;
  font-size: 24px;
  font-weight: 800;
}

.new-form {
  display: grid;
  grid-template-columns: 360px 400px;
  gap: 12px 28px;
  margin-top: 30px;
  align-items: center;
}

.new-form label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
}

.new-form select {
  width: 125px;
}

.new-form input {
  flex: 1;
}

.toast-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  min-width: 210px;
  transform: translateY(12px);
  opacity: 0;
  border-radius: 5px;
  background: rgba(20, 20, 20, .86);
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.toast-message.active {
  transform: translateY(0);
  opacity: 1;
}

.member-page .app-nav {
  padding: 0 7.5%;
}

.member-shell {
  width: 1680px;
  margin: 0 auto;
}

.member-titlebar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #e9e9e9;
}

.member-titlebar h1 {
  margin: 0;
  font-size: 28px;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-actions button,
.record-filters button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 0 18px;
  font-weight: 800;
}

.record-filters button,
#member-search-open,
#member-new-btn,
#member-edit-btn,
#member-delete-btn,
#member-save-btn,
#member-cancel-btn {
  border: 0;
  background: var(--gold);
}

.home-dashboard-page {
  min-width: 1180px;
  background: #f6f7f5;
}

.dashboard-shell {
  margin-left: 72px;
  padding: 46px 64px 70px;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.dashboard-greeting {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dashboard-avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-greeting p {
  margin: 0;
  color: #777;
  font-size: 28px;
  line-height: 1;
}

.dashboard-greeting h1 {
  margin: 0;
  color: #101010;
  font-size: 52px;
  line-height: .98;
  font-weight: 950;
}

.dashboard-greeting span:not(.dashboard-avatar) {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 14px;
  font-weight: 750;
}

.dashboard-quick-actions {
  display: flex;
  gap: 16px;
}

.dashboard-quick-actions a {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #101010;
  text-decoration: none;
  font-size: 28px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-metric-card,
.dashboard-panel {
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}

.dashboard-metric-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 22px;
}

.dashboard-metric-card span,
.dashboard-panel header p,
.dashboard-metric-card small {
  color: #777;
  font-size: 13px;
  font-weight: 750;
}

.dashboard-metric-card strong {
  display: block;
  margin-top: 14px;
  color: #101010;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.metric-primary {
  position: relative;
  overflow: hidden;
  background: #3158f4;
  color: #fff;
}

.metric-primary::before,
.metric-primary::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.metric-primary::before {
  width: 260px;
  height: 260px;
  right: -74px;
  top: -126px;
}

.metric-primary::after {
  width: 210px;
  height: 210px;
  right: 56px;
  bottom: -128px;
}

.metric-primary > * {
  position: relative;
  z-index: 1;
}

.metric-primary span,
.metric-primary strong {
  color: #fff;
}

.metric-primary a {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c8ff3d;
  color: #101010;
  text-decoration: none;
  font-size: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.dashboard-panel {
  min-width: 0;
  padding: 22px;
}

.dashboard-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.dashboard-panel h2 {
  margin: 0 0 6px;
  color: #101010;
  font-size: 20px;
  font-weight: 950;
}

.dashboard-panel header p {
  margin: 0;
}

.dashboard-panel header > i {
  color: #3158f4;
  font-size: 22px;
}

.dashboard-panel header a {
  color: #6e55df;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.dashboard-bars {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: end;
  padding-top: 12px;
}

.dashboard-bars span {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  align-items: end;
}

.dashboard-bars i {
  width: 100%;
  height: var(--bar);
  min-height: 10px;
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: #3158f4;
}

.dashboard-bars.soft i {
  background: #d7ccff;
}

.dashboard-bars em {
  color: #777;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.dashboard-wide-panel {
  grid-row: span 2;
}

.dashboard-appointment-list,
.dashboard-stock-list {
  display: grid;
}

.dashboard-appointment-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 70px 1fr 34px;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #eeeeee;
  color: #101010;
  text-decoration: none;
}

.dashboard-appointment-row:first-child,
.dashboard-stock-row:first-child {
  border-top: 0;
}

.dashboard-appointment-row > span {
  color: #777;
  font-size: 13px;
  font-weight: 850;
}

.dashboard-appointment-row strong,
.dashboard-stock-row strong {
  display: block;
  color: #101010;
  font-size: 14px;
  font-weight: 900;
}

.dashboard-appointment-row small,
.dashboard-stock-row span {
  color: #777;
  font-size: 12px;
  font-weight: 750;
}

.dashboard-appointment-row i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7f7f7;
}

.dashboard-stock-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #eeeeee;
}

.dashboard-stock-row em {
  min-width: 42px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff2f0;
  color: #c9452f;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.dashboard-empty-row {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px dashed #dddddd;
  border-radius: 8px;
  color: #777;
  font-size: 13px;
  font-weight: 800;
}

.member-tabs {
  display: flex;
  align-items: stretch;
  margin-top: 20px;
  border-bottom: 3px solid #e5e5e5;
}

.member-tabs button {
  min-height: 56px;
  border: 0;
  background: transparent;
  padding: 0 20px;
  font-weight: 800;
  white-space: nowrap;
}

.member-tabs .active {
  background: var(--gold-soft);
}

.member-tabs button:disabled {
  color: #cfcfcf;
  cursor: default;
}

.member-tab-panel {
  display: none;
  padding-top: 18px;
}

.member-tab-panel.active {
  display: block;
}

.member-summary {
  width: max-content;
  display: flex;
  gap: 42px;
  margin-bottom: 18px;
  border: 3px solid #bdbdbd;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 800;
}

.member-summary[hidden] {
  display: none !important;
}

.member-form {
  display: grid;
  grid-template-columns: 470px 470px 610px;
  gap: 44px;
  align-items: start;
}

.member-col {
  display: grid;
  gap: 10px;
}

.member-col label {
  display: grid;
  grid-template-columns: 92px 18px 1fr;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.member-col label > input,
.member-col label > select,
.member-col label > textarea {
  grid-column: 3;
}

.member-col em {
  color: red;
  font-style: normal;
  text-align: center;
}

.member-col input,
.member-col select,
.member-col textarea,
.member-search-form input,
.member-search-form select,
.record-filters input,
.record-filters select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 10px;
  background: #fff;
}

.member-col textarea {
  height: 110px;
  resize: none;
}

.member-col label > .inline-radios,
.member-col label > .date-triple,
.member-col label > .phone-pair,
.member-col label > .pair,
.member-col label > .icon-input {
  grid-column: 3;
}

.date-triple,
.phone-pair,
.pair,
.icon-input {
  display: flex;
  align-items: center;
}

.date-triple input {
  width: 70px;
  text-align: center;
}

.phone-pair select {
  width: 126px;
  border-radius: 4px 0 0 4px;
}

.phone-pair input {
  flex: 1;
  border-radius: 0 4px 4px 0;
}

.pair select {
  flex: 1;
}

.icon-input input {
  min-width: 136px;
}

.icon-input i {
  color: var(--blue);
  font-size: 32px;
  margin-left: 6px;
}

.icon-input .icon-btn {
  margin-left: 6px;
}

.toggle-line {
  grid-template-columns: 92px auto 1fr !important;
}

.switch {
  position: relative;
  width: 48px;
  height: 28px;
  display: inline-block;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #ccc;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

.switch input:checked + span {
  background: var(--blue);
}

.switch input:checked + span::after {
  left: 24px;
}

.media-col {
  gap: 12px;
}

.media-row {
  display: grid;
  grid-template-columns: 230px 230px;
  gap: 12px;
  align-items: start;
}

.blue-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
}

.upload-box {
  height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dotted var(--line);
  background: #f1f1f1;
  color: #aaa;
  font-weight: 800;
}

.upload-box i {
  color: #ccc;
  font-size: 78px;
}

.static-line {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  font-weight: 800;
}

.member-search-dialog {
  width: 980px;
  height: 1060px;
  top: 53%;
}

.member-search-form {
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-bottom: 18px;
  font-weight: 800;
}

.member-search-form label {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
}

.member-table th {
  background: var(--gold-soft);
  padding: 11px 8px;
  text-align: left;
}

.member-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 8px;
  font-weight: 700;
}

.member-table tbody tr[data-member-code] {
  cursor: pointer;
}

.member-table tbody tr[data-member-code]:hover {
  background: #fff8e6;
}

.table-count {
  margin: 8px 0 0;
  text-align: center;
  font-weight: 800;
}

.record-layout {
  display: grid;
  grid-template-columns: 900px 350px;
  justify-content: space-between;
  gap: 70px;
}

.record-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 800;
}

.record-filters.wide {
  flex-wrap: wrap;
}

.record-filters input[type="date"] {
  width: 160px;
}

.record-filters input {
  width: 150px;
}

.record-totals {
  padding-top: 44px;
  font-weight: 800;
}

.record-totals h3 {
  margin: 0 0 16px;
  border-bottom: 1px solid #bdbdbd;
  padding-bottom: 8px;
  font-size: 18px;
}

.record-totals p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 24px;
}

.table-icon {
  color: var(--blue);
  font-size: 30px;
}

.fresha-members-page {
  min-width: 1180px;
  background: #fff;
  color: #111;
  font-family: "Noto Sans TC", Arial, sans-serif;
}

.fresha-members-page .member-rail {
  position: fixed;
}

.clients-side-nav {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 58px;
  z-index: 8;
  width: 182px;
  border-right: 1px solid #ededed;
  background: #fff;
  padding: 16px 18px;
}

.clients-logo {
  display: block;
  margin-bottom: 34px;
  color: #111;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.clients-collapse {
  position: absolute;
  top: 70px;
  right: -15px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.clients-side-nav strong {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 850;
}

.clients-side-nav a:not(.clients-logo) {
  display: block;
  border-radius: 8px;
  color: #555;
  padding: 10px 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.clients-side-nav a.active {
  color: #111;
  font-weight: 850;
}

.clients-list-shell {
  margin-left: 60px;
  padding: 70px 88px 80px;
}

.clients-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.clients-list-header h1 {
  margin: 0 0 10px;
  color: #111;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.clients-list-header h1 span {
  display: inline-flex;
  min-width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-5px);
  border-radius: 999px;
  background: #f6f6f6;
  color: #777;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

.clients-list-header p {
  margin: 0;
  color: #555;
  font-size: 18px;
  line-height: 1.35;
}

.clients-list-header a {
  color: #7256df;
  text-decoration: none;
}

.clients-list-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.clients-options-wrap,
.products-options-wrap {
  position: relative;
}

.clients-list-actions button {
  min-height: 68px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  padding: 0 30px;
  color: #111;
  font-size: 19px;
  font-weight: 850;
  box-shadow: none;
}

.clients-list-actions #clients-add-btn {
  border-color: #101a28;
  background: #1f2a3a;
  color: #fff;
}

.clients-options-menu,
.products-options-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  width: 278px;
  border: 1px solid #efefef;
  border-radius: 8px;
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.clients-options-menu[hidden],
.products-options-menu[hidden] {
  display: none;
}

.clients-options-menu button,
.products-options-menu button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 28px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 750;
  text-align: left;
}

.clients-options-menu button:hover,
.products-options-menu button:hover {
  background: #f8f8f8;
}

.clients-options-menu i,
.products-options-menu i {
  font-size: 19px;
}

.clients-options-menu hr,
.products-options-menu hr {
  margin: 12px 24px;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.clients-options-menu strong,
.products-options-menu strong,
.packages-options-menu strong,
.service-options-menu strong {
  display: block;
  padding: 0 28px 8px;
  font-size: 15px;
  font-weight: 850;
}

.clients-card {
  max-width: 1500px;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.clients-list-shell.is-importing .clients-list-header,
.clients-list-shell.is-importing .clients-card,
.products-shell.is-importing .products-header,
.products-shell.is-importing .products-card,
.packages-shell.is-importing .package-header,
.packages-shell.is-importing .package-tabs,
.packages-shell.is-importing .package-toolbar,
.packages-shell.is-importing .package-menu-layout,
.service-menu-shell.is-importing #service-list-view {
  display: none;
}

.clients-import-view,
.products-import-view,
.packages-import-view,
.service-import-view {
  width: min(842px, 100%);
  margin: -30px auto 0;
  padding: 0 0 80px;
}

.clients-import-view[hidden],
.products-import-view[hidden],
.packages-import-view[hidden],
.service-import-view[hidden] {
  display: none;
}

.clients-import-back,
.products-import-back,
.packages-import-back,
.service-import-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #5f46d6;
  font-size: 14px;
  font-weight: 750;
}

.clients-import-kicker,
.products-import-kicker,
.packages-import-kicker,
.service-import-kicker {
  margin: 30px 0 18px;
  color: #777;
  font-size: 16px;
}

.clients-import-view h2,
.products-import-view h2,
.packages-import-view h2,
.service-import-view h2 {
  margin: 0;
  color: #111;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 950;
}

.clients-import-copy,
.products-import-copy,
.packages-import-copy,
.service-import-copy {
  width: min(760px, 100%);
  margin: 18px 0 30px;
  color: #777;
  font-size: 22px;
  line-height: 1.28;
}

.clients-import-copy a,
.clients-import-template a,
.products-import-copy a,
.products-import-template a,
.packages-import-copy a,
.packages-import-template a,
.service-import-copy a,
.service-import-template a {
  color: #6c50dd;
  text-decoration: none;
}

.clients-upload-box,
.products-upload-box,
.packages-upload-box,
.service-upload-box {
  height: 452px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px dashed #d7d7d7;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.clients-upload-box.is-uploading,
.products-upload-box.is-uploading,
.packages-upload-box.is-uploading,
.service-upload-box.is-uploading {
  pointer-events: none;
  opacity: .72;
}

.clients-upload-box i,
.products-upload-box i,
.packages-upload-box i,
.service-upload-box i {
  font-size: 34px;
}

.clients-upload-box strong,
.products-upload-box strong,
.packages-upload-box strong,
.service-upload-box strong {
  font-size: 28px;
  font-weight: 900;
}

.clients-upload-box span,
.products-upload-box span,
.packages-upload-box span,
.service-upload-box span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.clients-import-template,
.products-import-template,
.packages-import-template,
.service-import-template {
  margin: 16px 0 0;
  color: #777;
  font-size: 18px;
  line-height: 1.35;
}

.clients-import-status,
.products-import-status,
.packages-import-status,
.service-import-status {
  min-height: 22px;
  margin: 18px 0 0;
  color: #111;
  font-size: 14px;
  font-weight: 750;
}

.clients-import-status.is-error,
.products-import-status.is-error,
.packages-import-status.is-error,
.service-import-status.is-error {
  color: #c7284f;
}

.clients-import-status.is-success,
.products-import-status.is-success,
.packages-import-status.is-success,
.service-import-status.is-success {
  color: #148a2d;
}

.clients-toolbar {
  display: grid;
  grid-template-columns: minmax(420px, 640px) 170px 1fr;
  gap: 22px;
  align-items: center;
  border-radius: 2px;
  background: #fbfbfb;
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .03);
}

.clients-search {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  padding: 0 20px;
  color: #6f6f6f;
  box-shadow: none;
}

.clients-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 17px;
}

.clients-search input::placeholder {
  color: #b2b2b2;
}

.clients-filter-btn,
.clients-sort-btn {
  min-height: 54px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  padding: 0 24px;
  color: #111;
  font-size: 17px;
  font-weight: 850;
  box-shadow: none;
}

.clients-sort-btn {
  justify-self: end;
}

.clients-table {
  width: 100%;
  margin-top: 38px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 17px;
}

.clients-table th:first-child,
.clients-table td:first-child {
  width: 56px;
  padding-left: 28px;
  padding-right: 0;
}

.clients-table th:nth-child(2),
.clients-table td:nth-child(2) {
  width: 42%;
}

.clients-table th:nth-child(3),
.clients-table td:nth-child(3) {
  width: 24%;
}

.clients-table th:nth-child(4),
.clients-table td:nth-child(4) {
  width: 16%;
}

.clients-table th:nth-child(5),
.clients-table td:nth-child(5) {
  width: 18%;
}

.clients-table th {
  color: #111;
  border-bottom: 1px solid #eeeeee;
  padding: 24px 28px;
  text-align: left;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.clients-table td {
  border-bottom: 1px solid #eeeeee;
  padding: 24px 28px;
  color: #111;
  font-size: 17px;
  vertical-align: middle;
  white-space: nowrap;
}

.clients-table .clients-empty-row {
  height: 180px;
  color: #8b8b8b;
  text-align: center;
  font-weight: 750;
}

.clients-table tbody tr {
  cursor: pointer;
  transition: background .15s ease;
}

.clients-table tbody tr:hover {
  background: #fafafa;
}

.check-box {
  width: 23px;
  height: 23px;
  display: inline-block;
  border: 1px solid #ededed;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .01);
}

.list-client {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.list-client strong,
.list-client small {
  display: block;
}

.list-client strong {
  overflow: hidden;
  color: #111;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-client small {
  overflow: hidden;
  max-width: 270px;
  margin-top: 4px;
  color: #6f6f6f;
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-avatar,
.client-drawer-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.list-avatar {
  width: 64px;
  height: 64px;
  font-size: 18px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}

.list-avatar.blue,
.client-drawer-avatar.blue { background: linear-gradient(135deg, #85c8ee, #285f93); }
.list-avatar.peach,
.client-drawer-avatar.peach { background: linear-gradient(135deg, #f6c2a2, #c65f57); }
.list-avatar.coral,
.client-drawer-avatar.coral { background: linear-gradient(135deg, #5ba9cf, #d86b57); }
.list-avatar.mint,
.client-drawer-avatar.mint { background: linear-gradient(135deg, #b7dfd6, #539e9c); }
.list-avatar.sage,
.client-drawer-avatar.sage { background: linear-gradient(135deg, #bfd2c5, #6a8b79); }
.list-avatar.violet,
.client-drawer-avatar.violet { background: linear-gradient(135deg, #2d2d33, #8c6bd8); }
.list-avatar.purple,
.client-drawer-avatar.purple { background: linear-gradient(135deg, #bdacf5, #4565d8); }
.list-avatar.gray,
.client-drawer-avatar.gray { background: linear-gradient(135deg, #d7d7d7, #404040); }

.clients-table .star {
  color: #f2b900;
  font-size: 13px;
}

.client-drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: none;
  background: rgba(0, 0, 0, .08);
}

.client-drawer-scrim.active {
  display: block;
}

.client-detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 22;
  width: min(1120px, calc(100vw - 80px));
  height: 100vh;
  display: grid;
  grid-template-columns: 340px 170px minmax(0, 1fr);
  background: #fff;
  box-shadow: -22px 0 46px rgba(0, 0, 0, .16);
  pointer-events: none;
  transform: translateX(104%);
  transition: transform .24s ease;
  visibility: hidden;
}

.client-detail-drawer.active {
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.client-drawer-close {
  position: absolute;
  top: 12px;
  left: -58px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  color: #111;
  font-size: 18px;
}

.client-drawer-profile {
  overflow-y: auto;
  border-right: 1px solid #eeeeee;
  padding: 0;
  text-align: center;
  background: #fff;
}

.client-drawer-profile > .client-drawer-avatar {
  margin-top: 30px;
}

.client-drawer-profile > .drawer-profile-actions {
  border-bottom: 1px solid #efefef;
  padding-bottom: 26px;
}

.client-drawer-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #f58ab5, #9edff0) !important;
  font-size: 30px;
}

.client-drawer-profile h2 {
  margin: 0 0 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 23px;
  font-weight: 850;
}

.client-drawer-profile p {
  margin: 0 0 4px;
  max-width: 100%;
  color: #8c8c8c;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.drawer-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin-top: 30px;
  padding: 0 26px;
}

.drawer-profile-actions .client-action-wrap {
  width: 100%;
}

.drawer-profile-actions > button,
.drawer-profile-actions > .client-action-wrap > button {
  min-height: 48px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
}

.drawer-profile-actions > button:disabled,
.drawer-profile-actions > .client-action-wrap > button:disabled {
  border-color: #d9dde2;
  background: #f3f4f5;
  color: #9ba2aa;
  cursor: not-allowed;
  opacity: 1;
}

.drawer-profile-actions > .client-action-wrap > button:disabled i {
  color: #bec3ca;
}

.drawer-profile-actions > button:last-child {
  border-color: #0f1b1d;
  background: #0f1b1d;
  color: #fff;
}

.drawer-profile-actions .client-actions-menu button {
  border-radius: 0;
}

.drawer-featured-package,
.drawer-alerts,
.drawer-facts {
  display: grid;
  gap: 18px;
  padding: 24px 28px;
  text-align: left;
}

.drawer-featured-package {
  border-bottom: 1px solid #efefef;
  margin-top: 26px;
}

.drawer-featured-package[hidden] {
  display: none;
}

.drawer-featured-package button {
  width: 100%;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0 14px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #111;
  text-align: left;
}

.drawer-featured-package i {
  color: #6f4df5;
  font-size: 22px;
}

.drawer-featured-package strong,
.drawer-featured-package small {
  display: block;
}

.drawer-featured-package strong {
  font-size: 16px;
  font-weight: 900;
}

.drawer-featured-package small {
  margin-top: 4px;
  color: #777;
  font-size: 14px;
  line-height: 1.35;
}

.drawer-alerts {
  border-bottom: 1px solid #efefef;
}

.drawer-facts {
  border-top: 0;
}

.drawer-alerts p,
.drawer-alerts .health-insight,
.drawer-facts p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 0 14px;
  margin: 0;
  min-width: 0;
}

.drawer-alerts i,
.drawer-facts i {
  grid-row: 1 / span 2;
  color: #202327;
  font-size: 24px;
}

.drawer-alerts .health-insight {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.drawer-alerts .green-dot {
  color: #42c850 !important;
}

.drawer-alerts strong,
.drawer-alerts span,
.drawer-facts span {
  display: block;
}

.drawer-alerts span {
  color: #8c8c8c;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.drawer-alerts strong {
  color: #24272b;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.drawer-facts span {
  color: #24272b;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.client-detail-tabs {
  border-right: 1px solid #eeeeee;
  background: #fff;
  padding: 52px 12px;
}

.client-detail-tabs button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #333;
  padding: 0 10px;
  text-align: left;
  font-size: 15px;
  font-weight: 750;
}

.client-detail-tabs button.active {
  background: #f1efff;
}

.client-detail-tabs span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #777;
  font-size: 11px;
}

.client-detail-tabs .green-pill {
  width: auto;
  padding: 0 7px;
  background: #e4f7e8;
  color: #1d963d;
}

.client-detail-content {
  overflow-y: auto;
  background: #fff;
  padding: 54px 42px;
}

.client-detail-content h2 {
  margin: 0 0 26px;
  font-size: 29px;
  font-weight: 900;
}

.client-detail-filters {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.client-detail-filters button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 13px;
  font-weight: 850;
}

.client-detail-filters[hidden] {
  display: none !important;
}

.client-detail-filters button.active {
  background: #0f1b1d;
  color: #fff;
}

.client-detail-filters span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.detail-more-wrap {
  position: relative;
  display: inline-flex;
}

.detail-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 5;
  width: 235px;
  display: grid;
  gap: 2px;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .13);
  padding: 12px 0;
}

.detail-more-menu[hidden] {
  display: none !important;
}

.detail-more-menu button {
  min-height: 44px;
  width: 100%;
  justify-content: space-between;
  border-radius: 0;
  background: #fff;
  color: #141414;
  padding: 0 20px;
  text-align: left;
}

.detail-more-menu button:hover {
  background: #f7f7f7;
}

.detail-more-menu button.active {
  background: #f3f1ff;
  color: #141414;
}

.detail-more-menu span {
  background: #f4f4f4;
  color: #777;
}

.detail-sell-btn {
  margin-left: auto;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 0 18px !important;
}

.item-filter-tabs {
  gap: 22px;
  border-bottom: 1px solid #ececec;
  padding-bottom: 16px;
}

.item-filter-tabs button {
  border-radius: 999px;
}

.client-detail-panel {
  display: none;
}

.client-detail-panel.active {
  display: block;
}

.client-detail-panel[data-client-detail-panel="details"] {
  position: relative;
}

.client-details-edit {
  position: absolute;
  top: -8px;
  right: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
}

.client-details-section {
  padding: 0 0 34px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e8e8e8;
}

.client-details-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.client-details-section h3 {
  margin: 0 0 26px;
  color: #111;
  font-size: 24px;
  font-weight: 900;
}

.client-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 76px;
  margin: 0;
}

.client-details-grid div {
  min-width: 0;
}

.client-details-grid dt {
  margin: 0 0 5px;
  color: #24272b;
  font-size: 15px;
  font-weight: 850;
}

.client-details-grid dd {
  margin: 0;
  color: #8a8a8a;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.timeline-month {
  margin: 0 0 18px;
  color: #777;
  font-size: 14px;
  font-weight: 850;
}

.appointment-timeline,
.sales-list {
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 28px;
}

.appointment-timeline::before,
.sales-list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  border-left: 1px solid #dedede;
}

.appointment-history-card,
.sale-history-card {
  position: relative;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 22px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.appointment-history-card h3,
.sale-history-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
}

.appointment-history-card small,
.sale-history-card small {
  color: #777;
}

.appointment-history-card small b,
.sale-history-card small b {
  color: #2b9b4f;
}

.appointment-history-card div,
.sale-history-card div {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.appointment-history-card p,
.sale-history-card p {
  margin: 5px 0 18px;
  color: #777;
  font-size: 13px;
}

.sale-history-card p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 0;
  border-top: 1px solid #eeeeee;
  padding-top: 14px;
  color: #111;
  font-size: 15px;
}

.sale-history-card p span {
  margin: 0 auto 0 0;
}

.sale-history-card em {
  font-style: normal;
  font-weight: 850;
}

.sale-dot {
  background: #0f1b1d;
}

.appointment-history-card footer {
  display: flex;
  gap: 10px;
}

.appointment-history-card button {
  min-height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  font-weight: 850;
}

.client-overview-sections {
  display: grid;
  gap: 26px;
}

.client-overview-section header {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.client-overview-section h3 {
  margin: 0;
  color: #111;
  font-size: 17px;
  font-weight: 950;
}

.client-overview-section header button {
  border: 0;
  background: transparent;
  color: #5a36cf;
  padding: 0;
  font-size: 14px;
  font-weight: 750;
}

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

.client-overview-card {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .025);
}

.client-overview-card.wide {
  grid-column: 1 / -1;
}

.client-overview-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.client-overview-card span i {
  color: #b1b1b1;
  font-size: 15px;
}

.client-overview-card strong {
  display: block;
  margin-top: 12px;
  color: #111;
  font-size: 32px;
  font-weight: 950;
  letter-spacing: 0;
}

.overview-appointment-card {
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .025);
}

.overview-appointment-card header {
  min-height: 0;
  margin: 0 0 5px;
}

.overview-appointment-card header strong {
  font-size: 17px;
  font-weight: 950;
}

.overview-appointment-card header span {
  border-radius: 999px;
  background: #f0f0f0;
  color: #333;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.overview-appointment-card small,
.overview-appointment-card em {
  display: block;
  color: #777;
  font-style: normal;
}

.overview-appointment-card p {
  margin: 18px 0 4px;
  color: #111;
  font-weight: 900;
}

.overview-empty {
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  background: #fff;
  padding: 22px;
}

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

.client-package-row {
  min-height: 96px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  border: 1px solid #eeeeee;
  border-radius: 2px;
  background: #fff;
  padding: 18px 20px;
  color: #111;
  text-align: left;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
}

.client-package-row:hover {
  background: #fbfbfb;
}

.client-package-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #5e33ef, #c132cc);
  color: #fff;
  font-size: 22px;
}

.client-package-row strong,
.client-package-row small {
  display: block;
}

.client-package-row strong {
  font-size: 16px;
  font-weight: 900;
}

.client-package-row small {
  margin-top: 4px;
  color: #777;
  font-size: 15px;
}

.client-package-row b {
  font-size: 18px;
}

.client-package-detail-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 24;
  width: min(620px, calc(100vw - 70px));
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  background: #fff;
  box-shadow: -22px 0 46px rgba(0, 0, 0, .18);
  transform: translateX(104%);
  transition: transform .24s ease;
}

.client-package-detail-drawer.active {
  transform: translateX(0);
}

.client-package-detail-drawer[hidden] {
  display: none;
}

.client-package-detail-close {
  position: absolute;
  top: 12px;
  left: -56px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.client-package-detail-nav {
  display: grid;
  align-content: start;
  gap: 18px;
  border-right: 1px solid #eeeeee;
  padding: 28px 12px;
}

.client-package-detail-nav button {
  display: grid;
  gap: 6px;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  padding: 8px 10px;
  color: #777;
  text-align: left;
  font-weight: 750;
}

.client-package-detail-nav button.active {
  border-left-color: #6f4df5;
  color: #5c3dd8;
}

.client-package-detail-content {
  overflow-y: auto;
  padding: 28px 34px 56px;
}

.client-package-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.package-status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #098a12;
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 850;
}

.package-status-pill.is-muted {
  background: #dedede;
  color: #555;
}

.package-status-pill[data-state="completed"] {
  background: #fff2c2;
  color: #7a5600;
}

.package-status-pill[data-state="expired"] {
  background: #e7e7e7;
  color: #5c5c5c;
}

.package-action-wrap {
  position: relative;
}

#package-actions-btn {
  min-height: 40px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  font-weight: 850;
}

.package-actions-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 3;
  width: 230px;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.package-actions-menu[hidden] {
  display: none;
}

.package-actions-menu button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  text-align: left;
  font-weight: 750;
}

.package-actions-menu button:hover {
  background: #f7f7f7;
}

.package-actions-menu .danger {
  color: #d7194a;
}

.client-package-detail-content h2 {
  margin: 22px 0 28px;
  font-size: 30px;
  font-weight: 950;
}

.package-hero-card {
  min-height: 194px;
  position: relative;
  display: grid;
  align-content: start;
  border-radius: 8px;
  background: linear-gradient(135deg, #3d22b6, #9428e3 48%, #ba278e);
  color: #fff;
  padding: 28px;
  overflow: hidden;
}

.package-hero-card strong {
  font-size: 20px;
}

.package-hero-card span {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 800;
}

.package-hero-card b {
  position: absolute;
  right: 28px;
  bottom: 52px;
  font-size: 30px;
}

.package-hero-card em {
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-size: 14px;
  font-style: normal;
}

.package-detail-client-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  margin: 24px 0;
  padding: 20px 24px;
}

.package-detail-client-card strong,
.package-detail-client-card span {
  display: block;
}

.package-detail-client-card span {
  color: #777;
  margin-top: 4px;
}

.package-detail-client-card .client-drawer-avatar {
  width: 62px;
  height: 62px;
  margin: 0;
  font-size: 20px;
}

.package-detail-section {
  margin-top: 28px;
}

.package-detail-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
}

.package-detail-section dl {
  border: 1px solid #eeeeee;
  border-radius: 6px;
  background: #fff;
  padding: 16px 22px;
}

.package-detail-section dl div,
.package-uses-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
}

.package-detail-section dt {
  color: #111;
}

.package-detail-section dd {
  margin: 0;
  color: #555;
}

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

.package-uses-list article {
  border: 1px solid #eeeeee;
  border-radius: 6px;
  background: #fff;
  padding: 14px 18px;
}

.package-uses-list strong,
.package-uses-list span {
  display: block;
}

.package-uses-list span {
  color: #777;
  margin-top: 3px;
}

.package-edit-modal,
.package-cancel-modal {
  width: min(484px, calc(100vw - 34px));
  position: relative;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  background: #fff;
  padding: 34px 44px 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

#package-expiry-modal,
#package-cancel-modal {
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(1px);
}

#package-expiry-modal[hidden],
#package-cancel-modal[hidden] {
  display: none;
}

.package-edit-modal .settings-modal-close,
.package-cancel-modal .settings-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  font-size: 16px;
}

.package-edit-modal .settings-modal-close:hover,
.package-cancel-modal .settings-modal-close:hover {
  background: #f5f5f5;
}

.package-edit-modal h3,
.package-cancel-modal h3 {
  margin: 0;
  padding-right: 46px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

.package-edit-modal label {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 850;
  color: #111;
}

.package-edit-modal input[type="date"] {
  min-height: 52px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 650;
  color: #111;
  background: #fff;
}

.package-notify-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 12px !important;
  margin-top: 18px !important;
  font-weight: 650 !important;
}

.package-notify-check input {
  width: 22px;
  height: 22px;
  accent-color: #6f4df5;
}

.package-edit-modal footer,
.package-cancel-modal footer {
  margin-top: 34px;
}

.package-edit-modal footer button,
.package-cancel-modal footer button {
  width: 100%;
  min-height: 48px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.package-cancel-modal p {
  margin: 30px 0 0;
  color: #222;
  line-height: 1.4;
  max-width: 380px;
}

.package-cancel-modal footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.package-cancel-modal footer button:first-child {
  border-color: #eeeeee;
  background: #fff;
  color: #111;
}

.package-cancel-modal .danger {
  border-color: #d7194a;
  background: #d7194a;
  color: #fff;
}

.items-list {
  display: grid;
  gap: 18px;
}

.sold-item-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  border: 1px solid #ededed;
  border-radius: 12px;
  background: #fff;
  padding: 24px 24px 24px 34px;
}

.sold-item-card .service-line {
  position: absolute;
  left: 22px;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 999px;
  background: #a8e6f6;
}

.sold-item-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.sold-item-card p {
  margin: 0 0 16px;
  color: #777;
  font-size: 14px;
}

.sold-item-card button {
  min-height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  font-weight: 850;
}

.sold-item-card > strong {
  font-size: 17px;
}

.client-info-list {
  display: grid;
  gap: 12px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  padding: 22px;
}

.client-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
}

.client-info-list dt {
  color: #777;
  font-weight: 750;
}

.client-info-list dd {
  margin: 0;
  font-weight: 850;
}

.empty-detail {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  color: #777;
}

.fresha-products-page {
  min-width: 1280px;
  background: #fff;
  color: #111;
  font-family: "Noto Sans TC", Arial, sans-serif;
}

.products-side-nav {
  position: fixed;
  left: 58px;
  top: 0;
  bottom: 0;
  width: 250px;
  border-right: 1px solid #e7e7e7;
  background: #fff;
  padding: 40px 12px;
  z-index: 16;
  transform: translateX(-112%);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .18s ease;
}

.catalog-nav-open .products-side-nav {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.catalog-floating-nav {
  box-shadow: 16px 0 40px rgba(0, 0, 0, .12);
}

.products-side-nav strong {
  display: block;
  margin: 0 0 18px 20px;
  font-size: 20px;
  font-weight: 900;
}

.products-side-nav strong:nth-of-type(2) {
  margin-top: 44px;
}

.products-side-nav a {
  display: block;
  border-radius: 8px;
  color: #333;
  padding: 16px 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
}

.products-side-nav a.active {
  background: #eef6ff;
}

.products-collapse {
  position: absolute;
  top: 28px;
  right: -22px;
  width: 44px;
  height: 44px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .1);
  font-size: 24px;
}

.products-shell {
  margin-left: 60px;
  padding: 70px 88px 80px;
  transition: margin-left .22s ease;
}

.fresha-products-page.catalog-nav-open .products-shell {
  margin-left: 308px;
}

.products-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.products-header h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.products-header h1 span {
  display: inline-flex;
  min-width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-5px);
  border-radius: 999px;
  background: #f5f5f5;
  color: #777;
  font-size: 17px;
}

.products-header p {
  margin: 0;
  color: #555;
  font-size: 18px;
}

.products-header a,
.product-link-picker,
.product-inline-link,
.product-picker-add {
  color: #318bd6;
}

.products-actions {
  display: flex;
  gap: 18px;
}

.products-actions button {
  min-height: 68px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  padding: 0 30px;
  font-size: 19px;
  font-weight: 850;
}

.products-actions #products-add-btn {
  border-color: #101a28;
  background: #1f2a3a;
  color: #fff;
}

.products-actions button:disabled,
.products-actions #products-add-btn:disabled,
.products-options-menu button:disabled,
.product-detail-actions button:disabled,
.product-detail-card header button:disabled,
.product-add-header #product-save-btn:disabled {
  border-color: #d8d8d8;
  background: #f1f1f1;
  color: #9a9a9a;
  cursor: not-allowed;
  opacity: 1;
}

.products-options-menu button:disabled {
  background: transparent;
  color: #aaa;
}

.product-detail-actions button:disabled:hover,
.product-detail-card header button:disabled:hover {
  background: #f1f1f1;
}

.products-actions .products-options-menu button {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 28px;
  box-shadow: none;
  font-size: 15px;
}

.service-menu-shell {
  max-width: 1540px;
}

.service-menu-header {
  margin-bottom: 30px;
}

.service-menu-actions {
  position: relative;
}

.service-add-wrap,
.service-options-wrap {
  position: relative;
}

.service-menu-actions #service-options-btn {
  min-width: 116px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.service-menu-actions #service-add-btn {
  min-width: 116px;
  border-color: #081315;
  border-radius: 999px;
  background: #081315;
  color: #fff;
}

.service-add-menu,
.service-options-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 12;
  width: 240px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.service-add-menu button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 0 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 750;
}

.service-options-menu {
  width: 250px;
  padding: 12px 0;
}

.service-options-menu button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 28px;
  text-align: left;
  font-size: 17px;
  font-weight: 750;
}

.service-options-menu hr {
  border: 0;
  border-top: 1px solid #f1f1f1;
  margin: 10px 0 16px;
}

.service-options-menu button:hover,
.service-options-menu button:focus,
.service-add-menu button:hover,
.service-add-menu button:focus {
  background: #f6f6f6;
}

.service-menu-toolbar {
  max-width: 1160px;
  grid-template-columns: minmax(300px, 420px) 190px 140px;
  margin-bottom: 28px;
  padding: 18px 20px;
}

.service-menu-layout {
  display: grid;
  grid-template-columns: 300px minmax(620px, 860px);
  gap: 62px;
  align-items: start;
}

.service-category-card {
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  background: #fff;
  padding: 28px 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .04);
}

.service-category-card h2,
.service-group h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 950;
}

.service-category-btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0 14px;
  color: #111;
  font-size: 17px;
  font-weight: 750;
}

.service-category-btn.active {
  background: #f0edff;
}

.service-category-btn em {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee;
  color: #777;
  font-size: 14px;
  font-style: normal;
}

.service-category-add {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #6e55c9;
  padding: 10px 14px;
  font-size: 17px;
  font-weight: 750;
}

.service-list-panel {
  min-width: 0;
}

.service-group {
  margin-bottom: 34px;
}

.service-group-head {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.service-group-head h2 {
  margin-bottom: 0;
}

.service-category-actions {
  position: relative;
}

.service-category-action-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  color: #111;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
}

.service-category-action-btn:hover,
.service-category-action-btn[aria-expanded="true"] {
  border-color: #dedede;
  background: #fafafa;
}

.service-category-action-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 14;
  width: 220px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .17);
}

.service-category-action-menu button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  text-align: left;
  font-size: 16px;
  font-weight: 760;
}

.service-category-action-menu button:hover,
.service-category-action-menu button:focus {
  background: #f6f6f6;
}

.service-category-action-menu .danger {
  color: #d7194a;
}

.service-row {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 42px;
  gap: 20px;
  align-items: center;
  border: 1px solid #ededed;
  border-radius: 2px;
  background: #fff;
  padding: 20px 18px 20px 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .025);
}

.service-row + .service-row {
  margin-top: 12px;
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 8px 0 0 8px;
  background: #ff895f;
}

.service-row:hover {
  background: #fbfbfb;
}

.service-row-main {
  min-width: 0;
}

.service-row-main strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 850;
}

.service-row-main small {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 15px;
}

.service-row-main p {
  max-width: 690px;
  margin: 0;
  overflow: hidden;
  color: #666;
  font-size: 16px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-price {
  font-size: 17px;
  font-weight: 850;
}

.service-row-actions {
  position: relative;
}

.service-row-more {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
}

.service-row-more:hover {
  background: #f2f2f2;
}

.service-row-action-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 14;
  width: 150px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .17);
}

.service-row-action-menu button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  text-align: left;
  font-size: 15px;
  font-weight: 780;
}

.service-row-action-menu button:hover,
.service-row-action-menu button:focus {
  background: #f6f6f6;
}

.service-row-action-menu .danger {
  color: #d7194a;
}

.service-create-active .products-side-nav,
.service-create-active .fresha-rail {
  display: none;
}

.service-create-active .products-shell {
  margin-left: 0;
  max-width: none;
}

.service-create-view {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 20px 90px;
}

.service-create-view[hidden] {
  display: none !important;
}

.service-create-view h1 {
  margin: 0 0 36px;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.service-create-actions {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 18;
  display: flex;
  gap: 12px;
}

.service-create-actions button {
  min-width: 84px;
  min-height: 52px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 850;
}

.service-create-actions .service-create-save {
  border-color: #080f10;
  background: #080f10;
  color: #fff;
}

.service-create-layout {
  display: grid;
  grid-template-columns: 300px minmax(640px, 804px);
  gap: 98px;
  align-items: start;
}

.service-create-nav {
  display: grid;
  gap: 4px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .04);
}

.service-create-nav button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 0 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 750;
}

.service-create-nav button.active {
  background: #f0edff;
}

.service-create-nav em {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee;
  color: #777;
  font-size: 13px;
  font-style: normal;
}

.service-create-nav strong {
  margin: 26px 12px 8px;
  border-top: 1px solid #eee;
  padding-top: 28px;
  font-size: 17px;
  font-weight: 950;
}

.service-create-form {
  display: grid;
  gap: 44px;
}

.service-form-section h2 {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 950;
}

.service-field,
.service-field.full {
  display: grid;
  gap: 9px;
  font-size: 15px;
  font-weight: 850;
}

.service-field span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.service-field span em,
.service-field span small {
  color: #777;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.service-field input,
.service-field select,
.service-field textarea,
.service-money-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  background: #fff;
  padding: 0 16px;
  color: #111;
  font-size: 16px;
  outline: none;
}

.service-field input:focus,
.service-field select:focus,
.service-field textarea:focus,
.service-money-input:focus-within {
  border-color: #7f62dc;
  box-shadow: 0 0 0 1px #7f62dc;
}

.service-field textarea {
  height: 124px;
  padding-top: 16px;
  resize: vertical;
}

.service-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}

.service-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.service-money-input {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 0;
}

.service-money-input b {
  height: 100%;
  display: grid;
  place-items: center;
  border-right: 1px solid #e6e6e6;
  color: #777;
  font-weight: 600;
}

.service-money-input input {
  min-height: 50px;
  border: 0;
  padding: 0 14px;
  outline: 0;
}

.service-ai-btn {
  transform: translate(12px, -68px);
  min-height: 44px;
  border: 1px solid #dcd2ff;
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(93, 70, 180, .16);
}

.service-ai-btn i {
  color: #7f62dc;
}

.products-card {
  max-width: 1500px;
}

.products-toolbar {
  display: grid;
  grid-template-columns: minmax(420px, 640px) 170px 1fr;
  gap: 22px;
  align-items: center;
  border-radius: 2px;
  background: #fbfbfb;
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .03);
}

.products-search {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  padding: 0 20px;
}

.products-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #111;
  font-size: 17px;
}

.products-filter-btn,
.products-sort-btn {
  min-height: 54px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 850;
}

.products-sort-btn {
  justify-self: end;
}

.products-table {
  width: 100%;
  margin-top: 38px;
  border-collapse: collapse;
  table-layout: fixed;
}

.products-table th,
.products-table td {
  border-bottom: 1px solid #eeeeee;
  padding: 24px 28px;
  text-align: left;
}

.products-table th {
  color: #222;
  font-size: 17px;
  font-weight: 900;
}

.products-table th:first-child,
.products-table td:first-child {
  width: 42%;
}

.products-table td {
  color: #222;
  font-size: 17px;
}

.products-table tbody tr {
  cursor: pointer;
}

.products-table tbody tr:hover {
  background: #fafafa;
}

.product-list-name {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
}

.product-thumb {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid #ededed;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

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

.product-thumb i {
  color: #e2e2e2;
  font-size: 48px;
}

.product-list-name strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 850;
}

.product-list-name small {
  display: block;
  color: #999;
  font-size: 15px;
}

.products-empty-row {
  height: 180px;
  text-align: center !important;
  color: #777 !important;
}

.product-detail-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(3px);
}

.product-detail-scrim[hidden],
.product-detail-drawer[hidden] {
  display: none;
}

.product-detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 56;
  width: min(860px, calc(100vw - 92px));
  height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 52px 1fr;
  background: #fff;
  box-shadow: -10px 0 34px rgba(0, 0, 0, .11);
  overflow: visible;
}

.product-detail-topbar {
  grid-column: 1 / -1;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px;
  background: #fff;
}

.product-detail-topbar h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
}

.product-detail-close {
  position: fixed;
  top: 18px;
  right: min(876px, calc(100vw - 56px));
  z-index: 57;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  color: #111;
  font-size: 20px;
}

.product-detail-profile {
  overflow: auto;
  border-right: 1px solid #efefef;
  background: #fff;
  padding: 4px 14px 0;
  text-align: left;
}

.product-detail-photo {
  position: relative;
  width: 100%;
  height: 210px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  margin: 0 0 14px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .92), transparent 28%),
    radial-gradient(circle at 72% 22%, rgba(115, 210, 236, .78), transparent 34%),
    radial-gradient(circle at 68% 78%, rgba(232, 119, 190, .62), transparent 36%),
    linear-gradient(135deg, #186d8b, #b9d9f6 45%, #7c67d9);
  overflow: hidden;
}

.product-detail-photo span {
  position: absolute;
  top: 10px;
  left: 12px;
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-photo i {
  color: rgba(255, 255, 255, .72);
  font-size: 70px;
}

.product-detail-profile h2 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 950;
}

.product-stock-pill {
  width: max-content;
  margin: 0 0 14px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #222;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 850;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.product-detail-actions button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  background: #fafafa;
  padding: 0;
  color: #222;
  font-size: 17px;
  font-weight: 800;
}

.product-detail-actions button:hover {
  background: #f3f3f3;
}

.product-detail-actions button.danger {
  color: #d52b57;
}

.product-detail-content {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 4px 18px 24px;
}

.product-detail-card {
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: #f8f8f8;
}

.product-detail-card header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ececec;
  padding: 0 14px;
}

.product-detail-card h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 950;
}

.product-detail-card header button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-detail-card dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 14px;
}

.product-detail-card dl div {
  display: grid;
  grid-template-columns: minmax(122px, 42%) 1fr;
  gap: 12px;
  min-height: 28px;
  align-items: center;
  border-bottom: 0;
}

.product-detail-card dt {
  color: #777;
  font-size: 12px;
  font-weight: 750;
}

.product-detail-card dd {
  margin: 0;
  color: #111;
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.product-description-block {
  border-top: 1px solid #ececec;
  padding: 12px 14px 14px;
}

.product-description-block strong {
  display: block;
  margin-top: 0;
  color: #777;
  font-size: 12px;
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}

.product-description-block strong:first-child {
  margin-top: 0;
}

.product-description-block p {
  margin: 4px 0 12px;
  line-height: 1.35;
}

.product-add-view {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: auto;
  background: #fff;
}

.product-add-view[hidden] {
  display: none;
}

.product-add-header {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 78px;
  display: grid;
  grid-template-columns: 96px 1fr 180px;
  align-items: center;
  border-bottom: 1px solid #efefef;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.product-add-header h1 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 950;
}

.product-add-header #product-add-close {
  width: 72px;
  height: 72px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 32px;
}

.product-add-header #product-save-btn {
  justify-self: end;
  min-width: 158px;
  min-height: 52px;
  margin-right: 18px;
  border: 0;
  border-radius: 5px;
  background: #07151e;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.product-add-layout {
  width: min(1360px, calc(100vw - 120px));
  display: grid;
  grid-template-columns: minmax(700px, 900px) 380px;
  gap: 24px;
  margin: 42px auto 46px;
  align-items: start;
}

.product-add-main {
  display: grid;
  gap: 20px;
}

.product-form-card,
.product-photo-card {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.product-form-card h2,
.product-photo-card h2 {
  margin: 0;
  border-bottom: 1px solid #eeeeee;
  padding: 18px 24px;
  font-size: 21px;
  font-weight: 950;
}

.product-photo-card p {
  margin: 0;
  border-bottom: 1px solid #eeeeee;
  padding: 0 24px 18px;
  color: #222;
  font-size: 15px;
  line-height: 1.25;
}

.product-photo-card h2 {
  border-bottom: 0;
  padding-bottom: 8px;
}

.product-form-card > p {
  margin: -8px 24px 18px;
  color: #555;
}

.product-form-body,
.product-form-subsection {
  display: grid;
  gap: 16px;
  padding: 18px 24px 22px;
}

.product-form-subsection {
  border-top: 1px solid #eeeeee;
}

.product-form-body label,
.product-form-subsection label {
  position: relative;
  display: grid;
  gap: 6px;
  color: #222;
  font-size: 15px;
  font-weight: 850;
}

.product-form-body label > span:not(.product-prefix-input),
.product-form-subsection label > span:not(.product-prefix-input) {
  color: #aaa;
  font-weight: 650;
}

.product-form-body input,
.product-form-body select,
.product-form-body textarea,
.product-form-subsection input,
.product-form-subsection select,
.product-form-subsection textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #fff;
  padding: 0 14px;
  color: #111;
  font-size: 17px;
  font-weight: 500;
}

.product-form-body textarea {
  height: 86px;
  padding-top: 12px;
  resize: none;
}

.product-form-body small {
  color: #999;
  font-size: 12px;
  font-weight: 550;
}

.product-two-grid,
.product-three-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-three-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-prefix-input {
  display: grid;
  grid-template-columns: 62px 1fr;
}

.product-prefix-input > span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #ddd;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: #777;
}

.product-prefix-input input {
  border-radius: 0 4px 4px 0;
}

.product-prefix-input.disabled input,
.product-prefix-input.disabled span {
  background: #fafafa;
  color: #bbb;
}

.product-link-picker,
.product-inline-link {
  width: max-content;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-size: 17px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.product-inline-link {
  text-decoration: none;
}

.product-count {
  position: absolute;
  right: 8px;
  top: 0;
  color: #999;
  font-size: 13px;
}

.product-form-subsection strong {
  font-size: 17px;
  font-weight: 900;
}

.product-form-subsection p {
  margin: -10px 0 2px;
  color: #444;
  font-size: 14px;
}

.product-toggle {
  grid-template-columns: 54px 1fr !important;
  align-items: center;
  gap: 12px !important;
}

.product-toggle input {
  position: absolute;
  opacity: 0;
}

.product-toggle span {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #d9d9d9;
  transition: background .12s ease;
}

.product-toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left .12s ease;
}

.product-toggle input:checked + span {
  background: #1b91ee;
}

.product-toggle input:checked + span::after {
  left: 24px;
}

.product-tax-row {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  background: #f4f3f7;
  padding: 0 24px;
  font-size: 19px;
  font-weight: 800;
}

.product-tax-row button {
  border: 0;
  background: transparent;
  color: #318bd6;
  font-weight: 850;
}

.product-location-stock {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 16px;
}

.product-location-stock-list {
  display: grid;
  gap: 12px;
}

.product-location-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.product-location-list-head em {
  border-radius: 999px;
  background: #f1edff;
  color: #6d55d8;
  padding: 5px 12px;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.product-stock-muted {
  margin: 0;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fafafa;
  padding: 18px;
  color: #777;
}

.product-location-photo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeef8, #f6ede1);
}

.product-location-stock strong {
  display: block;
  margin-top: 2px;
}

.product-location-stock p {
  margin: 2px 0 12px;
  color: #999;
}

.product-location-stock label {
  grid-column: 1 / -1;
}

.product-location-breakdown {
  border-top: 1px solid #eeeeee;
  padding: 20px 28px 26px;
}

.product-location-breakdown strong {
  display: block;
  margin-bottom: 12px;
  font-weight: 950;
}

.product-location-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0;
  color: #555;
}

.product-location-breakdown b {
  color: #111;
}

.product-photo-card {
  position: sticky;
  top: 102px;
}

.product-photo-drop {
  position: relative;
  margin: 18px 24px 24px;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 10px;
  background: #e8f5ff;
  color: #4195d2;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background .14s ease;
}

.product-photo-drop.dragging,
.product-photo-drop:hover {
  background: #dff1ff;
}

.product-photo-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.product-photo-drop i {
  font-size: 28px;
}

.product-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: -6px 24px 24px;
}

.product-photo-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed #e2e2e2;
  border-radius: 8px;
  padding: 16px;
  color: #888;
  text-align: center;
  font-size: 15px;
}

.product-photo-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fff;
  cursor: grab;
}

.product-photo-tile.dragging {
  opacity: .52;
}

.product-photo-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.product-photo-tile figcaption {
  padding: 9px 10px;
  color: #555;
  font-size: 13px;
  font-weight: 850;
}

.product-photo-tile button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 18px;
}

.product-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(13, 18, 23, .34);
}

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

.product-picker-modal {
  width: 880px;
  max-height: min(820px, 88vh);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
}

.product-picker-modal header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
  padding: 0 34px;
}

.product-picker-modal h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 950;
}

.product-picker-modal header button {
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  font-size: 34px;
}

.product-picker-search {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 34px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 0 20px;
}

.product-picker-search input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 20px;
}

.product-picker-add {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
  padding: 0 34px;
  font-size: 21px;
  font-weight: 850;
}

.product-picker-list {
  max-height: 530px;
  overflow: auto;
}

.product-picker-item {
  width: 100%;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  background: #fff;
  padding: 0 34px;
  text-align: left;
}

.product-picker-item strong {
  font-size: 21px;
  font-weight: 900;
}

.product-picker-item span,
.product-picker-item small {
  color: #999;
  font-size: 17px;
}

.product-picker-item:hover {
  background: #fafafa;
}

.product-option-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(13, 18, 23, .34);
}

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

.product-option-modal {
  width: min(440px, calc(100vw - 40px));
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .24);
  overflow: hidden;
}

.product-option-modal header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
  padding: 0 24px;
}

.product-option-modal h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.product-option-modal header button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
}

.product-option-modal label {
  display: grid;
  gap: 10px;
  padding: 24px;
  font-weight: 850;
}

.product-option-modal input {
  height: 48px;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 18px;
  outline: 0;
}

.product-option-modal input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(7, 21, 30, .08);
}

.product-option-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eeeeee;
  padding: 16px 24px 20px;
}

.product-option-modal footer button {
  min-width: 96px;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.product-option-cancel {
  border: 1px solid #dedede;
  background: #fff;
  color: #111;
}

.product-option-save {
  border: 0;
  background: #07151e;
  color: #fff;
}

.product-options-shell .products-header {
  max-width: 1220px;
}

.product-options-card {
  max-width: 1220px;
}

.product-options-table th:last-child,
.product-options-table td:last-child {
  width: 120px;
  text-align: right;
}

.product-option-row-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
}

.product-option-row-actions button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 18px;
}

.product-option-row-actions button:hover {
  background: #f7f7f7;
}

.product-option-row-actions button[data-option-action="delete"] {
  color: #c91f45;
}

.product-option-confirm {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(13, 18, 23, .34);
}

.product-option-confirm[hidden] {
  display: none;
}

.product-option-confirm section {
  width: min(440px, calc(100vw - 40px));
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .24);
  padding: 28px;
}

.product-option-confirm h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 950;
}

.product-option-confirm p {
  margin: 0 0 24px;
  color: #666;
  line-height: 1.35;
}

.product-option-confirm div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.product-option-confirm button {
  min-width: 96px;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.product-option-confirm button:first-child {
  border: 1px solid #dedede;
  background: #fff;
}

.product-option-confirm .danger {
  border: 0;
  background: #c91f45;
  color: #fff;
}

.packages-shell {
  padding-bottom: 80px;
}

.packages-shell .package-actions {
  position: relative;
}

.package-add-wrap,
.packages-options-wrap {
  position: relative;
}

.package-actions #package-add-btn,
.packages-options-wrap #packages-options-btn {
  min-width: 104px;
  border-radius: 999px;
}

.packages-options-wrap #packages-options-btn {
  background: #fff;
  color: #111;
}

.package-actions #package-add-btn {
  background: #090d0f;
  color: #fff;
}

.package-add-menu,
.packages-options-menu,
.package-row-action-menu,
.package-category-action-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 8;
  width: 190px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
  padding: 8px;
}

.package-add-menu button,
.packages-options-menu button,
.package-row-action-menu button,
.package-category-action-menu button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0 12px;
  font-weight: 700;
  text-align: left;
}

.package-add-menu button:hover,
.packages-options-menu button:hover,
.package-row-action-menu button:hover,
.package-category-action-menu button:hover {
  background: #f5f5f5;
}

.packages-options-menu {
  width: 250px;
  padding: 12px 0;
}

.packages-options-menu button {
  min-height: 50px;
  border-radius: 0;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 750;
}

.packages-options-menu hr {
  border: 0;
  border-top: 1px solid #f1f1f1;
  margin: 10px 0 16px;
}

.package-row-action-menu .danger,
.package-category-action-menu .danger {
  color: #d91f4c;
}

.package-tabs {
  display: flex;
  gap: 14px;
  margin: 18px 0;
}

.package-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 20px;
  font-weight: 800;
}

.package-tabs .active {
  background: #090d0f;
  color: #fff;
}

.package-toolbar {
  align-items: center;
}

.package-toolbar .products-search {
  max-width: 300px;
}

.package-toolbar #package-manage-order-btn {
  margin-left: auto;
}

.package-menu-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 60px;
  margin-top: 38px;
}

.package-category-card {
  align-self: start;
  border: 1px solid #eee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
  padding: 22px;
}

.package-category-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.package-category-btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0 12px;
  font-weight: 700;
  text-align: left;
}

.package-category-btn.active {
  background: #f1efff;
}

.package-category-btn em {
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee;
  color: #777;
  font-size: 13px;
  font-style: normal;
}

.package-category-add {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #604ad8;
  padding: 8px 12px;
  font-weight: 700;
}

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

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

.package-group[hidden] {
  display: none;
}

.package-group-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.package-group-head h2 {
  margin: 0;
  font-size: 22px;
}

.package-category-actions {
  position: relative;
}

.package-category-action-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #eeeeee;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
}

.package-category-action-btn:hover,
.package-category-action-btn[aria-expanded="true"] {
  border-color: #dedede;
  background: #fafafa;
}

.package-category-action-menu {
  width: 220px;
  z-index: 14;
}

.package-empty-copy {
  margin: 0 0 0 24px;
  color: #9b9b9b;
  font-size: 15px;
}

.package-empty {
  margin: 0;
  color: #777;
  font-weight: 700;
}

.package-row {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 16px;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
  padding: 14px 10px 14px 22px;
}

.package-row.is-archived {
  opacity: .7;
}

.package-row.is-archived .package-row-main strong::after {
  content: "Archived";
  display: inline-grid;
  place-items: center;
  margin-left: 10px;
  border-radius: 999px;
  background: #f1efff;
  color: #604ad8;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 2px;
}

.package-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 6px 0 0 6px;
  background: #ff9264;
}

.package-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #6e38ff, #c139dc);
  color: #fff;
  font-size: 22px;
}

.package-row-main {
  min-width: 0;
}

.package-row-main strong {
  display: block;
  overflow: hidden;
  color: #111;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package-row-main small,
.package-row-main p {
  display: block;
  overflow: hidden;
  margin: 2px 0 0;
  color: #777;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package-price {
  justify-self: end;
  font-weight: 800;
  white-space: nowrap;
}

.package-row-actions {
  position: relative;
  display: grid;
  place-items: center;
}

.package-row-more {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 20px;
}

.package-row-more:hover {
  background: #f4f4f4;
}

.package-row-action-menu {
  top: 36px;
  min-width: 210px;
}

.package-filter-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(390px, 92vw);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  box-shadow: -26px 0 70px rgba(15, 23, 42, .18);
}

.package-filter-panel[hidden] {
  display: none;
}

.package-filter-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #efefef;
  padding: 0 28px;
}

.package-filter-header h2 {
  margin: 0;
  font-size: 25px;
}

.package-filter-header button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f7f7f7;
  font-size: 18px;
}

.package-filter-body {
  overflow: auto;
}

.package-filter-section {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid #efefef;
  padding: 22px 28px;
}

.package-filter-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.package-filter-section header span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.package-filter-section header em {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #6d5dfc;
  color: #fff;
  font-size: 12px;
  font-style: normal;
}

.package-filter-section header button {
  border: 0;
  background: transparent;
  color: #111;
  font-weight: 800;
}

.package-filter-check {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-weight: 700;
}

.package-filter-check input {
  width: 24px;
  height: 24px;
  accent-color: #6d5dfc;
}

.package-filter-disabled i:last-child {
  color: #777;
}

.package-filter-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid #efefef;
  background: #fff;
  padding: 20px 28px;
}

.package-filter-footer button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
}

#package-filter-clear {
  border: 1px solid #e5e5e5;
  background: #fff;
}

#package-filter-apply {
  border: 0;
  background: #070f11;
  color: #fff;
}

.package-builder-screen,
.package-picker-screen {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: auto;
  background: #fff;
  color: #0b0d10;
}

.package-builder-top,
.package-picker-top {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 66px;
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
  border-bottom: 1px solid #ededed;
  background: rgba(255, 255, 255, .96);
  padding: 0 28px;
}

.package-builder-top h2,
.package-picker-top h2,
.package-picker-top strong {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.package-builder-top button,
.package-picker-top button,
.package-add-benefit-btn,
.package-benefits-empty button,
.package-add-benefit-inline,
.package-benefit-stepper button,
.package-benefit-remove {
  min-height: 42px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: #fff;
  padding: 0 22px;
  font-weight: 800;
}

#package-form-save,
#package-service-select-apply {
  justify-self: end;
  border-color: #0b1114;
  background: #070f11;
  color: #fff;
}

.package-builder-layout {
  width: min(1240px, calc(100vw - 96px));
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 88px;
  margin: 44px auto 90px;
}

.package-builder-nav {
  position: sticky;
  top: 106px;
  height: max-content;
  border: 1px solid #ececf0;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(19, 23, 31, .04);
}

.package-builder-nav button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0 16px;
  text-align: left;
  font-weight: 700;
}

.package-builder-nav button.active {
  background: #f0edff;
}

.package-builder-main {
  display: grid;
  gap: 56px;
}

.package-builder-section h1,
.package-picker-main h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.05;
}

.package-builder-section h3 {
  margin: 0;
  font-size: 26px;
}

.package-builder-section > p {
  margin: 4px 0 24px;
  color: #777;
  font-size: 15px;
}

.package-details-card,
.package-pricing-card,
.package-benefits-box {
  border: 1px solid #ececf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(19, 23, 31, .05);
}

.package-details-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  padding: 34px 38px;
}

.package-details-card label,
.package-pricing-card label,
.package-benefit-row label {
  display: grid;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}

.package-details-card input,
.package-details-card select,
.package-details-card textarea,
.package-pricing-card input,
.package-pricing-card select,
.package-service-search input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dadde2;
  border-radius: 8px;
  background: #fff;
  padding: 10px 14px;
  color: #0b0d10;
  font-size: 16px;
}

.package-name-field > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
}

.package-icon-swatch {
  width: 52px;
  min-height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #6d5dfc, #d730df);
  color: #fff;
  font-size: 22px;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.2);
}

.package-builder-full {
  grid-column: 1 / -1;
}

.package-builder-full > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.package-details-card textarea {
  height: 132px;
  resize: vertical;
}

.package-benefits-box {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.package-benefits-empty {
  display: grid;
  justify-items: center;
  text-align: center;
}

.package-benefits-empty[hidden] {
  display: none;
}

.package-benefits-empty button {
  min-width: 170px;
  background: #111;
  color: #fff;
  border-color: #111;
}

.package-benefits-empty #package-add-benefit,
.package-benefits-empty #package-add-benefit i {
  color: #fff;
}

.package-benefits-list {
  width: 100%;
  display: grid;
  gap: 14px;
}

.package-benefit-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 170px 170px 42px;
  align-items: center;
  gap: 16px;
  border: 1px solid #ededed;
  border-radius: 10px;
  padding: 18px;
}

.package-benefit-row > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eefbea;
  color: #2b8a44;
  font-size: 22px;
}

.package-benefit-row strong {
  display: block;
  font-size: 17px;
}

.package-benefit-row small {
  color: #777;
}

.package-benefit-summary {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.package-benefit-row input {
  width: 54px;
  min-height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #111;
  font-size: 21px;
  font-weight: 850;
  text-align: center;
  appearance: textfield;
}

.package-benefit-row input::-webkit-outer-spin-button,
.package-benefit-row input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.package-benefit-counter {
  display: grid;
  gap: 8px;
}

.package-benefit-counter > b {
  color: #666;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
}

.package-benefit-stepper {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.package-benefit-stepper button {
  width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f5f5f5;
  color: #555;
  padding: 0;
  font-size: 16px;
}

.package-benefit-stepper button:hover,
.package-benefit-stepper button:focus-visible {
  background: #111;
  color: #fff;
  outline: none;
}

.package-benefit-remove {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
}

.package-add-benefit-inline {
  justify-self: start;
  margin-top: 12px;
}

.package-pricing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px 38px;
}

.currency-input,
.token-input {
  display: grid;
}

.currency-input {
  grid-template-columns: 54px 1fr;
}

.currency-input b {
  display: grid;
  place-items: center;
  border: 1px solid #dadde2;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: #777;
}

.currency-input input {
  border-radius: 0 8px 8px 0;
}

.token-input {
  grid-template-columns: 1fr 76px;
}

.token-input b {
  display: grid;
  place-items: center;
  border: 1px solid #dadde2;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  color: #777;
  font-size: 13px;
}

.token-input input {
  border-radius: 8px 0 0 8px;
}

.package-expiry-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.package-picker-main {
  width: min(760px, calc(100vw - 48px));
  margin: 46px auto 90px;
}

.package-picker-section-title {
  margin: 30px 0 12px;
  font-weight: 800;
}

.package-benefit-type-card {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid #e8e8e8;
  background: #fff;
  padding: 18px 22px;
  text-align: left;
}

.package-benefit-type-card + .package-benefit-type-card {
  border-top: 0;
}

.package-benefit-type-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #effced;
  color: #2b8a44;
  font-size: 21px;
}

.package-benefit-type-card strong {
  display: block;
}

.package-benefit-type-card small {
  display: block;
  margin-top: 4px;
  color: #666;
}

.package-benefit-type-card.disabled {
  color: #aaa;
}

.package-service-search {
  position: relative;
  display: block;
  margin: 28px 0;
}

.package-service-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

.package-service-search input {
  padding-left: 46px;
}

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

.package-service-group {
  display: grid;
  border-bottom: 1px solid #ededed;
  padding: 8px 0;
}

.package-service-group > header label {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.package-service-group > header input,
.package-service-option input {
  width: 22px;
  height: 22px;
  accent-color: #6d5dfc;
}

.package-service-group > header strong {
  font-size: 17px;
}

.package-service-group > header em {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f4f4f4;
  color: #777;
  font-style: normal;
  font-size: 13px;
}

.package-service-option {
  min-height: 74px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-left: 28px;
  cursor: pointer;
}

.package-service-check {
  display: none;
}

.package-service-option strong {
  display: block;
}

.package-service-option small {
  color: #777;
}

.package-service-option b {
  font-weight: 700;
}

.workspace-settings-page {
  min-width: 1180px;
  background: #fff;
  color: #111;
  font-family: "Noto Sans TC", Arial, sans-serif;
}

.settings-shell {
  margin-left: 60px;
  padding: 72px 88px 90px;
}

.settings-hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 950;
}

.settings-hero p {
  margin: 0;
  color: #777;
  font-size: 17px;
}

.settings-tabs {
  display: flex;
  gap: 22px;
  margin: 36px 0 34px;
}

.settings-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 20px;
  color: #111;
  font-weight: 850;
}

.settings-tabs .active {
  background: #071116;
  color: #fff;
}

.settings-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 350px));
  gap: 28px;
}

.workspace-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  background: #fff;
  color: #111;
  text-decoration: none;
  padding: 28px;
  transition: box-shadow .16s ease, transform .16s ease;
}

.workspace-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.workspace-card i {
  color: #6d53ee;
  font-size: 26px;
}

.workspace-card strong {
  font-size: 19px;
  font-weight: 950;
}

.workspace-card span {
  color: #777;
  font-size: 16px;
  line-height: 1.35;
}

.settings-detail-shell {
  padding-top: 54px;
}

.settings-breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: #777;
  font-size: 16px;
}

.settings-breadcrumb a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  padding: 0 16px;
  font-weight: 800;
}

.settings-breadcrumb span + span::before {
  content: ".";
  margin-right: 14px;
  color: #aaa;
}

.settings-detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(560px, 760px);
  gap: 38px;
  align-items: start;
}

.settings-section-card {
  height: max-content;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  padding: 24px 16px;
}

.settings-section-card h2 {
  margin: 0 0 18px;
  padding: 0 16px;
  font-size: 24px;
  font-weight: 950;
}

.settings-section-card a {
  display: block;
  border-radius: 8px;
  color: #111;
  text-decoration: none;
  padding: 14px 18px;
  font-weight: 750;
}

.settings-section-card a.active {
  background: #f0edff;
}

.payment-methods-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.payment-methods-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 950;
}

.payment-methods-head p {
  max-width: 620px;
  margin: 0;
  color: #777;
  font-size: 16px;
  line-height: 1.35;
}

.payment-methods-head a {
  color: #6d53ee;
  text-decoration: none;
}

.payment-method-actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.settings-pill-btn,
.settings-dark-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.settings-pill-btn {
  border: 1px solid #e4e4e4;
  background: #fff;
  color: #111;
}

.settings-dark-btn {
  border: 0;
  background: #071116;
  color: #fff;
}

.settings-pill-btn:hover,
.settings-dark-btn:hover {
  transform: translateY(-1px);
}

.payment-method-list {
  display: grid;
  gap: 18px;
}

.payment-method-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  background: #fff;
  padding: 18px 24px;
}

.payment-method-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f7fbf7;
  color: #158032;
  font-size: 28px;
}

.payment-method-row strong {
  font-size: 18px;
  font-weight: 900;
}

.payment-method-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .35;
  transition: opacity .16s ease;
}

.payment-method-row:hover .payment-method-row-actions {
  opacity: 1;
}

.payment-method-row-actions form {
  margin: 0;
}

.payment-method-row-actions button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f7f7f7;
  color: #111;
  font-size: 18px;
}

.payment-method-delete {
  color: #cf3152 !important;
}

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

.location-settings-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 54px minmax(180px, 1fr) minmax(160px, 220px) minmax(260px, 1.2fr) 42px;
  align-items: center;
  gap: 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.location-settings-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0edff;
  color: #6548d8;
  font-size: 18px;
}

.location-settings-row strong {
  display: block;
  color: #101010;
  font-size: 15px;
  font-weight: 900;
}

.location-settings-row span,
.location-settings-row p {
  margin: 0;
  color: #6f6f6f;
  font-size: 13px;
}

.location-code-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-code-pills span,
.location-code-pills b {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f7f7f7;
  color: #555;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.location-code-pills b {
  background: #edf8f4;
  color: #15735d;
}

.location-edit {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f7f7f7;
  color: #111;
  font-size: 17px;
}

.location-edit:hover {
  background: #eeeeee;
}

.location-edit-panel {
  padding-top: 92px;
  padding-bottom: 72px;
}

.location-form-grid {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.location-form-grid > label:not(.team-form-toggle) {
  display: grid;
  gap: 8px;
}

.location-form-grid > label:not(.team-form-toggle) > span {
  color: #101010;
  font-size: 13px;
  font-weight: 850;
}

.location-form-grid input,
.location-form-grid textarea {
  width: 100%;
}

.location-form-grid textarea {
  min-height: 112px;
  resize: vertical;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  color: #101010;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
}

.location-form-grid textarea:focus {
  border-color: #7256df;
  box-shadow: 0 0 0 1px #7256df;
}

.location-wide-field {
  grid-column: 1 / -1;
}

.location-default-toggle {
  grid-column: 1 / -1;
}

.location-hours-fieldset {
  width: min(760px, 100%);
  margin: 28px 0 0;
  border: 0;
  padding: 0;
}

.location-hours-fieldset legend {
  margin-bottom: 12px;
  padding: 0;
  color: #101010;
  font-size: 15px;
  font-weight: 900;
}

.location-hours-list {
  display: grid;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.location-hour-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 130px 28px 130px 78px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid #eeeeee;
}

.location-hour-row:last-child {
  border-bottom: 0;
}

.location-hour-row > span,
.location-hour-row em {
  color: #747474;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.location-hour-row em {
  opacity: 0;
}

.location-hour-row.is-closed em {
  opacity: 1;
}

.location-hour-closed {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  color: #101010;
  font-size: 13px;
  font-weight: 850;
}

.location-hour-closed input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.location-hour-row input[type="time"] {
  height: 38px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: #101010;
  font-size: 13px;
  outline: none;
}

.location-hour-row input[type="time"]:disabled {
  color: #999;
  background: #f7f7f7;
}

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

.team-member-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: 54px minmax(190px, 1fr) 110px minmax(180px, 300px) 42px;
  align-items: center;
  gap: 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.permissions-role-row {
  grid-template-columns: 54px minmax(190px, 1fr) 150px minmax(180px, 1fr) auto;
}

.role-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.role-row-actions form {
  margin: 0;
}

.role-delete {
  color: #c0183a;
}

.role-delete:disabled {
  cursor: not-allowed;
  opacity: .38;
  color: #999;
}

.role-edit-panel {
  max-width: 560px;
}

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

.team-member-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #101010;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-member-row strong {
  display: block;
  color: #101010;
  font-size: 15px;
  font-weight: 900;
}

.team-member-row span {
  color: #6f6f6f;
  font-size: 13px;
}

.team-role-pill {
  width: max-content;
  min-width: 84px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0edff;
  color: #6548d8 !important;
  padding: 0 12px;
  font-weight: 850;
}

.team-role-stack {
  display: grid;
  gap: 6px;
}

.team-role-pill.is-live {
  background: #edf8f4;
  color: #15735d !important;
}

.team-role-pill.is-muted {
  background: #f3f3f3;
  color: #777 !important;
}

.team-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-permission-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.team-location-pills span,
.team-location-pills em,
.team-permission-pills span,
.team-permission-pills em,
.team-permission-pills b {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f7f7f7;
  color: #555;
  padding: 0 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.team-location-pills em,
.team-permission-pills em {
  color: #8b8b8b;
}

.team-location-pills span.is-full {
  background: #edf8f4;
  color: #15735d;
}

.team-location-pills span.is-partial {
  background: #f3f3f3;
  color: #777;
}

.team-permission-pills span {
  background: #edf8f4;
  color: #15735d;
}

.team-permission-pills b {
  background: #fff6dd;
  color: #85621b;
  font-size: 12px;
}

.permissions-member-list {
  display: grid;
  gap: 18px;
}

.permissions-role-create {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.permissions-role-create label,
.permissions-role-name {
  display: grid;
  gap: 7px;
  color: #717171;
  font-size: 12px;
  font-weight: 800;
}

.permissions-role-create input,
.permissions-role-name input {
  height: 44px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #fff;
  padding: 0 13px;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}

.permissions-role-create input:focus,
.permissions-role-name input:focus {
  border-color: #7256df;
}

.permissions-member-card {
  display: grid;
  gap: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.permissions-member-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.permissions-role-card .permissions-member-head {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
}

.permissions-role-card .permissions-member-head .settings-dark-btn {
  margin-bottom: 0;
}

.permissions-role-count {
  white-space: nowrap;
}

.permissions-role-table table {
  width: 100%;
  border-collapse: collapse;
}

.permissions-role-table th,
.permissions-role-table td {
  border-bottom: 1px solid #eeeeee;
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.permissions-role-table th {
  color: #777;
  font-size: 12px;
  font-weight: 900;
}

.permissions-role-table tr:last-child td {
  border-bottom: 0;
}

.permissions-role-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.permissions-role-cell strong {
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.permissions-area {
  display: grid;
  gap: 10px;
}

.permissions-area h3 {
  margin: 2px 0 0;
  color: #101010;
  font-size: 13px;
  font-weight: 950;
}

.permissions-member-head strong {
  display: block;
  color: #101010;
  font-size: 16px;
  font-weight: 900;
}

.permissions-member-head span {
  color: #6f6f6f;
  font-size: 13px;
}

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

.team-edit {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f7f7f7;
  color: #111;
  font-size: 17px;
  text-decoration: none;
}

.team-edit:hover {
  background: #eeeeee;
}

.team-edit-panel {
  padding-top: 92px;
  padding-bottom: 72px;
}

.team-form-grid {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.team-edit-panel label,
.team-location-fieldset,
.team-permission-fieldset {
  display: grid;
  gap: 8px;
  color: #101010;
  font-size: 13px;
  font-weight: 850;
}

.team-edit-panel input,
.team-edit-panel select {
  height: 46px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: #101010;
  font-size: 14px;
  outline: none;
}

.team-form-toggle {
  min-height: 46px;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 12px !important;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 12px;
}

.team-form-toggle input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.team-form-toggle span {
  display: grid;
  gap: 2px;
}

.team-form-toggle strong {
  color: #101010;
  font-size: 13px;
  font-weight: 900;
}

.team-form-toggle small {
  color: #747474;
  font-size: 12px;
  font-weight: 500;
}

.team-edit-panel input:focus,
.team-edit-panel select:focus {
  border-color: #7256df;
  box-shadow: 0 0 0 1px #7256df;
}

.team-location-fieldset,
.team-permission-fieldset {
  width: min(760px, 100%);
  margin: 28px 0 0;
  border: 0;
  padding: 0;
}

.team-location-fieldset legend,
.team-permission-fieldset legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 15px;
  font-weight: 900;
}

.team-permission-fieldset p {
  max-width: 620px;
  margin: -6px 0 6px;
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.team-location-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

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

.team-location-options label,
.team-permission-toggle {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 750;
}

.team-permission-toggle {
  min-height: 74px;
  align-items: flex-start;
  padding: 13px;
}

.team-split-permission {
  grid-column: span 1;
  justify-content: space-between;
  align-items: center;
}

.team-permission-toggle span {
  display: grid;
  gap: 3px;
}

.team-permission-toggle strong {
  color: #101010;
  font-size: 13px;
  font-weight: 900;
}

.team-permission-toggle small {
  color: #747474;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.team-location-options input,
.team-permission-toggle input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.team-split-switch {
  flex: 0 0 auto;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2px !important;
  width: 150px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #f7f7f7;
  padding: 3px;
}

.team-split-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.team-split-switch label {
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #707070;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: background .14s ease, color .14s ease;
}

.team-split-switch input:checked + label {
  background: #101010;
  color: #fff;
}

.settings-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #ddd;
  border-radius: 14px;
  color: #777;
  text-align: center;
}

.settings-empty-state i {
  color: #6d53ee;
  font-size: 34px;
}

.settings-empty-state strong {
  color: #111;
  font-size: 20px;
  font-weight: 950;
}

.settings-flash {
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 800;
}

.settings-flash.success {
  background: #ecfbf0;
  color: #14793c;
}

.settings-flash.error {
  background: #fff0f2;
  color: #cf3152;
}

.settings-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
  overflow-y: auto;
  background: rgba(255,255,255,1);
  backdrop-filter: blur(2px);
}

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

.settings-edit-panel {
  width: min(980px, calc(100vw - 220px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 0;
}

.settings-edit-actions {
  position: fixed;
  top: 24px;
  right: 32px;
  display: flex;
  gap: 12px;
}

.settings-edit-panel h1 {
  margin: 0 0 44px;
  font-size: 42px;
  font-weight: 950;
}

.settings-edit-panel label {
  width: min(680px, 100%);
  /* display: grid; */
  gap: 8px;
  font-weight: 850;
}

.settings-edit-panel input {
  height: 54px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  padding: 0 18px;
  font-size: 18px;
}

.settings-edit-panel input:focus {
  outline: 2px solid #6d5dfc;
  outline-offset: 1px;
}

/* Shared modern app typography */
.arcana-app {
  --app-ink: #101010;
  --app-muted: #6f6f6f;
  --app-soft: #f8f8f8;
  --app-line: #e8e8e8;
  color: var(--app-ink);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.arcana-app button,
.arcana-app input,
.arcana-app select,
.arcana-app textarea {
  color: var(--app-ink);
  font-size: 14px;
  letter-spacing: 0;
}

.arcana-app :is(h1, h2, h3, h4, p, small, strong, span, label, th, td, button, input, select, textarea, a) {
  letter-spacing: 0;
}

.clients-list-header h1,
.products-header h1,
.sales-list-header h1,
.settings-hero h1,
.payment-methods-head h1,
.service-create-view h1 {
  color: var(--app-ink);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 950;
}

.clients-import-view h2,
.products-import-view h2,
.packages-import-view h2,
.service-import-view h2,
.checkout-refund-shell h2,
.checkout-paynow-shell h2,
.settings-edit-panel h1 {
  color: var(--app-ink);
  font-size: 38px;
  line-height: 1.08;
  font-weight: 950;
}

.clients-list-header h1 span,
.products-header h1 span {
  min-width: 30px;
  height: 24px;
  font-size: 12px;
  transform: translateY(-3px);
}

.clients-list-header p,
.products-header p,
.sales-list-header p,
.settings-hero p,
.payment-methods-head p,
.clients-import-copy,
.products-import-copy,
.packages-import-copy,
.service-import-copy,
.clients-import-template,
.products-import-template,
.packages-import-template,
.service-import-template {
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.45;
}

.clients-list-actions button,
.products-actions button {
  min-height: 48px;
  border-color: var(--app-line);
  border-radius: 8px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 850;
}

.clients-options-menu,
.products-options-menu,
.service-options-menu,
.service-add-menu,
.service-category-action-menu,
.service-row-action-menu {
  border-color: var(--app-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.clients-options-menu button,
.products-options-menu button,
.service-options-menu button,
.service-add-menu button,
.service-category-action-menu button,
.service-row-action-menu button {
  font-size: 14px;
  font-weight: 750;
}

.clients-toolbar,
.products-toolbar,
.service-menu-toolbar {
  border-radius: 8px;
  background: var(--app-soft);
  padding: 16px 18px;
  box-shadow: none;
}

.clients-search,
.products-search,
.clients-filter-btn,
.clients-sort-btn,
.products-filter-btn,
.products-sort-btn,
.service-category-action-btn,
.settings-pill-btn,
.settings-dark-btn {
  min-height: 44px;
  border-color: var(--app-line);
  font-size: 14px;
  font-weight: 800;
}

.clients-search input,
.products-search input {
  font-size: 14px;
}

.clients-table,
.products-table,
.sales-table,
.member-table {
  font-size: 14px;
}

.clients-table th,
.products-table th,
.sales-table th,
.member-table th {
  color: var(--app-ink);
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 850;
}

.clients-table td,
.products-table td,
.sales-table td,
.member-table td {
  color: var(--app-ink);
  padding: 16px 22px;
  font-size: 14px;
}

.client-name-cell strong,
.product-list-name strong,
.service-row-main strong,
.payment-method-row strong,
.workspace-card strong {
  color: var(--app-ink);
  font-size: 15px;
  font-weight: 850;
}

.client-name-cell span,
.product-list-name small,
.service-row-main small,
.service-row-main p,
.workspace-card span {
  color: var(--app-muted);
  font-size: 13px;
}

.service-category-card,
.service-row,
.service-create-nav,
.workspace-card,
.settings-section-card,
.payment-method-row,
.settings-empty-state {
  border-color: var(--app-line);
  border-radius: 8px;
  box-shadow: none;
}

.service-category-card h2,
.service-group h2,
.service-form-section h2,
.settings-section-card h2 {
  color: var(--app-ink);
  font-size: 18px;
  font-weight: 900;
}

.service-row {
  min-height: 94px;
  padding: 16px 16px 16px 22px;
}

.service-create-actions button,
.service-field input,
.service-field select,
.service-money-input,
.product-form-body input,
.product-form-body select,
.settings-edit-panel input {
  height: 46px;
  min-height: 46px;
  border-color: var(--app-line);
  border-radius: 8px;
  font-size: 14px;
}

.service-field textarea,
.product-form-body textarea {
  min-height: 96px;
  border-color: var(--app-line);
  border-radius: 8px;
  font-size: 14px;
}

.product-detail-actions button {
  font-size: 17px;
}

.product-form-body label,
.service-field,
.settings-edit-panel label {
  color: var(--app-ink);
  font-size: 13px;
  font-weight: 850;
}

.products-actions button:disabled,
.products-actions #products-add-btn:disabled,
.products-options-menu button:disabled,
.product-detail-actions button:disabled,
.product-detail-card header button:disabled,
.product-add-header #product-save-btn:disabled {
  border-color: #d8d8d8;
  background: #f1f1f1;
  color: #9a9a9a;
  cursor: not-allowed;
  opacity: 1;
}

.products-options-menu button:disabled {
  background: transparent;
  color: #aaa;
}

@media (max-width: 1100px) {
  .settings-shell {
    padding: 50px 34px 80px;
  }

  .settings-card-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

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

  .settings-edit-panel {
    width: calc(100vw - 120px);
  }
}

@media (max-width: 900px) {
  .arcana-app { min-width: 760px; }
  .app-nav { padding: 0 18px; }
  .nav-inner { gap: 22px; }
  .nav-user { gap: 18px; }
  .login-card { width: 88vw; }
}
