/* Barbershop OS. D-012: preserve the existing matte palette. */
.workspace .account-entry {
  max-width: 680px;
  margin-bottom: 24px;
}
.workspace .account-settings {
  display: grid;
  gap: 24px;
}
.workspace .account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.workspace .account-grid > *,
.workspace .account-member {
  min-width: 0;
  overflow-wrap: anywhere;
}
.workspace .account-member {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-top: 14px;
}
.workspace .account-invite-link {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 18px;
}
.workspace .account-settings h3 {
  margin-bottom: 12px;
}
.workspace .account-settings p,
.workspace .account-entry p {
  line-height: 1.6;
}
.workspace .account-settings button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.workspace .account-settings textarea {
  min-height: 110px;
}
@media (max-width: 850px) {
  .workspace .account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .workspace .account-settings input,
  .workspace .account-settings select,
  .workspace .account-entry input {
    font-size: 16px;
  }
  .workspace .account-member {
    padding: 14px;
  }
}
/* Connected original-style shop calendar; no fixture financial data. */
.workspace .workspace-sidebar {
  background: var(--forest);
  color: #d7dae4;
  padding: 28px 18px;
}
.workspace .workspace-sidebar nav button {
  color: #d7dae4;
  min-height: 44px;
}
.workspace .workspace-sidebar nav button:hover {
  background: #ffffff12;
}
.workspace .workspace-sidebar nav button[aria-current] {
  background: #a8d5c233;
  color: #fff;
  box-shadow: inset 3px 0 var(--ollo-green, #a8d5c2);
}
.workspace .workspace-sidebar .workspace-shop {
  color: #fff;
  font-size: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffffff26;
}
.workspace .workspace-sidebar .workspace-footnote {
  color: #c2c6d5;
}
.workspace .design-reference-links {
  color: #c2c6d5;
  font-size: 12px;
  margin-top: 30px;
}
.workspace .design-reference-links summary {
  cursor: pointer;
  padding: 8px 0;
}
.workspace .design-reference-links a {
  color: #e3e5ed;
  display: block;
  padding: 8px 0;
}
.workspace .workspace-main {
  padding: 30px clamp(16px, 2.5vw, 40px);
  max-width: none;
}
.workspace .workspace-banner {
  background: #edeef3;
  color: #292f46;
  border-bottom: 1px solid var(--line);
}
.workspace .workspace-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.workspace .workspace-heading h1 {
  font-size: clamp(25px, 2.5vw, 34px);
  letter-spacing: -1px;
}
.workspace .workspace-heading p {
  max-width: 60ch;
}
.workspace .connected-stats {
  margin-bottom: 24px;
}
.workspace .connected-stats .stat-card {
  padding: 20px;
}
.workspace .connected-stats .stat-value {
  font-size: 29px;
}
.workspace .connected-stats .stat-foot {
  font-size: 12px;
  line-height: 1.5;
}
.workspace .connected-calendar .workspace-footnote {
  display: block;
  padding: 14px 20px;
  margin: 0;
}
.workspace .connected-calendar .calendar-toolbar p {
  font-size: 12px;
  margin: 4px 0 0;
  color: var(--muted);
}
.workspace .connected-scroll {
  max-height: 620px;
  overscroll-behavior: contain;
}
.workspace .connected-timeline {
  background: #fff;
}
.workspace .connected-timeline .barber-column {
  min-width: 0;
}
.workspace .timetable-slot {
  position: absolute;
  left: 0;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e7e8ee;
  background: transparent;
  color: var(--accent);
  padding: 0 8px;
  text-align: right;
}
.workspace .timetable-slot span {
  opacity: 0;
  font-size: 12px;
}
.workspace .timetable-slot:hover:not(:disabled),
.workspace .timetable-slot:focus-visible {
  background: #edeff5;
}
.workspace .timetable-slot:hover span,
.workspace .timetable-slot:focus-visible span {
  opacity: 1;
}
.workspace .timetable-slot.blocked {
  background: repeating-linear-gradient(
    135deg,
    #f2f3f5,
    #f2f3f5 5px,
    #e9eaef 5px,
    #e9eaef 6px
  );
  color: #585b6a;
}
.workspace .timetable-slot.blocked span {
  opacity: 1;
}
.workspace .connected-calendar .calendar-event {
  left: 5px;
  right: 5px;
  padding: 4px 8px;
  text-align: left;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.workspace .connected-calendar .calendar-event strong {
  font-size: 12px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.workspace .connected-calendar .calendar-event span,
.workspace .connected-calendar .calendar-event small {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.workspace .connected-calendar .staff-column-heading strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.workspace .connected-calendar .staff-column-heading div > span {
  font-size: 11px;
}
.workspace .connected-calendar .timezone-label,
.workspace .connected-calendar .timezone-label span {
  font-size: 10px;
  color: #51566a;
}
.workspace .connected-calendar .time-gutter > span {
  font-size: 11px;
  color: #51566a;
}
.workspace .connected-calendar .calendar-footer {
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.5;
}
.workspace .connected-now {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px solid #a75341;
  pointer-events: none;
  z-index: 3;
}
.workspace .connected-now span {
  position: absolute;
  top: -10px;
  left: 4px;
  background: #a75341;
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 10px;
}
.workspace .closed-day-bookings {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.dialog-close-warning {
  padding: 16px;
  margin: 12px 0 20px;
  border: 1px solid #b9a56f;
  border-radius: 12px;
  background: #faf6e9;
}
.dialog-close-warning .button {
  margin: 8px 8px 0 0;
}
@media (min-width: 768px) {
  .workspace .workspace-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
}
@media (max-width: 1024px) {
  .workspace .connected-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .workspace .workspace-sidebar {
    padding: 16px;
  }
  .workspace .workspace-sidebar .design-reference-links {
    display: none;
  }
  .workspace .workspace-main {
    padding: 22px 16px;
  }
  .workspace .connected-stats {
    gap: 10px;
  }
  .workspace .connected-stats .stat-card {
    padding: 14px;
  }
  .workspace .connected-stats .stat-value {
    font-size: 24px;
  }
  .workspace .connected-stats .stat-label {
    font-size: 12px;
    gap: 4px;
  }
  .workspace .connected-calendar .calendar-toolbar {
    align-items: stretch;
  }
  .workspace .connected-calendar .segmented {
    display: flex;
    width: 100%;
  }
  .workspace .connected-calendar .segmented button {
    flex: 1;
    min-height: 44px;
  }
  .workspace .connected-calendar .calendar-footer {
    display: block;
  }
  .workspace .connected-calendar .calendar-footer > span {
    display: flex;
    margin: 6px 0;
  }
}

/* E1: compact calendar hierarchy; fixture styles remain untouched. */
.workspace .skip-link:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
}
.workspace .connected-stats {
  margin-bottom: 16px;
}
.workspace .connected-stats .stat-card {
  padding: 14px 18px;
}
.workspace .connected-stats .stat-value {
  margin-top: 6px;
}
.workspace .connected-stats .stat-foot {
  margin-top: 6px;
}
.workspace .calendar-command-bar {
  padding: 16px 18px;
}
.workspace .calendar-date-heading h2 {
  margin: 0;
  font-size: 20px;
}
.workspace .calendar-primary-actions,
.workspace .calendar-day-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workspace .calendar-primary-actions {
  flex-wrap: wrap;
}
.workspace .calendar-primary-actions .button,
.workspace .calendar-primary-actions .segmented button,
.workspace .calendar-day-actions .button {
  min-height: 44px;
}
.workspace .calendar-day-actions .button {
  min-width: 44px;
  padding: 10px;
}
.workspace .calendar-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 0 18px 12px;
}
.workspace .calendar-date-controls {
  display: flex;
  align-items: end;
  gap: 8px;
}
.workspace .calendar-filters {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr) minmax(
      180px,
      1.4fr
    );
  gap: 12px;
  flex: 1;
}
.workspace .calendar-controls .workspace-field {
  margin: 0;
  min-width: 0;
  font-size: 12px;
}
.workspace .calendar-filter-summary {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 0 18px 8px;
  font-size: 12px;
  color: var(--muted);
}
.workspace .calendar-filter-summary .button {
  min-height: 44px;
  padding: 8px;
  font-size: 12px;
}
.workspace .calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 18px;
  font-size: 12px;
  color: #525665;
  border-bottom: 1px solid var(--line);
}
.workspace .calendar-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.workspace .calendar-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid #7f8394;
}
.workspace .legend-free {
  background: #fff;
}
.workspace .legend-unavailable {
  background: repeating-linear-gradient(
    135deg,
    #f2f3f5,
    #f2f3f5 3px,
    #c4c6ce 3px,
    #c4c6ce 4px
  );
}
.workspace .legend-buffer {
  background: #dcdee8;
}
.workspace .calendar-keyboard-help {
  margin: 0;
  padding: 10px 18px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.workspace .calendar-slot-context:not(:empty) {
  padding: 10px 18px;
  background: var(--sage);
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.workspace .timetable-slot.occupied {
  background: #eeeff2;
}
.workspace .timetable-slot.occupied span {
  opacity: 1;
  color: #525665;
}
.workspace .timetable-slot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
  z-index: 5;
}
.workspace .calendar-buffer {
  position: absolute;
  left: 5px;
  right: 5px;
  background: #e2e4ec;
  border-left: 3px dotted #6f758f;
  pointer-events: none;
  overflow: hidden;
  padding-left: 6px;
  color: #3d435e;
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2px;
  z-index: 1;
}
.workspace .connected-calendar .calendar-event {
  line-height: 1.25;
  gap: 2px;
}
.workspace .connected-calendar .calendar-event strong {
  font-size: 13px;
  flex-shrink: 0;
}
.workspace .connected-calendar .calendar-event span,
.workspace .connected-calendar .calendar-event small {
  font-size: 12px;
  flex-shrink: 0;
}
.workspace .connected-calendar .calendar-event time {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.workspace .connected-calendar .calendar-event .event-status {
  font-weight: 600;
}
.workspace .connected-calendar .calendar-event.finished {
  color: #3f4354;
}
.workspace .connected-calendar .calendar-event:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  z-index: 5;
}
.workspace .connected-calendar .compact-event {
  padding-top: 3px;
  padding-bottom: 3px;
}
.workspace .connected-scroll {
  scroll-padding-top: 90px;
}
.booking-slot-origin {
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 13px;
}
.booking-slot-origin p {
  margin: 5px 0 0;
}
@media (max-width: 1100px) {
  .workspace .calendar-filters {
    flex-basis: 100%;
  }
}
@media (max-width: 767px) {
  .workspace .calendar-command-bar {
    padding: 16px 12px;
  }
  .workspace .calendar-primary-actions {
    width: 100%;
  }
  .workspace .calendar-primary-actions > .button {
    flex: 1;
  }
  .workspace .calendar-controls {
    padding: 0 12px 12px;
    gap: 12px;
  }
  .workspace .calendar-date-controls {
    flex-wrap: wrap;
    width: 100%;
  }
  .workspace .calendar-date-controls .workspace-field {
    flex: 1;
    min-width: 145px;
  }
  .workspace .calendar-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace .calendar-filters .workspace-field:last-child {
    grid-column: 1 / -1;
  }
  .workspace .calendar-legend {
    padding: 12px;
    gap: 8px 12px;
  }
  .workspace .calendar-filter-summary {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Connected booking/rebooking: one layout with responsive task sections. */
.modal:has(.booking-workflow) {
  scroll-padding-top: 110px;
  scroll-padding-bottom: 90px;
}
.modal:has(.booking-workflow) .modal-inner {
  padding: 0;
}
.modal:has(.booking-workflow) .modal-header {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--surface);
  padding: 16px 20px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.modal:has(.booking-workflow) .booking-workflow {
  padding: 0 20px 16px;
}
.modal:has(.booking-workflow) .workspace-editor-recovery {
  margin: 0 20px 16px;
}
.modal:has(.booking-workflow) .dialog-close-warning {
  margin: 12px 20px;
}

.modal .booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
}
.modal .booking-layout > section {
  min-width: 0;
}
.modal .booking-layout h3 {
  margin: 0 0 18px;
  font-size: 17px;
}
.modal .booking-layout h4 {
  margin: 20px 0 12px;
  font-size: 14px;
}
.modal .booking-customer {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.modal .booking-date-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.modal .booking-date-shortcuts p {
  flex-basis: 100%;
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--muted);
}
.modal .booking-date-shortcuts .button {
  min-height: 44px;
  padding: 10px 12px;
}
.modal .booking-date-shortcuts [aria-pressed="true"] {
  background: var(--sage);
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.modal .booking-time-shortcut {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  justify-items: start;
}
.modal .booking-time-shortcut small {
  color: var(--muted);
  font-size: 12px;
}
.modal .booking-review {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #f6f7fa;
  scroll-margin: 16px 0 90px;
}
.modal .booking-review:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.modal .booking-review .notice {
  margin: 0 0 8px;
}
.modal .booking-review p,
.modal .booking-slot-origin p {
  overflow-wrap: anywhere;
}
.modal .reschedule-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.modal .reschedule-comparison p {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
}
.modal .reschedule-comparison strong {
  display: block;
  margin-bottom: 6px;
}
.modal .appointment-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
@media (max-width: 640px) {
  .modal .booking-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .modal .booking-customer {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .modal .booking-workflow .workspace-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .modal .booking-workflow input,
  .modal .booking-workflow select,
  .modal .booking-workflow textarea {
    font-size: 16px;
  }
  .modal .reschedule-comparison {
    grid-template-columns: minmax(0, 1fr);
  }
  .modal .appointment-detail-actions > .button {
    flex: 1 1 100%;
  }
  .modal .booking-review {
    padding: 12px;
  }
}

/* Functional workspace: scoped layout additions, shared colours unchanged. */
.modal .workspace-save-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.workspace-editor-recovery {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 8px;
}

.workspace-banner {
  background: var(--forest);
  color: #fff;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.workspace-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 40px);
}
.workspace-sidebar {
  padding: 32px 22px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.workspace-shop {
  margin-top: 24px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.workspace-sidebar nav {
  display: grid;
  gap: 8px;
  margin: 28px 0 40px;
}
.workspace-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 13px;
  text-align: left;
}
.workspace-sidebar nav button[aria-current] {
  background: var(--sage);
  color: var(--accent-dark);
  font-weight: 600;
}
.workspace-sidebar > a {
  text-decoration: underline;
  font-size: 12px;
}
.workspace-main {
  padding: 36px clamp(16px, 3vw, 48px);
  min-width: 0;
  max-width: 1600px;
  width: 100%;
}
.workspace-heading,
.workspace-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.workspace-heading p {
  color: var(--muted);
  margin: 8px 0;
}
.workspace-section-heading h2 { margin: 0; }
.workspace-section-heading > div > .workspace-footnote { margin-top: 4px; }
@media (max-width: 720px) {
  .workspace-section-heading { flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .workspace-section-heading > .row-actions { width: 100%; }
  .workspace-section-heading > .row-actions > .button { flex: 1 1 auto; }
}
.workspace-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
  min-width: 0;
}
.workspace-welcome {
  max-width: 600px;
  margin: 24px auto;
}
.workspace-welcome > svg {
  color: var(--accent);
  margin-bottom: 20px;
}
.workspace-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.workspace-form > fieldset {
  display: grid;
  gap: 16px;
}
.workspace-form > fieldset > .button {
  justify-self: start;
  margin-top: 4px;
}
.workspace-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.workspace-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}
.workspace-field input,
.workspace-field select,
.workspace-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  background: var(--surface);
  color: var(--ink);
  min-height: 44px;
  font-weight: 400;
}
.workspace-field textarea {
  resize: vertical;
  min-height: 80px;
}
.workspace-check,
.workspace-checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-weight: 500;
}
.workspace-check input[type="checkbox"] {
  flex: 0 0 18px;
  margin: 0;
}
.workspace-form .workspace-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.workspace-checks legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.workspace input[type="checkbox"],
.workspace-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.workspace-form .workspace-hours {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.workspace-hours legend {
  font-weight: 600;
  padding: 0 6px;
}
.workspace-hours .workspace-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.workspace-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.workspace-toolbar .workspace-field {
  flex: 1;
  min-width: 150px;
  margin: 0;
}
.workspace-toolbar > .button {
  min-height: 44px;
}
.workspace-day {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.workspace-day > strong {
  flex: 1;
}
.workspace-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.workspace-card-grid h3 {
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.workspace-price {
  display: block;
  font-size: 26px;
  margin: 18px 0;
}
.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.workspace-empty {
  text-align: center;
  padding: 48px 12px;
  color: var(--muted);
}
.workspace-empty h2 {
  color: var(--ink);
  margin: 18px 0 8px;
}
.workspace-booking-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 18px;
  padding: 20px 0;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.workspace-booking-row:hover {
  background: var(--canvas);
}
.workspace-booking-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.workspace-booking-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.workspace-booking-time {
  min-width: 60px;
  font-weight: 600;
}
.workspace-footnote {
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0 0;
}
.workspace-sidebar .workspace-footnote {
  margin-bottom: 20px;
}
.workspace-settings {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.workspace-closure {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.workspace-audit {
  list-style: none;
  padding: 0;
}
.workspace-audit li {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  overflow-wrap: anywhere;
}
.workspace-audit time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.workspace-audit p {
  margin: 8px 0;
}
.workspace-success {
  padding: 12px 16px;
  background: var(--sage);
  color: var(--accent-dark);
  border-radius: 10px;
}
.workspace-error {
  color: #9c302d;
  background: #fdf1ef;
  border-radius: 10px;
  padding: 12px 16px;
  overflow-wrap: anywhere;
}
.workspace-text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  color: var(--accent-dark);
  padding: 4px;
}
.workspace-booking-detail {
  margin-bottom: 20px;
}
.workspace-booking-detail h3 {
  font-size: 22px;
  margin-top: 14px;
}
.workspace-booking-detail + .button {
  margin-bottom: 20px;
}
.workspace-quote {
  background: var(--sage);
  border-radius: 12px;
  padding: 16px;
  color: var(--accent-dark);
}
.workspace-main > .notice {
  margin-bottom: 20px;
}
@media (max-width: 1024px) {
  .workspace-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .workspace-sidebar {
    padding: 26px 14px;
  }
  .workspace-settings {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .workspace-banner {
    flex-direction: column;
    gap: 3px;
    padding: 10px 16px;
  }
  .workspace-layout {
    display: block;
  }
  .workspace-sidebar {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .workspace-sidebar nav {
    display: flex;
    overflow-x: auto;
    margin: 16px 0 0;
    gap: 4px;
    padding-bottom: 4px;
  }
  .workspace-sidebar nav button {
    white-space: nowrap;
    flex-shrink: 0;
    gap: 6px;
    padding: 10px;
    font-size: 13px;
  }
  .workspace-sidebar .workspace-shop,
  .workspace-sidebar .workspace-footnote,
  .workspace-sidebar > a {
    display: none;
  }
  .workspace-main {
    padding: 24px 16px;
  }
  .workspace-heading {
    align-items: flex-start;
  }
  .workspace-heading h1 {
    font-size: 27px;
  }
  .workspace-heading .eyebrow {
    font-size: 9px;
  }
  .workspace-heading > .button {
    padding: 10px;
  }
  .workspace-heading > .button svg {
    display: none;
  }
  .workspace-panel {
    padding: 16px;
  }
  .workspace-card-grid {
    grid-template-columns: 1fr;
  }
  .workspace-hours .workspace-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-booking-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .workspace-booking-row > .badge {
    margin-left: 70px;
  }
  .workspace-booking-row > svg {
    display: none;
  }
  .workspace-booking-row > span:nth-child(2) {
    flex-basis: calc(100% - 80px);
  }
  .workspace-section-heading {
    gap: 10px;
    flex-wrap: wrap;
  }
  .workspace-section-heading .status-pill {
    white-space: normal;
    max-width: 100%;
  }
  .workspace-section-heading h2 {
    font-size: 18px;
  }
  .workspace-day strong {
    font-size: 12px;
  }
}

.workspace-addon-catalogue {
  margin-top: 28px;
}
.workspace-rule-panel {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.workspace-quote-items {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.workspace-quote-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.workspace-quote-items li span:last-child {
  white-space: nowrap;
}
.workspace-form .workspace-addon-options {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
}
.workspace-addon-options legend {
  font-weight: 600;
  padding: 0 6px;
}
.workspace-addon-options p {
  margin: 6px 0;
  color: var(--muted);
}
:root {
  /* OLLO brand: deep green ink, warm cream canvas, matte-mint accent. Legacy token names kept so existing rules keep working. */
  --canvas: #f4f3ee;
  --surface: #fff;
  --ink: #0f1f1b;
  --muted: #5c6a65;
  --line: #e1e4de;
  --accent: #3a7563;
  --accent-dark: #2f6152;
  --ollo: #0b1a17;
  --ollo-soft: #e6f0eb;
  --cream: #f4f3ee;
  --sage: #e6f0eb;
  --forest: #0b1a17;
  --radius: 12px;
  font-family: "Inter Variable", Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  font-optical-sizing: auto;
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
}
h1 {
  font-size: 32px;
  line-height: 1.17;
  font-weight: 620;
  margin-bottom: 9px;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.48;
}
::selection {
  background: #c8cde2;
}
input,
select,
textarea {
  max-width: 100%;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #838695;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  min-height: 46px;
}
input::placeholder,
textarea::placeholder {
  color: #767982;
}
textarea {
  resize: vertical;
  min-height: 114px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 500;
  font-size: 13px;
}
input[type="checkbox"] {
  appearance: auto;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  flex: none;
}
input[aria-invalid="true"] {
  border-color: #b42335;
}
.field-error {
  font-size: 12px;
  color: #b42335;
}
.field-help {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  color: var(--muted);
  display: block;
  margin-bottom: 9px;
}
.accent-period {
  color: var(--accent);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--accent);
  color: white;
  padding: 12px 16px;
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
.button {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 3px #153b3010;
}
.button.primary:hover {
  background: var(--accent-dark);
}
.button.secondary {
  background: white;
  border-color: var(--line);
}
.button.secondary:hover {
  background: #eff0f4;
  border-color: #adb1c0;
}
.button.ghost {
  background: transparent;
  padding: 9px 8px;
  color: var(--accent);
}
.button.ghost:hover {
  background: var(--sage);
}
.button.danger {
  color: #a32232;
  background: #fceef0;
}
.icon-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--sage);
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 8px 0;
  min-height: 40px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 550;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border: 1px solid #19272308;
}
.avatar.large {
  width: 54px;
  height: 54px;
  font-size: 17px;
}
.avatar.huge {
  width: 90px;
  height: 90px;
  font-size: 26px;
}
.sage {
  background: #e5eee3;
  color: #315a42;
}
.sand {
  background: #f1ead9;
  color: #786132;
}
.blue {
  background: #e4eeec;
  color: #3a4369;
}
.clay {
  background: #eee5df;
  color: #7b5743;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 550;
  color: #323956;
  background: #e9f1e9;
  white-space: nowrap;
}
.status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.active {
  color: white;
  background: var(--accent);
}
.badge.neutral {
  background: #eeeff1;
  color: #5f626d;
}
.badge.on-dark {
  color: #ffffff;
  background: var(--accent-dark);
  letter-spacing: 0.1em;
  font-size: 9px;
  padding: 5px 9px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.brand-mark {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
}
.brand-word {
  font-family: "Inter Variable", Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-wordmark {
  height: 28px;
  width: auto;
  display: block;
}
.brand.light .brand-wordmark {
  /* white variant is chosen in markup; no colour filters (they would flip the mint accent). */
}
/* Shop-branded workspace: their logo/initial + name, OLLO as a quiet "Powered by" line. */
.brand-shop {
  gap: 10px;
  min-width: 0;
}
.brand-shop-logo {
  object-fit: cover;
  background: #fff;
}
.brand-shop-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.brand-shop-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand-shop-name {
  font-size: 15px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.brand-powered {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b6f80;
  text-transform: none;
}
.brand-powered img {
  height: 15px;
  width: auto;
  opacity: 0.9;
  vertical-align: -3px;
}
.brand.light .brand-powered {
  color: #c9d1cc;
}
.brand.light .brand-powered img {
  filter: none;
}
.brand-os {
  display: none;
}
.brand.light {
  color: #fff;
}
.brand.light .brand-mark {
  box-shadow: 0 0 0 2px #ffffff22;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #edeef3;
  border: 1px solid #dcdee7;
  color: #3e4459;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.notice > svg {
  margin-top: 2px;
}
.notice strong {
  font-weight: 650;
}
.notice.warning {
  background: #fff7e4;
  border-color: #eee0b8;
  color: #73500b;
}
.boot-message {
  padding: 60px;
  text-align: center;
}
.preview-bar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  background: #e9eaf0;
  border-bottom: 1px solid #d6d8e1;
  color: #464b5f;
  position: relative;
  z-index: 30;
  font-size: 10px;
}
.preview-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.preview-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 4px;
}
.preview-bar nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.preview-bar nav a {
  font-size: 10px;
  padding: 6px 14px;
  border-radius: 5px;
  transition: background 0.15s;
}
.preview-bar nav a[aria-current="page"] {
  background: white;
  box-shadow: 0 1px 3px #18332112;
  color: var(--accent);
  font-weight: 650;
}
.preview-bar nav a:hover {
  background: #ffffff80;
}
.scenario-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}
.scenario-label select {
  border: 0;
  min-height: 30px;
  font-size: 10px;
  padding: 4px 3px;
  background: transparent;
  color: #3e4358;
  max-width: 112px;
  cursor: pointer;
}
.state-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 64px 24px;
  text-align: center;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}
.state-card p {
  max-width: 380px;
  color: var(--muted);
}
.state-icon {
  display: inline-flex;
  background: var(--sage);
  color: var(--accent);
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 22px;
}
.skeleton {
  height: 14px;
  width: 300px;
  max-width: 90%;
  background: #e9eaf0;
  border-radius: 6px;
  margin-bottom: 12px;
  animation: pulse 1.5s infinite;
}
.skeleton.short {
  width: 190px;
  margin-bottom: 30px;
}
.spin {
  animation: spin 1.5s linear infinite;
}
.actual-offline .notice {
  margin: 0;
  border-radius: 0;
}
.actual-offline {
  position: relative;
  z-index: 35;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
/* Admin shell */
.admin-shell {
  min-height: calc(100vh - 40px);
}
.sidebar {
  width: 232px;
  position: fixed;
  top: 40px;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 27px 18px 16px;
  background: var(--forest);
  color: #c4c7d4;
  z-index: 20;
  overflow-y: auto;
}
.brand-link {
  display: block;
  margin: 0 6px 29px;
}
.shop-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 0 23px;
  margin: 0 5px 14px;
  border-bottom: 1px solid #ffffff14;
}
.shop-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 35px;
  flex-shrink: 0;
  background: #ffffff0a;
  border: 1px solid #ffffff20;
  border-radius: 7px;
  color: #e0ddc6;
  font-family: Georgia, serif;
  font-size: 20px;
}
.shop-monogram > span {
  font-size: 12px;
}
.shop-switch strong {
  display: block;
  font-size: 12px;
  color: #eeeff5;
  font-weight: 550;
}
.shop-switch div > span {
  display: block;
  font-size: 9px;
  color: #adb2c6;
  margin-top: 2px;
}
.shop-switch .sidebar-badge {
  background: #ffffff0c;
  color: #c9cddb;
  font-size: 8px;
  margin-left: auto;
  padding: 2px 4px;
}
.sidebar-badge .status-dot {
  display: none;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #9da3b9;
  padding: 0 12px;
  margin: 10px 0;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  background: none;
  border: 0;
  text-align: left;
  color: #c6c9d6;
  padding: 12px;
  border-radius: 7px;
  font-size: 12px;
  min-height: 44px;
}
.nav-item:hover {
  background: #ffffff0b;
  color: white;
}
.nav-item.selected {
  background: #daddea;
  color: #394a93;
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfe3f3;
  min-width: 21px;
  height: 19px;
  border-radius: 4px;
}
.nav-small {
  margin-left: auto;
  font-size: 10px;
  color: #9fa5bb;
}
.nav-item > svg:last-child:not(:first-child) {
  margin-left: auto;
  opacity: 0.7;
}
.explore-label {
  margin-top: 31px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.foundation-card {
  border: 1px solid #ffffff18;
  background: linear-gradient(130deg, #ffffff08, transparent);
  padding: 15px 13px;
  border-radius: 8px;
  margin: 0 3px 24px;
}
.foundation-icon {
  color: #abb4d7;
  display: block;
  margin-bottom: 10px;
}
.foundation-card strong {
  font-size: 11px;
  color: #e6e8f0;
  display: block;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.foundation-card p {
  font-size: 10px;
  color: #a3a9bf;
  line-height: 1.6;
  margin: 5px 0 13px;
}
.foundation-card button {
  border: 0;
  background: none;
  color: #d5d9e7;
  font-size: 10px;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 3px 0;
  min-height: 30px;
}
.owner-card {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #ffffff14;
  padding-top: 17px;
}
.owner-card .avatar {
  width: 30px;
  height: 30px;
  font-size: 10px;
}
.owner-card strong {
  display: block;
  color: #e4e6ef;
  font-size: 10px;
  font-weight: 500;
}
.owner-card div > span {
  display: block;
  font-size: 8px;
  color: #a7adc2;
  margin-top: 3px;
}
.sidebar-help {
  padding: 5px;
  background: none;
  border: 0;
  color: #b0b5ca;
  margin-left: auto;
}
.admin-body {
  margin-left: 232px;
}
.workspace-header {
  height: 76px;
  background: #ffffffb8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.header-context,
.header-breadcrumb,
.header-tools {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-breadcrumb {
  font-size: 11px;
  color: #737682;
}
.header-breadcrumb strong {
  font-weight: 500;
  color: #333745;
}
.header-breadcrumb svg {
  color: #9699a3;
}
.header-tools {
  gap: 15px;
}
.header-divider {
  height: 22px;
  width: 1px;
  background: var(--line);
}
.header-tools > .icon-button {
  border: 0;
  background: none;
}
.search-box {
  flex-direction: row;
  align-items: center;
  border: 1px solid #e0e1e7;
  border-radius: 7px;
  padding: 0 10px;
  gap: 8px;
  background: #f8f8fa;
  color: #797c86;
  height: 35px;
  width: 234px;
}
.search-box input {
  border: 0;
  padding: 5px 0;
  background: transparent;
  min-height: 28px;
  min-width: 0;
  width: 100%;
  font-size: 10px;
  font-weight: 400;
  outline-offset: 4px;
}
.search-box button {
  border: 0;
  background: none;
  padding: 2px;
  color: #5d606e;
  display: flex;
}
.mobile-menu {
  display: none;
}
.admin-main {
  max-width: 1720px;
  margin: auto;
  padding: 29px 32px 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading h1 {
  font-size: 29px;
}
.page-heading p {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 0;
}
.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 9px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat-card {
  padding: 17px 19px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #5b5e6c;
  font-size: 10px;
}
.stat-label svg {
  color: #6d7182;
}
.stat-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 29px;
  font-weight: 560;
  letter-spacing: -1px;
  line-height: 1.3;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
  gap: 10px;
}
.spark-bars {
  height: 32px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  opacity: 0.7;
}
.spark-bars span {
  width: 5px;
  background: #c6cad9;
  border-radius: 2px 2px 0 0;
}
.spark-bars span:last-child {
  background: #505c89;
}
.stat-foot {
  font-size: 9px;
  color: #767982;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.stat-detail {
  background: #e9ebf4;
  border-radius: 4px;
  padding: 2px 5px;
  color: #424a6a;
  font-size: 8px;
}
.calendar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.date-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.date-controls .icon-button {
  width: 29px;
  min-width: 29px;
  height: 30px;
}
.date-controls h2 {
  font-size: 14px;
  font-weight: 570;
  margin: 0 5px;
  letter-spacing: -0.3px;
}
.today-button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 9px;
  min-height: 30px;
  color: #5d606e;
}
.today-button:hover {
  background: var(--sage);
}
.calendar-options {
  display: flex;
  align-items: center;
  gap: 12px;
}
.select-with-icon {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 6px;
  font-size: 11px;
  color: #555969;
}
.select-with-icon select {
  border: 0;
  min-height: 34px;
  padding: 5px 5px;
  font-size: 10px;
  background: transparent;
  max-width: 130px;
}
.segmented {
  display: flex;
  padding: 3px;
  background: #eff0f3;
  border-radius: 7px;
}
.segmented button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 6px 10px;
  min-height: 30px;
  color: #6e717c;
}
.segmented button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 4px #19332916;
  color: #21273e;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #fafafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
  gap: 9px;
}
.week-strip button {
  border: 1px solid transparent;
  background: none;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 6px;
  min-height: 35px;
  color: #6d707e;
  font-size: 9px;
}
.week-strip button strong {
  font-size: 12px;
  font-weight: 550;
  color: #464a59;
}
.week-strip button[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
}
.week-strip button[aria-pressed="true"] strong {
  color: white;
}
.day-dot {
  width: 3px;
  height: 3px;
  background: #7b819c;
  border-radius: 50%;
  margin-left: 3px;
}
.week-strip button[aria-pressed="true"] .day-dot {
  background: #b5bcd6;
}
.day-dot.closed {
  background: #c8cad1;
}
.calendar-scroll {
  max-height: 560px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d0d2da #f9f9fb;
}
.calendar-board {
  min-width: 690px;
}
.calendar-staff-header {
  display: grid;
  grid-template-columns: var(--gutter, 64px) repeat(var(--columns), minmax(0, 1fr));
  height: 68px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.timezone-label {
  font-size: 9px;
  color: #686b79;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.timezone-label span {
  font-size: 8px;
  color: #898c96;
}
.staff-column-heading {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-left: 1px solid #ebecf1;
}
.staff-column-heading .avatar {
  width: 31px;
  height: 31px;
  font-size: 10px;
}
.staff-column-heading strong {
  font-size: 11px;
  font-weight: 560;
  display: block;
}
.staff-column-heading div > span {
  font-size: 8px;
  color: #787b88;
  display: block;
  margin-top: 3px;
}
.calendar-timeline {
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter, 64px) repeat(var(--columns), minmax(0, 1fr));
  height: 804px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 43px,
    #edeef3 43px,
    #edeef3 44px,
    transparent 44px,
    transparent 87px,
    #e4e6ec 87px,
    #e4e6ec 88px
  );
}
.time-gutter {
  background: #fff;
  position: relative;
}
.time-gutter > span {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  color: #7f8291;
  transform: translateY(-50%);
  background: white;
}
.time-gutter > span:first-child {
  transform: translateY(4px);
}
.barber-column {
  border-left: 1px solid #e7e8ee;
  position: relative;
}
.calendar-event {
  position: absolute;
  left: 6px;
  right: 6px;
  width: calc(100% - 12px);
  border: 0;
  border-left: 3px solid #6a749b;
  border-radius: 5px;
  padding: 5px 9px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  transition:
    filter 0.15s,
    box-shadow 0.15s;
}
.calendar-event:hover {
  filter: brightness(0.96);
  box-shadow: 0 2px 5px #19272318;
  z-index: 4;
}
.calendar-event.sage {
  border-color: #72a079;
  background: #eaf2e8;
}
.calendar-event.sand {
  border-color: #bcad7b;
  background: #f6f0df;
}
.calendar-event.blue {
  border-color: #8891b7;
  background: #eaecf3;
}
.calendar-event.clay {
  border-color: #b7a08b;
  background: #f5ede5;
}
.calendar-event.finished {
  background: #eff0f5;
  color: #777a89;
  border-color: #b6bac9;
}
.event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  line-height: 1.4;
}
.event-top strong {
  font-weight: 600;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.event-sub {
  font-size: 9px;
  opacity: 0.8;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.event-time {
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}
.chair-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.lunch-block {
  position: absolute;
  left: 6px;
  right: 6px;
  border: 1px dashed #d1d3dd;
  border-radius: 4px;
  background: repeating-linear-gradient(
    135deg,
    #f3f4f8,
    #f3f4f8 5px,
    #edeef4 5px,
    #edeef4 6px
  );
  color: #787c8b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
}
.sample-time-line {
  position: absolute;
  left: 64px;
  right: 0;
  height: 1px;
  background: #3f4f90;
  pointer-events: none;
  z-index: 3;
}
.sample-time-line:before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f4f90;
}
.sample-time-line > span {
  position: absolute;
  left: -51px;
  top: -9px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  font-size: 9px;
}
.calendar-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 19px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  color: #777a86;
  flex-wrap: wrap;
}
.calendar-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ea4bb;
}
.legend-dot.active {
  background: var(--accent);
}
.calendar-footnote {
  margin-left: auto;
}
/* Footnotes are prose: inline children (strong, icons, links) flow with the text. */
.workspace-footnote {
  display: block;
  margin: 6px 0 0;
  font-size: var(--fs-12);
  line-height: 1.5;
  color: var(--muted);
}
.workspace-footnote > svg,
.workspace-footnote > .icon {
  vertical-align: -2px;
  margin-right: 4px;
}
.calendar-empty {
  padding: 65px 24px;
  text-align: center;
  color: var(--muted);
}
.calendar-empty h3 {
  margin: 16px 0 6px;
  color: var(--ink);
}
.calendar-empty p {
  font-size: 12px;
}
.agenda-list {
  max-height: 560px;
  overflow-y: auto;
}
.agenda-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 17px 22px;
  width: 100%;
  text-align: left;
}
.agenda-row:hover {
  background: #f6f7fa;
}
.agenda-time {
  font-size: 12px;
  color: var(--accent);
  min-width: 42px;
}
.agenda-person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.agenda-person strong {
  font-size: 12px;
}
.agenda-person > span {
  font-size: 10px;
  color: var(--muted);
}
.agenda-row > strong:last-of-type {
  font-size: 12px;
}
.nav-scrim {
  display: none;
}
/* Dialogs and shared forms */
.modal {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 0;
  width: min(510px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  box-shadow: 0 28px 100px #0e271f35;
  overflow: auto;
}
.modal.wide {
  width: min(700px, calc(100vw - 32px));
}
.modal::backdrop {
  background: #152d265c;
  backdrop-filter: blur(3px);
}
.modal-inner {
  padding: 25px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.modal-header h2 {
  font-size: 23px;
  margin: 0;
}
.modal-header .eyebrow {
  font-size: 9px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.detail-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}
.detail-person h3 {
  font-size: 19px;
  margin: 0 0 4px;
}
.detail-person .muted {
  font-size: 11px;
}
.detail-status {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 15px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.detail-grid dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-grid dd {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
  overflow-wrap: anywhere;
}
.payment-breakdown {
  background: #f5f6f9;
  padding: 16px;
  border: 1px solid #e5e7ee;
  border-radius: 10px;
  margin: 5px 0 20px;
}
.payment-breakdown h3 {
  font-size: 12px;
  margin-bottom: 14px;
}
.payment-breakdown p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 9px;
  font-size: 12px;
  color: #636674;
}
.payment-breakdown p strong {
  color: var(--ink);
}
.payment-breakdown p.total {
  border-top: 1px solid var(--line);
  margin: 14px 0 0;
  padding-top: 12px;
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 13px;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.summary-total strong {
  font-size: 22px;
  letter-spacing: -0.7px;
}
.boundary-content {
  text-align: center;
  padding-top: 4px;
}
.boundary-content h3 {
  font-size: 19px;
  max-width: 320px;
  margin: 0 auto 14px;
}
.boundary-content > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.boundary-content .notice {
  text-align: left;
}
.directory-list article {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.directory-list h3 {
  margin: 0 0 3px;
}
.directory-list p {
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--muted);
}
.directory-list .muted {
  font-size: 11px;
}
.service-menu {
  margin-bottom: 24px;
}
.service-menu article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.service-menu article div {
  flex: 1;
}
.service-menu h3 {
  font-size: 14px;
  margin: 0 0 3px;
}
.service-menu span {
  font-size: 11px;
  color: var(--muted);
}
.menu-extra {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
/* Public booking experience */
.booking-app {
  background: #f8f9fb;
  min-height: 100vh;
}
.shop-header {
  max-width: 1180px;
  margin: auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
}
.shop-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.shop-emblem {
  width: 43px;
  height: 43px;
  background: #21273f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0eddc;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
}
.shop-emblem > span {
  font-size: 17px;
  margin-top: 9px;
}
.shop-brand div > strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.09em;
}
.shop-brand div > span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: #777a86;
  margin-top: 3px;
}
.shop-header-right {
  display: flex;
  align-items: center;
  gap: 36px;
  color: var(--muted);
  font-size: 10px;
}
.shop-header-right > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.powered-by {
  font-size: 9px;
}
.powered-by strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-left: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}
.powered-by strong > img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.booking-hero {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--accent-grad, linear-gradient(135deg, #3a7563 0%, #3a7563 70%, #5e9a86 100%));
  border-radius: 14px;
  min-height: 289px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  position: relative;
  color: #f6f4e8;
}
.hero-copy {
  padding: 38px 47px;
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow {
  color: #a8afca;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-bottom: 13px;
}
.hero-copy h1 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -1.8px;
  line-height: 1.06;
  margin-bottom: 16px;
}
.hero-copy p {
  font-size: 11px;
  color: #b9bcca;
  line-height: 1.8;
  margin-bottom: 18px;
}
.hero-details {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #cacedc;
  font-size: 9px;
}
.hero-details > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-orbit {
  position: absolute;
  border: 1px solid #dce7c51a;
  width: 490px;
  height: 490px;
  border-radius: 50%;
  left: 15px;
  top: -105px;
}
.orbit-two {
  width: 410px;
  height: 410px;
  left: 55px;
  top: -65px;
}
.orbit-three {
  width: 330px;
  height: 330px;
  left: 95px;
  top: -25px;
}
.hero-seal {
  width: 235px;
  height: 235px;
  border: 1px solid #cfddab55;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  margin-left: 35px;
  color: #b6bdd8;
  position: relative;
}
.hero-seal > span {
  font-size: 8px;
  letter-spacing: 0.19em;
}
.hero-seal > strong {
  font-family: Georgia, serif;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -4px;
  line-height: 1;
  margin-top: 18px;
  margin-bottom: 9px;
}
.hero-seal > strong > span {
  font-style: italic;
  font-size: 36px;
  letter-spacing: -5px;
  margin-right: 3px;
}
.seal-rule {
  height: 1px;
  width: 120px;
  background: #c8d8b67a;
  margin: 8px 0 17px;
}
.art-spark {
  position: absolute;
  color: #a4add3;
  font-size: 27px;
}
.art-spark.one {
  top: 37px;
  right: 54px;
}
.art-spark.two {
  left: 54px;
  bottom: 41px;
}
.booking-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 0;
}
.booking-progress {
  display: flex;
  align-items: center;
  padding: 30px 0 25px;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.booking-progress button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 5px 0;
  color: #7a7d89;
  font-size: 11px;
}
.booking-progress button:last-child {
  flex: 0.55;
}
.booking-progress button > span {
  border: 1px solid #d0d3df;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background: #fff;
  flex-shrink: 0;
}
.booking-progress button > strong {
  font-weight: 500;
  white-space: nowrap;
}
.booking-progress button > i {
  height: 1px;
  flex: 1;
  background: #dadce6;
  margin: 0 18px 0 6px;
}
.booking-progress button[aria-current="step"] {
  color: var(--accent);
  font-weight: 600;
}
.booking-progress button[aria-current="step"] > span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px #e7e9f1;
}
.booking-progress button.done > span {
  background: #e2e5f0;
  color: var(--accent);
  border-color: #cbcfe0;
}
.booking-progress button:disabled {
  opacity: 0.75;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 46px;
  align-items: start;
}
.booking-flow {
  min-width: 0;
}
.step-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #6e7281;
  margin-bottom: 9px;
}
.step-heading h2 {
  font-size: 25px;
  font-weight: 560;
  margin-bottom: 8px;
  scroll-margin-top: 24px;
  outline: none;
}
.step-heading p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.service-search {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d7d9e3;
  border-radius: 8px;
  background: white;
  margin-bottom: 13px;
  color: #777b8c;
}
.service-search input {
  border: 0;
  background: none;
  min-height: 42px;
  padding: 9px 0;
  font-size: 11px;
  flex: 1;
  min-width: 0;
}
.filter-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-chips button {
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #dbdde5;
  border-radius: 6px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 34px;
  color: #606476;
}
.filter-chips button[aria-pressed="true"] {
  background: #e2e5f0;
  color: #4c5ca0;
  border-color: #b4bad1;
  font-weight: 600;
}
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-choice {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 105px;
  padding: 16px 17px;
  background: white;
  border: 1px solid #d9dce6;
  border-radius: 9px;
  text-align: left;
  width: 100%;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.service-choice.chosen {
  border-color: #47825c;
  background: #eef0f7;
  box-shadow: 0 0 0 1px #47825c;
}
.service-choice:hover {
  border-color: #98a0c0;
}
.service-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d9dcea, #bec4db);
  color: #434d74;
}
.service-thumb.fade {
  background: linear-gradient(135deg, #e9e7d7, #dddac5);
  color: #7a7150;
}
.service-thumb.beard {
  background: linear-gradient(135deg, #e1e3e9, #c9ccd6);
  color: #50566f;
}
.service-thumb.combo {
  background: linear-gradient(135deg, #efe7db, #ddd0b9);
  color: #8c7453;
}
.service-thumb.junior {
  background: linear-gradient(135deg, #e1e3ed, #c4c9de);
  color: #4b5478;
}
.service-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.service-copy > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}
.popular-tag {
  color: #475075;
  letter-spacing: 0.07em;
  font-size: 6px;
  font-weight: 650;
  background: #dbdfed;
  border-radius: 3px;
  padding: 2px 4px;
}
.service-copy > span {
  color: #707485;
  font-size: 10px;
  line-height: 1.6;
}
.service-copy small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #767a8c;
  margin-top: 3px;
}
.choice-end {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
  align-self: stretch;
  justify-content: center;
}
.choice-end > strong {
  font-size: 14px;
  font-weight: 600;
}
.choice-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid #c1c5d6;
  border-radius: 50%;
  background: white;
}
.chosen .choice-radio {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.addon-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 29px 0 14px;
  gap: 10px;
}
.addon-heading h3 {
  font-size: 15px;
  margin: 0;
}
.addon-heading > span {
  color: #7a7f92;
  font-size: 9px;
}
.addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.addon-choice {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 13px 12px;
  gap: 9px;
  cursor: pointer;
}
.addon-choice.chosen {
  border-color: #64709e;
  background: #eff1f8;
}
.addon-choice > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.addon-choice strong {
  font-size: 10px;
}
.addon-choice small {
  font-size: 8px;
  color: #767c92;
  font-weight: 400;
}
.booking-summary {
  background: white;
  border: 1px solid #d8dbe5;
  border-radius: 11px;
  padding: 21px;
  position: sticky;
  top: 24px;
  box-shadow: 0 3px 8px #293d2010;
}
.summary-shop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.mini-shop-emblem {
  background: #e4e7f1;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  color: #3f496f;
  font-size: 20px;
  letter-spacing: -2px;
}
.summary-shop strong {
  font-size: 11px;
  display: block;
  font-weight: 550;
}
.summary-shop div > span {
  display: block;
  font-size: 8px;
  color: #797e92;
  margin-top: 4px;
}
.booking-summary > h3 {
  font-size: 13px;
  margin-bottom: 18px;
}
.summary-service {
  display: flex;
  align-items: center;
  gap: 11px;
}
.summary-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6e8f2;
  width: 43px;
  height: 43px;
  border-radius: 7px;
  color: #60698d;
}
.summary-service > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-service strong {
  font-size: 11px;
  font-weight: 570;
}
.summary-service div > span {
  font-size: 9px;
  color: #71768b;
}
.summary-addon {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  margin: 13px 0 0 5px;
  color: #6c7185;
}
.summary-addon > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.summary-addon strong {
  color: #3d4152;
}
.summary-appointment {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.summary-appointment p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}
.summary-appointment svg {
  width: 15px;
  height: 15px;
  color: #7a8099;
}
.summary-price {
  padding-top: 17px;
}
.summary-price > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 14px;
}
.summary-price > p:first-child > strong {
  font-size: 17px;
}
.summary-price .deposit-line {
  background: #e7e9f3;
  color: #4d5fa8;
  padding: 13px 12px;
  border-radius: 7px;
  margin-top: 18px;
}
.deposit-line strong {
  font-size: 22px;
  letter-spacing: -0.8px;
}
.deposit-line small {
  display: block;
  color: #4f587e;
  font-size: 8px;
  margin-top: 3px;
}
.summary-price .remaining-line {
  font-size: 9px;
  color: #70758a;
  margin-bottom: 20px;
}
.cancellation-note {
  display: flex;
  gap: 10px;
  background: #f5f6f9;
  border-radius: 7px;
  padding: 12px;
  color: #6a7087;
  line-height: 1.8;
}
.cancellation-note p {
  font-size: 9px;
  margin: 0;
}
.cancellation-note strong {
  display: block;
  color: #474e6a;
  font-size: 9px;
  margin-bottom: 3px;
}
.preview-summary-note {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #6f758b;
  padding-top: 14px;
}
.booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 23px 0 5px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.booking-actions > .primary {
  margin-left: auto;
}
.secure-note {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6e748d;
}
.booking-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  color: #797e93;
  font-size: 12px;
}
.booking-footer .brand {
  font-size: 12px;
  color: #464c66;
}
.booking-footer .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: #dcdfec;
  color: #515a7c;
}
.booking-footer .brand-mark svg {
  width: 17px;
  height: 17px;
}
.booking-footer .brand-os {
  font-size: 7px;
}
.inline-empty {
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 9px;
  color: var(--muted);
}
.inline-empty h3 {
  margin-top: 12px;
}
.barber-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.barber-choice {
  background: #fff;
  border: 1px solid #d6d9e4;
  border-radius: 10px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.barber-choice.chosen {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.barber-portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  position: relative;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 13px;
}
.barber-portrait:after {
  content: "";
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: absolute;
  right: -50px;
  bottom: -30px;
  border: 1px solid currentColor;
  opacity: 0.12;
}
.barber-portrait > span:first-child {
  font-family: Georgia, serif;
  font-size: 67px;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: -6px;
}
.barber-portrait > svg {
  position: absolute;
  bottom: 10px;
  left: 13px;
  opacity: 0.22;
}
.portrait-selected {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 25px;
  height: 25px;
  background: #ffffff80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chosen .portrait-selected {
  background: var(--accent);
  color: white;
}
.barber-choice-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: 12px;
}
.barber-choice-name > span {
  font-size: 10px;
  display: flex;
  gap: 3px;
  align-items: center;
  color: #787344;
}
.barber-choice-name small {
  font-size: 7px;
  color: var(--muted);
}
.barber-role {
  font-size: 9px;
  color: #6c7288;
  margin-top: 4px;
}
.barber-description {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0 16px;
  line-height: 1.6;
  min-height: 32px;
}
.barber-rate {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  width: 100%;
}
.barber-rate > span {
  font-size: 8px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.booking-date-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 14px;
}
.booking-date-toolbar h3 {
  font-size: 14px;
  margin: 0;
}
.small-toggles {
  display: flex;
  gap: 5px;
}
.small-toggles button {
  background: #fff;
  border: 1px solid #d5d8e5;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 9px;
  min-height: 32px;
}
.small-toggles button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.booking-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.booking-dates button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 4px;
  color: #747889;
}
.booking-dates button > span {
  font-size: 9px;
}
.booking-dates button > strong {
  font-size: 21px;
  color: #2c3248;
}
.booking-dates button > small {
  font-size: 8px;
}
.booking-dates button.chosen {
  background: var(--accent);
  border-color: var(--accent);
  color: #c4c9dc;
}
.booking-dates button.chosen > strong {
  color: white;
}
.slot-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 13px;
  gap: 9px;
}
.slot-heading h3 {
  margin: 0;
  font-size: 14px;
}
.slot-heading > span {
  font-size: 8px;
  color: #6f758d;
  display: flex;
  align-items: center;
  gap: 6px;
}
.available-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.dayparts {
  margin-bottom: 15px;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.time-slots button {
  min-height: 46px;
  border: 1px solid #bfc4d8;
  background: white;
  border-radius: 7px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.time-slots button:disabled {
  background: #eeeff4;
  border-color: #dbdde6;
  color: #7e8293;
  opacity: 0.7;
  text-decoration: line-through;
}
.time-slots button.chosen {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.slot-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #6f758d;
  margin: 16px 0;
}
.customer-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 22px;
}
.customer-fields label {
  font-size: 12px;
}
.customer-fields input,
.customer-fields textarea {
  font-size: 14px;
  background: #fff;
}
.review-appointment {
  background: #e9ebf5;
  border: 1px solid #ccd1e4;
  border-radius: 11px;
  padding: 30px 20px;
  text-align: center;
}
.review-icon {
  color: var(--accent);
  margin-bottom: 14px;
}
.review-appointment h3 {
  font-size: 22px;
}
.review-appointment > p {
  font-size: 11px;
  color: var(--muted);
}
.review-barber {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 11px;
}
.review-customer {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
  overflow-wrap: anywhere;
}
.review-customer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}
.review-customer h3 {
  margin: 0;
  font-size: 14px;
}
.review-customer > strong {
  font-size: 12px;
}
.review-customer > p {
  color: var(--muted);
  font-size: 11px;
  margin: 6px 0;
}
.consent-control {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.consent-control strong {
  font-size: 12px;
  display: block;
}
.consent-control small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 4px;
  line-height: 1.7;
}
/* Barber workspace */
.barber-app {
  background: #f5f6f8;
  min-height: 100vh;
}
.barber-header {
  background: white;
  border-bottom: 1px solid var(--line);
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 max(28px, calc((100vw - 1020px) / 2));
  gap: 15px;
}
.barber-shop-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.barber-header-avatar {
  margin-left: 18px;
}
.barber-desktop-nav {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  gap: 27px;
  padding: 15px 0 0;
  border-bottom: 1px solid var(--line);
}
.barber-desktop-nav > button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 6px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 12px;
  color: var(--muted);
}
.barber-desktop-nav > button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}
.barber-main {
  max-width: 1020px;
  padding: 30px 0 0;
  margin: auto;
}
.barber-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 27px;
}
.barber-greeting h1 {
  font-size: 34px;
}
.barber-greeting .eyebrow {
  font-size: 9px;
}
.barber-greeting p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.barber-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 28px;
  padding: 20px 0;
}
.barber-stats article {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.barber-stats article:last-child {
  border-right: 0;
}
.barber-stats article > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.barber-stats article > span svg {
  width: 16px;
  height: 16px;
}
.barber-stats article > strong {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -1px;
  margin-top: 7px;
}
.barber-stats small {
  font-weight: 400;
  letter-spacing: 0;
  font-size: 9px;
  color: #7e8292;
}
.barber-day-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
}
.in-chair-card {
  background: var(--accent);
  border-radius: 12px;
  color: #ffffff;
  padding: 25px 28px;
  position: relative;
  overflow: hidden;
}
.in-chair-card:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  top: -170px;
  right: -70px;
  pointer-events: none;
}
.in-chair-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 10px;
}
.in-chair-top > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #ffffff;
}
.current-customer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.current-customer .avatar {
  background: #c4c9df;
  color: #383f5b;
  border: 3px solid #ffffff1a;
  width: 59px;
  height: 59px;
  font-size: 19px;
}
.current-customer h2 {
  font-size: 25px;
  margin: 0 0 5px;
  color: #eaecf6;
  font-weight: 530;
}
.current-customer p {
  font-size: 11px;
  color: #ffffff;
  margin: 0;
}
.current-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff08;
  border: 1px solid #ffffff12;
  border-radius: 6px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 10px;
  margin-top: 22px;
}
.current-note small {
  color: #ffffff;
  font-size: 8px;
  margin-left: 4px;
}
.current-payment {
  display: flex;
  gap: 55px;
  padding: 20px 0;
  color: #ffffff;
}
.current-payment > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 9px;
}
.current-payment strong {
  color: white;
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.in-chair-card .light-button {
  background: #dadeef;
  color: #2a3251;
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
  border: 0;
  padding: 12px 16px;
}
.in-chair-card .light-button:hover {
  background: #c2c9e3;
}
.in-chair-disclaimer {
  display: block;
  font-size: 8px;
  color: #ffffff;
  text-align: center;
  margin-top: 9px;
}
.day-note {
  background: #dee1ee;
  border: 1px solid #d2d6e4;
  border-radius: 11px;
  text-align: center;
  padding: 24px 25px;
}
.day-note .eyebrow {
  font-size: 8px;
  color: #606783;
  letter-spacing: 0.14em;
}
.break-illustration {
  width: 92px;
  height: 92px;
  border: 1px solid #acb3d1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px auto;
  color: #656e94;
  position: relative;
}
.break-illustration:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed #aab2d2;
  border-radius: 50%;
}
.break-illustration > svg {
  z-index: 1;
  stroke-width: 1;
}
.break-illustration > span {
  position: absolute;
  width: 22px;
  height: 22px;
  right: -8px;
  top: 6px;
  background: #cfd4e6;
  border: 1px solid #b0b6cf;
  border-radius: 50%;
}
.day-note h3 {
  font-size: 20px;
  font-weight: 550;
  color: #363f65;
  margin-bottom: 7px;
}
.day-note p {
  font-size: 11px;
  color: #5e6686;
  margin-bottom: 15px;
}
.day-note > .muted {
  font-size: 10px;
  color: #6c728c;
  line-height: 1.8;
  display: block;
}
.barber-plan {
  padding: 25px 4px 8px;
  color: var(--muted);
}
.barber-plan > svg {
  color: #6d7699;
  margin-bottom: 12px;
}
.barber-plan h3 {
  font-size: 15px;
  color: #373d52;
}
.barber-plan p {
  font-size: 11px;
  line-height: 1.85;
  margin-bottom: 8px;
}
.sample-sync {
  border-top: 1px solid var(--line);
  padding: 17px 5px;
  font-size: 9px;
  color: #7d8192;
  line-height: 1.9;
}
.sample-sync svg {
  margin-right: 4px;
}
.queue-section {
  padding-top: 28px;
}
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.queue-header h2 {
  font-size: 18px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.queue-header h2 > span {
  font-size: 10px;
  color: #626881;
  background: #e2e5ef;
  padding: 2px 6px;
  border-radius: 5px;
}
.queue-header .text-button {
  font-size: 9px;
  white-space: nowrap;
}
.queue-filters {
  margin-bottom: 13px;
}
.queue-filters button {
  font-size: 9px;
  padding: 6px 11px;
}
.queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.queue-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  text-align: left;
  gap: 17px;
}
.queue-row:hover {
  border-color: #99a0bb;
  background: #f8f9fc;
}
.queue-time {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 39px;
}
.queue-time strong {
  font-size: 13px;
  color: #444b66;
}
.queue-time > span {
  font-size: 9px;
  color: #828697;
}
.queue-rule {
  align-self: stretch;
  min-height: 45px;
  width: 2px;
  background: #a5adce;
  border-radius: 2px;
}
.queue-customer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.queue-customer > strong {
  font-size: 12px;
}
.queue-customer > span:not(.badge) {
  font-size: 10px;
  color: #7d8192;
}
.queue-customer > .badge {
  font-size: 8px;
  padding: 2px 5px;
  margin-top: 3px;
}
.queue-price {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: #3f4663;
  font-weight: 550;
}
.queue-price > svg {
  color: #7e849d;
}
.barber-footer {
  padding: 28px 0 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #828696;
  font-size: 9px;
}
.barber-bottom-nav {
  display: none;
}
.payment-person {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
}
.payment-person > div {
  flex: 1;
}
.payment-person strong {
  font-size: 12px;
  display: block;
}
.payment-person div > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.payment-person > .badge {
  font-size: 8px;
}
.tip-chips {
  display: flex;
  gap: 7px;
  margin: 16px 0 20px;
}
.tip-chips button {
  flex: 1;
  background: white;
  border: 1px solid #d2d5e1;
  border-radius: 7px;
  padding: 10px 5px;
  font-size: 11px;
  min-height: 43px;
}
.tip-chips button[aria-pressed="true"] {
  background: #e7eaf4;
  border-color: #5e8a4f;
  color: #416c34;
}
.custom-tip {
  margin-bottom: 17px;
}
.method-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 21px;
}
.method-choices button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  min-height: 48px;
}
.method-choices button[aria-pressed="true"] {
  border-color: var(--accent-dark);
  background: #e9ebf5;
  color: var(--accent-dark);
}
.earnings-hero {
  background: var(--forest);
  color: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.earnings-hero > span {
  font-size: 12px;
  color: #c4c8d7;
}
.earnings-hero > strong {
  display: block;
  font-size: 50px;
  font-weight: 530;
  letter-spacing: -2px;
  margin: 8px 0;
}
.earnings-hero > p {
  font-size: 11px;
  color: #afb5cc;
  margin: 0;
}
.earnings-list {
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  padding: 22px;
  margin-bottom: 24px;
}
.earnings-list h2 {
  font-size: 17px;
}
.earnings-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  gap: 16px;
}
.earnings-list article > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.earnings-list article > span:last-child {
  text-align: right;
}
.earnings-list strong {
  font-size: 12px;
}
.earnings-list small {
  font-size: 10px;
  color: var(--muted);
}
.profile-card {
  max-width: 670px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.profile-identity {
  text-align: center;
  padding-bottom: 25px;
}
.profile-identity h2 {
  margin: 14px 0 10px;
}
.profile-identity p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
/* Responsive layouts: contained calendar scrolling, no whole-page overflow. */
@media (min-width: 1600px) {
  .admin-main {
    padding: 35px 42px 0;
  }
  .calendar-scroll {
    max-height: 650px;
  }
  .stat-card {
    padding: 21px 24px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .calendar-toolbar {
    padding: 20px;
  }
  .event-top strong {
    font-size: 12px;
  }
  .event-sub {
    font-size: 10px;
  }
}
@media (max-width: 1190px) {
  .booking-hero,
  .booking-body {
    margin-left: 30px;
    margin-right: 30px;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1fr) 305px;
    gap: 28px;
  }
  .barber-main,
  .barber-desktop-nav {
    margin-left: 30px;
    margin-right: 30px;
  }
  .hero-copy {
    padding: 34px;
  }
  .hero-copy h1 {
    font-size: 39px;
  }
  .sidebar {
    width: 210px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .admin-body {
    margin-left: 210px;
  }
  .workspace-header {
    padding: 0 24px;
  }
  .admin-main {
    padding: 25px 24px 0;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px 14px;
  }
  .spark-bars {
    gap: 2px;
  }
  .spark-bars span {
    width: 4px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-value {
    font-size: 27px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .calendar-toolbar {
    gap: 14px;
  }
  .date-controls h2 {
    font-size: 13px;
  }
  .calendar-options {
    margin-left: auto;
  }
}
@media (max-width: 980px) {
  .sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.18s,
      visibility 0.18s;
    width: 250px;
    top: 40px;
    box-shadow: 15px 0 50px #173c3120;
  }
  .sidebar.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 40px 0 0;
    background: #173c3150;
    z-index: 19;
    border: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .admin-body {
    margin-left: 0;
  }
  .workspace-header {
    height: 65px;
  }
  .header-breadcrumb {
    font-size: 10px;
  }
  .preview-extra {
    display: none;
  }
  .booking-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .booking-summary {
    padding: 16px;
  }
  .booking-hero {
    grid-template-columns: 1.4fr 1fr;
  }
  .hero-art .hero-seal {
    margin-left: 0;
    width: 190px;
    height: 190px;
  }
  .hero-seal > strong {
    font-size: 44px;
  }
  .hero-seal > span {
    font-size: 6px;
  }
  .hero-copy h1 {
    font-size: 37px;
  }
  .art-spark.one {
    right: 25px;
    top: 30px;
  }
  .art-spark.two {
    left: 15px;
    bottom: 30px;
  }
  .art-orbit {
    left: -65px;
  }
  .orbit-two {
    left: -25px;
  }
  .orbit-three {
    left: 15px;
  }
  .shop-header-right {
    gap: 15px;
  }
  .shop-header-right > .powered-by {
    display: none;
  }
  .addons {
    grid-template-columns: 1fr;
  }
  .booking-progress button {
    gap: 7px;
    font-size: 10px;
  }
  .booking-progress button > i {
    margin: 0 10px;
  }
  .barber-day-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
  }
  .barber-stats article {
    padding: 0 18px;
  }
  .barber-stats small {
    display: block;
  }
  .barber-stats article > strong {
    flex-wrap: wrap;
    gap: 1px 10px;
  }
  .barber-main {
    padding-top: 26px;
  }
  .current-customer h2 {
    font-size: 22px;
  }
  .day-note {
    padding: 24px 16px;
  }
}
@media (max-width: 740px) {
  .preview-bar {
    height: 68px;
    padding: 0 16px;
    align-items: flex-start;
    padding-top: 6px;
    font-size: 9px;
  }
  .preview-label {
    height: 24px;
  }
  .preview-bar nav {
    top: 34px;
    gap: 4px;
  }
  .preview-bar nav a {
    padding: 4px 18px;
    font-size: 10px;
  }
  .scenario-label select {
    min-height: 24px;
    font-size: 9px;
    padding: 2px 0;
  }
  .scenario-label {
    height: 24px;
  }
  .sidebar {
    top: 68px;
  }
  .nav-scrim {
    top: 68px;
  }
  .workspace-header {
    padding: 0 17px;
    height: 65px;
  }
  .header-breadcrumb {
    display: none;
  }
  .header-tools {
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
  }
  .search-box {
    width: 100%;
    max-width: 310px;
    height: 36px;
  }
  .search-box input {
    font-size: 12px;
  }
  .header-tools > .avatar {
    display: none;
  }
  .header-divider {
    display: none;
  }
  .header-context {
    gap: 0;
  }
  .admin-main {
    padding: 23px 18px 0;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.7;
    max-width: 250px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 42px;
    margin-top: 15px;
  }
  .page-heading > .button svg {
    width: 15px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 22px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .spark-bars span {
    width: 5px;
  }
  .calendar-toolbar {
    padding: 13px 12px;
    gap: 15px;
  }
  .date-controls {
    flex-wrap: wrap;
    width: 100%;
    gap: 5px;
  }
  .date-controls h2 {
    font-size: 13px;
    margin: 0 4px;
  }
  .date-controls .icon-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
  .today-button {
    margin-left: auto;
    font-size: 9px;
  }
  .calendar-options {
    justify-content: space-between;
    width: 100%;
  }
  .segmented button {
    min-height: 35px;
    font-size: 10px;
  }
  .select-with-icon select {
    font-size: 11px;
  }
  .week-strip {
    padding: 8px 5px;
    gap: 3px;
  }
  .week-strip button {
    flex-direction: column;
    gap: 3px;
    padding: 6px 2px;
    min-height: 54px;
    font-size: 9px;
  }
  .week-strip button strong {
    font-size: 12px;
  }
  .week-strip button .day-dot {
    margin: 0;
  }
  .calendar-scroll {
    max-height: 510px;
  }
  .calendar-board {
    min-width: 680px;
  }
  .calendar-footer {
    font-size: 9px;
    padding: 12px;
    gap: 12px;
  }
  .calendar-footnote {
    width: 100%;
    margin-left: 0;
    font-size: 8px;
  }
  .workspace-footnote {
    font-size: var(--fs-12);
  }
  .agenda-row {
    padding: 15px 12px;
    gap: 9px;
  }
  .agenda-row > .avatar {
    display: none;
  }
  .agenda-person strong {
    font-size: 11px;
  }
  .agenda-person > span {
    font-size: 9px;
  }
  .agenda-time {
    font-size: 11px;
    min-width: 34px;
  }
  .agenda-row > .badge {
    display: none;
  }
  .agenda-row > strong:last-of-type {
    font-size: 10px;
  }
  .agenda-row > svg {
    width: 13px;
  }
  .shop-header {
    height: 77px;
    padding: 0 20px;
  }
  .shop-header-right {
    font-size: 8px;
    max-width: 115px;
    line-height: 1.6;
  }
  .shop-header-right > span {
    gap: 5px;
  }
  .shop-brand {
    gap: 8px;
  }
  .shop-emblem {
    width: 35px;
    height: 35px;
    font-size: 23px;
  }
  .shop-emblem > span {
    font-size: 14px;
  }
  .shop-brand div > strong {
    font-size: 11px;
  }
  .shop-brand div > span {
    font-size: 6px;
  }
  .booking-hero {
    margin: 0 16px;
    min-height: 242px;
    grid-template-columns: 1fr 0.65fr;
    border-radius: 10px;
  }
  .hero-copy {
    padding: 28px 0 28px 25px;
  }
  .hero-copy .eyebrow {
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .hero-copy h1 {
    font-size: 34px;
    letter-spacing: -1.35px;
  }
  .hero-copy p {
    font-size: 10px;
    line-height: 1.75;
    max-width: 225px;
    margin-bottom: 16px;
  }
  .hero-details {
    gap: 12px;
    font-size: 8px;
    flex-wrap: wrap;
  }
  .hero-details svg {
    width: 13px;
    height: 13px;
  }
  .hero-art {
    overflow: visible;
  }
  .hero-art .hero-seal {
    width: 145px;
    height: 145px;
    flex-shrink: 0;
    position: absolute;
    right: -24px;
    top: 40px;
    opacity: 0.65;
  }
  .hero-seal > strong {
    font-size: 37px;
  }
  .hero-seal > span {
    font-size: 5px;
    letter-spacing: 0.1em;
  }
  .seal-rule {
    width: 90px;
    margin: 7px 0 12px;
  }
  .hero-seal > strong > span {
    font-size: 24px;
  }
  .hero-art .art-orbit {
    width: 250px;
    height: 250px;
    left: -15px;
    top: 0;
  }
  .hero-art .orbit-two {
    width: 200px;
    height: 200px;
    left: 10px;
    top: 25px;
  }
  .hero-art .orbit-three {
    display: none;
  }
  .art-spark.one {
    right: 12px;
    top: 13px;
    font-size: 20px;
  }
  .art-spark.two {
    left: 17px;
    bottom: 25px;
    font-size: 20px;
  }
  .booking-body {
    margin: 0 20px;
  }
  .booking-progress {
    padding: 24px 0 20px;
    margin-bottom: 25px;
    justify-content: space-between;
  }
  .booking-progress button {
    flex: 1;
    flex-direction: column;
    gap: 7px;
    font-size: 8px;
    padding: 4px 1px;
  }
  .booking-progress button:last-child {
    flex: 1;
  }
  .booking-progress button > i {
    display: none;
  }
  .booking-progress button > span {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .booking-progress button > strong {
    font-size: 8px;
    white-space: nowrap;
  }
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step-heading h2 {
    font-size: 24px;
    scroll-margin-top: 16px;
  }
  .step-heading p {
    font-size: 12px;
  }
  .step-heading .eyebrow {
    font-size: 9px;
  }
  .booking-summary {
    position: static;
    padding: 20px;
    box-shadow: none;
  }
  .booking-summary h3 {
    font-size: 15px;
  }
  .summary-shop strong {
    font-size: 13px;
  }
  .summary-shop div > span {
    font-size: 10px;
  }
  .summary-service strong {
    font-size: 13px;
  }
  .summary-service div > span {
    font-size: 10px;
  }
  .summary-appointment p {
    font-size: 12px;
  }
  .summary-price > p {
    font-size: 13px;
  }
  .summary-price .remaining-line {
    font-size: 11px;
  }
  .cancellation-note p,
  .cancellation-note strong {
    font-size: 11px;
  }
  .preview-summary-note {
    font-size: 9px;
  }
  .service-search input {
    font-size: 14px;
    min-height: 45px;
  }
  .filter-chips {
    gap: 6px;
  }
  .filter-chips button {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 38px;
  }
  .service-choice {
    padding: 14px 12px;
    gap: 12px;
    min-height: 105px;
  }
  .service-copy > strong {
    font-size: 13px;
    gap: 4px;
  }
  .service-copy > span {
    font-size: 11px;
  }
  .service-copy small {
    font-size: 10px;
  }
  .service-thumb {
    width: 48px;
    height: 52px;
  }
  .popular-tag {
    font-size: 6px;
  }
  .choice-end > strong {
    font-size: 14px;
  }
  .addons {
    grid-template-columns: 1fr;
  }
  .addon-choice {
    padding: 16px;
  }
  .addon-choice strong {
    font-size: 12px;
  }
  .addon-choice small {
    font-size: 10px;
  }
  .addon-heading > span {
    font-size: 10px;
  }
  .booking-actions {
    padding-top: 20px;
    gap: 8px;
  }
  .booking-actions > .button {
    font-size: 12px;
    padding: 11px 13px;
    min-height: 46px;
  }
  .booking-actions > .secure-note {
    font-size: 9px;
    max-width: 110px;
  }
  .booking-actions > .secure-note svg {
    display: none;
  }
  .booking-footer {
    margin-top: 30px;
    padding: 25px 0;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 9px;
  }
  .booking-footer > span:nth-child(2) {
    display: none;
  }
  .barber-choices {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .barber-portrait {
    aspect-ratio: 16 / 10;
  }
  .barber-portrait .barber-photo {
    object-position: 50% 30%;
  }
  .barber-choice-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .barber-choice-name > strong {
    font-size: 13px;
  }
  .barber-description {
    font-size: 11px;
    min-height: 52px;
  }
  .barber-role {
    font-size: 10px;
  }
  .barber-rate {
    font-size: 16px;
  }
  .barber-rate > span {
    font-size: 9px;
  }
  .booking-date-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .booking-date-toolbar h3 {
    font-size: 16px;
  }
  .small-toggles button {
    font-size: 11px;
    min-height: 38px;
  }
  .booking-dates {
    gap: 4px;
  }
  .booking-dates button {
    padding: 13px 2px;
    gap: 7px;
  }
  .booking-dates button > span {
    font-size: 9px;
  }
  .booking-dates button > strong {
    font-size: 20px;
  }
  .booking-dates button > small {
    font-size: 7px;
  }
  .slot-heading h3 {
    font-size: 16px;
  }
  .slot-heading > span {
    font-size: 9px;
  }
  .time-slots {
    gap: 8px;
  }
  .time-slots button {
    min-height: 48px;
    font-size: 14px;
  }
  .slot-note {
    font-size: 10px;
    align-items: flex-start;
  }
  .customer-fields label {
    font-size: 13px;
  }
  .customer-fields input,
  .customer-fields textarea {
    font-size: 16px;
    min-height: 49px;
  }
  .review-appointment {
    padding: 25px 16px;
  }
  .review-appointment h3 {
    font-size: 21px;
  }
  .review-appointment > p {
    font-size: 12px;
  }
  .review-customer h3 {
    font-size: 15px;
  }
  .review-customer > strong {
    font-size: 14px;
  }
  .review-customer > p {
    font-size: 12px;
  }
  .review-barber {
    font-size: 12px;
  }
  .consent-control strong {
    font-size: 13px;
  }
  .consent-control small {
    font-size: 11px;
  }
  .notice {
    font-size: 12px;
    padding: 13px;
  }
  .barber-header {
    height: 68px;
    padding: 0 20px;
  }
  .barber-header .brand {
    font-size: 15px;
  }
  .barber-shop-tag {
    font-size: 10px;
    gap: 6px;
  }
  .barber-header-avatar {
    margin-left: 4px;
  }
  .barber-header-avatar .avatar {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .barber-shop-tag > svg {
    display: none;
  }
  .barber-desktop-nav {
    display: none;
  }
  .barber-main {
    margin: 0;
    padding: 26px 20px 100px;
  }
  .barber-greeting {
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 12px;
  }
  .barber-greeting h1 {
    font-size: 31px;
  }
  .barber-greeting .eyebrow {
    font-size: 8px;
    max-width: 200px;
    line-height: 1.6;
  }
  .barber-greeting p {
    font-size: 11px;
    max-width: 210px;
  }
  .barber-greeting > .button {
    font-size: 10px;
    padding: 9px 10px;
    min-height: 40px;
    margin-top: 23px;
    gap: 4px;
    white-space: normal;
    max-width: 113px;
  }
  .barber-greeting > .button svg {
    width: 14px;
    height: 14px;
  }
  .barber-stats {
    padding: 16px 0;
    margin-bottom: 22px;
  }
  .barber-stats article {
    padding: 0 13px;
  }
  .barber-stats article > span {
    font-size: 9px;
    align-items: flex-start;
    min-height: 30px;
    line-height: 1.5;
    gap: 5px;
  }
  .barber-stats article > span svg {
    width: 13px;
    height: 13px;
    margin-top: 1px;
  }
  .barber-stats article > strong {
    font-size: 25px;
    flex-direction: column;
    gap: 4px;
  }
  .barber-stats small {
    font-size: 8px;
    font-weight: 400;
    line-height: 1.5;
  }
  .barber-day-layout {
    grid-template-columns: 1fr;
  }
  .in-chair-card {
    padding: 20px;
    border-radius: 11px;
  }
  .in-chair-top {
    margin-bottom: 22px;
  }
  .in-chair-top > span:last-child {
    font-size: 10px;
  }
  .current-customer {
    gap: 12px;
  }
  .current-customer h2 {
    font-size: 23px;
    line-height: 1.25;
  }
  .current-customer p {
    font-size: 11px;
  }
  .current-customer .avatar {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  .current-note {
    font-size: 11px;
    padding: 11px 10px;
    align-items: flex-start;
    line-height: 1.6;
  }
  .current-note small {
    display: block;
    margin-left: 0;
    font-size: 9px;
  }
  .current-payment {
    justify-content: space-between;
    gap: 12px;
  }
  .current-payment > span {
    font-size: 10px;
  }
  .current-payment strong {
    font-size: 26px;
  }
  .in-chair-card .light-button {
    min-height: 46px;
    font-size: 12px;
  }
  .in-chair-disclaimer {
    font-size: 9px;
  }
  .day-side {
    display: none;
  }
  .queue-header h2 {
    font-size: 18px;
  }
  .queue-header .text-button {
    font-size: 9px;
  }
  .queue-row {
    padding: 18px 13px;
    gap: 12px;
  }
  .queue-time strong {
    font-size: 13px;
  }
  .queue-time > span {
    font-size: 10px;
  }
  .queue-customer > strong {
    font-size: 13px;
  }
  .queue-customer > span:not(.badge) {
    font-size: 11px;
  }
  .queue-customer > .badge {
    font-size: 9px;
  }
  .queue-price {
    font-size: 12px;
    gap: 4px;
  }
  .queue-filters button {
    font-size: 11px;
    min-height: 36px;
  }
  .barber-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    background: #fffffff5;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 8px 16px calc(9px + env(safe-area-inset-bottom));
    z-index: 15;
  }
  .barber-bottom-nav button {
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #747a8f;
    min-height: 47px;
    min-width: 80px;
  }
  .barber-bottom-nav button[aria-current="page"] {
    color: var(--accent);
    font-weight: 600;
  }
  .barber-bottom-nav button[aria-current="page"] svg {
    background: #dde1ef;
    box-shadow: 0 0 0 5px #dde1ef;
    border-radius: 3px;
  }
  .barber-footer {
    font-size: 9px;
    padding-top: 25px;
  }
  .earnings-hero {
    padding: 24px;
  }
  .earnings-hero > strong {
    font-size: 44px;
  }
  .earnings-list {
    padding: 18px;
  }
  .earnings-list strong {
    font-size: 12px;
  }
  .earnings-list small {
    font-size: 10px;
  }
  .profile-card {
    padding: 24px 19px;
  }
  .modal {
    max-height: calc(100dvh - 24px);
    width: calc(100vw - 24px);
    border-radius: 13px;
  }
  .modal-inner {
    padding: 20px;
  }
  .modal-header h2 {
    font-size: 21px;
  }
  .modal-header {
    margin-bottom: 20px;
  }
  .modal-header .icon-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid input,
  .form-grid select {
    font-size: 16px;
  }
  .modal-footer {
    gap: 8px;
  }
  .modal-footer .button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .modal input,
  .modal select {
    font-size: 16px;
  }
  .detail-person h3 {
    font-size: 17px;
  }
  .detail-person .muted {
    font-size: 10px;
  }
  .detail-grid {
    gap: 19px 13px;
  }
  .detail-grid dt {
    font-size: 11px;
  }
  .detail-grid dd {
    font-size: 12px;
  }
  .payment-person > .badge {
    display: none;
  }
  .state-card {
    padding: 40px 20px;
  }
  .state-card h2 {
    font-size: 22px;
  }
  .state-card p {
    font-size: 13px;
  }
  .desktop-only {
    display: none;
  }
}
@media (max-width: 370px) {
  .admin-main {
    padding: 20px 12px 0;
  }
  .workspace-header {
    padding: 0 12px;
  }
  .page-heading {
    flex-direction: column;
    gap: 13px;
  }
  .page-heading > .button {
    margin-top: 0;
    min-height: 42px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    max-width: none;
  }
  .stat-card {
    padding: 13px 11px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .stat-value {
    font-size: 26px;
  }
  .spark-bars {
    gap: 2px;
  }
  .spark-bars span {
    width: 3px;
  }
  .today-button {
    margin-left: 0;
  }
  .date-controls h2 {
    font-size: 11px;
  }
  .date-controls {
    gap: 4px;
  }
  .date-controls .icon-button {
    width: 29px;
    min-width: 29px;
  }
  .calendar-options {
    gap: 5px;
  }
  .segmented button {
    padding: 5px 7px;
  }
  .select-with-icon {
    gap: 3px;
  }
  .select-with-icon select {
    font-size: 10px;
    max-width: 116px;
  }
  .shop-header {
    padding: 0 16px;
  }
  .shop-header-right {
    font-size: 7px;
    max-width: 83px;
  }
  .booking-hero {
    margin: 0 12px;
    grid-template-columns: 1fr 0.4fr;
    min-height: 235px;
  }
  .hero-copy {
    padding: 27px 0 25px 19px;
  }
  .hero-copy h1 {
    font-size: 31px;
  }
  .hero-copy p {
    font-size: 10px;
  }
  .hero-art {
    opacity: 0.45;
  }
  .hero-art .hero-seal {
    right: -65px;
    top: 44px;
  }
  .hero-details {
    font-size: 7px;
    gap: 8px;
  }
  .hero-details svg {
    width: 12px;
    height: 12px;
  }
  .booking-body {
    margin: 0 16px;
  }
  .service-choice {
    padding: 12px 10px;
    gap: 9px;
  }
  .service-thumb {
    width: 42px;
    height: 48px;
  }
  .service-copy > strong {
    font-size: 12px;
  }
  .service-copy > span {
    font-size: 10px;
  }
  .popular-tag {
    display: none;
  }
  .service-copy small {
    font-size: 9px;
  }
  .choice-end > strong {
    font-size: 13px;
  }
  .step-heading h2 {
    font-size: 22px;
  }
  .barber-main {
    padding: 23px 15px 100px;
  }
  .barber-greeting h1 {
    font-size: 28px;
  }
  .barber-greeting > .button {
    max-width: 100px;
    padding: 9px 8px;
    font-size: 9px;
  }
  .barber-stats article {
    padding: 0 10px;
  }
  .barber-stats article > span {
    font-size: 8px;
    gap: 4px;
  }
  .barber-stats article > span svg {
    display: none;
  }
  .barber-stats small {
    font-size: 7px;
  }
  .in-chair-card {
    padding: 18px 15px;
  }
  .current-customer h2 {
    font-size: 20px;
  }
  .current-customer .avatar {
    width: 43px;
    height: 43px;
    font-size: 14px;
  }
  .current-customer {
    gap: 9px;
  }
  .current-payment > span {
    font-size: 9px;
  }
  .queue-header h2 {
    font-size: 16px;
  }
  .queue-row {
    padding: 17px 11px;
    gap: 9px;
  }
  .queue-customer > strong {
    font-size: 11px;
  }
  .queue-customer > span:not(.badge) {
    font-size: 10px;
  }
  .queue-price {
    font-size: 11px;
  }
  .barber-header {
    padding: 0 15px;
  }
  .barber-header .brand {
    font-size: 13px;
  }
  .barber-header .brand-mark {
    width: 28px;
    height: 28px;
  }
  .barber-shop-tag {
    font-size: 9px;
  }
  .modal-inner {
    padding: 17px;
  }
  .modal-footer .button {
    font-size: 11px;
  }
  .preview-bar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .scenario-label {
    gap: 4px;
  }
  .booking-dates button > strong {
    font-size: 18px;
  }
  .booking-dates button > small {
    font-size: 6px;
  }
  .slot-heading > span {
    font-size: 8px;
  }
  .review-appointment h3 {
    font-size: 19px;
  }
}
/* Review pass: readable secondary text, clearer mobile controls and unobstructed appointments. */
.header-breadcrumb,
.stat-foot,
.segmented button,
.week-strip button,
.timezone-label span,
.staff-column-heading div > span,
.time-gutter > span,
.calendar-footer,
.workspace-footnote,
.shop-brand div > span,
.step-heading .eyebrow,
.service-copy > span,
.service-copy small,
.addon-heading > span,
.addon-choice small,
.secure-note,
.summary-shop div > span,
.summary-service div > span,
.summary-addon,
.deposit-line small,
.summary-price .remaining-line,
.cancellation-note,
.preview-summary-note,
.booking-footer,
.barber-stats small,
.queue-time > span,
.queue-customer > span:not(.badge),
.sample-sync,
.barber-footer,
.barber-role,
.barber-rate > span,
.barber-choice-name small,
.booking-dates button,
.slot-heading > span,
.slot-note,
.barber-bottom-nav button {
  color: var(--muted);
}
.popular-tag {
  color: #333c61;
}
.calendar-event.finished {
  color: #4c5166;
}
.event-sub,
.event-time {
  opacity: 1;
}
.calendar-event {
  z-index: 2;
}
.sample-time-line {
  z-index: 1;
}
.day-note .eyebrow,
.day-note p,
.day-note > .muted {
  color: #434b6c;
}
.addon-heading > span {
  font-size: 11px;
}
.addon-heading {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.current-payment > span {
  font-size: 11px;
  color: #ffffff;
}
.mobile-checkout-total {
  display: none;
}
.nav-close-button {
  display: none;
}
.calendar-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
@media (max-width: 980px) {
  .nav-close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 9px;
    top: 11px;
    width: 32px;
    height: 32px;
    color: #d5d8e4;
    background: transparent;
    border: 0;
    border-radius: 5px;
  }
  .sidebar .brand-link {
    margin-top: 12px;
  }
}
@media (max-width: 740px) {
  .booking-body {
    padding-bottom: 82px;
  }
  .booking-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 16;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    margin: 0;
    border-top: 1px solid var(--line);
    background: #fffffffa;
    box-shadow: 0 -4px 20px #29431e09;
    backdrop-filter: blur(8px);
  }
  .booking-actions .secure-note {
    display: none;
  }
  .mobile-checkout-total {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mobile-checkout-total > strong {
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--ink);
  }
  .mobile-checkout-total > small {
    font-size: 9px;
    color: var(--muted);
  }
  .current-payment > span {
    font-size: 11px;
  }
  .booking-actions > .button {
    min-height: 46px;
  }
  .addon-heading > span {
    font-size: 11px;
  }
  .booking-progress button:not([aria-current="step"]):not(.done) {
    opacity: 1;
    color: #5b6074;
  }
  .week-strip button[aria-pressed="true"] {
    color: #ffffff;
  }
}
.booking-progress button.done {
  color: var(--muted);
}
.barber-portrait > span:first-child {
  opacity: 1;
}
@media (max-width: 740px) {
  .hero-art,
  .hero-art .hero-seal {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Public online booking and customer manage pages */
.public-banner {
  flex-wrap: wrap;
}
.public-hero .hero-copy {
  max-width: 640px;
}
.public-confirmation {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.public-confirmation .review-appointment h1 {
  font-size: 25px;
  font-weight: 560;
  margin-bottom: 6px;
}
.public-reference {
  font-size: 22px;
  letter-spacing: 0.06em;
  display: block;
  margin: 4px 0 8px;
}
.public-manage-link {
  display: block;
  word-break: break-all;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #edeef4;
  border: 1px dashed #bfc3d3;
  color: var(--forest);
  margin-top: 8px;
}
.public-confirmation .booking-actions {
  flex-wrap: wrap;
}
.public-confirmation .booking-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.public-confirmation .summary-addon {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.booking-flow .workspace-error {
  margin-top: 12px;
}
.booking-dates button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.time-slots[aria-busy="true"]:empty {
  min-height: 88px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eaecf2 25%, #f3f4f8 50%, #eaecf2 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .time-slots[aria-busy="true"]:empty {
    animation: none;
  }
}
/* Owner workspace: online booking panel, channel badges, customer directory */
.online-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
}
.online-link-row code {
  font-size: 12px;
  padding: 6px 10px;
  background: #edeef4;
  border-radius: 6px;
  word-break: break-all;
}
.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e0e3ee;
  color: var(--forest);
}
.channel-badge.online {
  background: #dfeaf5;
  color: #204a6b;
}
.customer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.customer-table th,
.customer-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.customer-table th {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.customer-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.customer-table .workspace-text-button {
  font-weight: 600;
}
@media (max-width: 740px) {
  .customer-table thead {
    display: none;
  }
  .customer-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .customer-table td {
    border: 0;
    padding: 0;
  }
  .customer-table td.num {
    text-align: left;
  }
  .customer-table td[data-label]::before {
    content: attr(data-label) " ";
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    display: block;
  }
  .customer-table td.customer-name {
    grid-column: 1 / -1;
  }
}
.customer-history {
  display: grid;
  gap: 8px;
}
.customer-history article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
@media (max-width: 740px) {
  /* Confirmation and manage pages have several actions: keep them in flow. */
  .public-confirmation .booking-actions {
    position: static;
    padding: 18px 0 4px;
    margin-top: 6px;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .public-confirmation .booking-actions > .button,
  .public-confirmation .booking-actions > .primary {
    margin: 0;
    justify-content: center;
    width: 100%;
  }
  .public-confirmation ~ .booking-footer,
  .public-confirmation + .booking-footer {
    margin-top: 12px;
  }
}

/* ===== Public booking v2: soonest chips, grouped times, any-barber, waitlist, action tiles ===== */
.hero-details {
  flex-wrap: wrap;
  gap: 14px 23px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e4e7f2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-link:hover {
  color: #fff;
}
.next-available {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaecf4, #f3f4f9);
  border: 1px solid #d3d7e6;
}
.next-available .eyebrow {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #59607c;
  display: block;
  margin-bottom: 10px;
}
.next-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.next-chips::-webkit-scrollbar {
  display: none;
}
.next-chip {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cdd1e1;
  text-align: left;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.next-chip strong {
  font-size: 12px;
  color: var(--ink);
}
.next-chip span {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.next-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px #1a3d2c14;
}
.next-chip.chosen {
  background: var(--accent);
  border-color: var(--accent);
}
.next-chip.chosen strong,
.next-chip.chosen span {
  color: #fff;
}
.booking-dates button {
  position: relative;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.booking-dates button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: transparent;
}
.booking-dates button.open::after {
  background: #7fb28a;
}
.booking-dates button.low::after {
  background: #d9a441;
}
.booking-dates button.full::after {
  background: #c9c2b8;
}
.booking-dates button.chosen::after {
  background: #fff;
}
.booking-dates button.full > small {
  color: #8a8378;
}
.booking-dates button > small {
  margin-bottom: 8px;
}
.slot-heading h3 {
  font-size: 15px;
}
.time-groups {
  display: grid;
  gap: 18px;
}
.time-group h4 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d5368;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.time-group h4 small {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e2e5ef;
  color: #3d435c;
}
.time-slots button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.time-slots button:hover:not(:disabled) {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.time-slots button > small {
  font-size: 10px;
  font-weight: 500;
  color: #464b5f;
  letter-spacing: 0.02em;
}
.time-slots button.chosen > small {
  color: #dce0ee;
}
.time-slots button > svg {
  position: absolute;
  right: 8px;
  top: 8px;
}
.skeleton-slots {
  min-height: 0;
}
.skeleton-slots > span {
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eaecf2 25%, #f3f4f8 50%, #eaecf2 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-slots > span {
    animation: none;
  }
}
.barber-portrait.forest {
  background: linear-gradient(135deg, #394a93, #4058b7);
  color: #e3e6f1;
}
.barber-portrait .any-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff1f;
  border: 1px solid #ffffff40;
  opacity: 1;
  letter-spacing: 0;
  font-size: 0;
}
.barber-choice.any-barber {
  background: linear-gradient(180deg, #f4f5fa, #fff);
}
.barber-description {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 8px;
}
.waitlist-card {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fbf7ee;
  border: 1px solid #ead9b6;
  display: grid;
  gap: 14px;
}
.waitlist-card h4 {
  font-size: 15px;
  margin: 0 0 4px;
}
.waitlist-card p {
  font-size: 12px;
  color: #6b5f48;
  line-height: 1.6;
  margin: 0;
}
.waitlist-form {
  display: grid;
  gap: 12px;
}
.customer-fields.compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.customer-fields.compact label > span {
  font-size: 11px;
}
.waitlist-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.confirmation-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.action-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.action-tile svg {
  color: var(--accent);
  flex: 0 0 auto;
}
.action-tile:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px #1a3d2c12;
}
@media (max-width: 740px) {
  .next-available {
    margin-left: -4px;
    margin-right: -4px;
  }
  .waitlist-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }
  .confirmation-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Owner: waitlist panel, share confirmation ===== */
.waitlist-panel {
  margin: 0 0 22px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbf7ee, #fffdf8);
  border: 1px solid #ead9b6;
}
.waitlist-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.waitlist-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  margin: 0 0 4px;
}
.waitlist-panel h2 svg {
  color: #b7832a;
}
.waitlist-panel .nav-count {
  background: #b7832a;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  padding: 1px 7px;
}
.waitlist-panel > header p {
  font-size: 12px;
  color: #6b5f48;
  margin: 0;
  max-width: 60ch;
}
.waitlist-panel ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.waitlist-panel li {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #efe4cc;
  border-radius: 12px;
  font-size: 13px;
}
.waitlist-panel li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.waitlist-panel li small {
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.waitlist-row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .waitlist-panel li {
    grid-template-columns: 1fr 1fr;
  }
  .waitlist-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
.share-booking {
  margin: 14px 0 4px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f9fb;
}
.share-booking summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.share-booking summary::-webkit-details-marker {
  display: none;
}
.share-booking summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.share-booking[open] summary::after {
  transform: rotate(-135deg);
}
.share-booking > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.share-message {
  width: 100%;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  resize: vertical;
  margin: 6px 0;
}
.share-booking .workspace-save-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
}
.share-booking .button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ---------- Week view (owner overview) ---------- */
.week-view {
  --week-label: 150px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: auto;
  max-width: 100%;
}
.week-view[aria-busy="true"] {
  opacity: 0.6;
}
.week-view-head,
.week-row {
  display: grid;
  grid-template-columns: var(--week-label) repeat(7, minmax(112px, 1fr));
  min-width: 100%;
}
.week-view-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.week-view-corner {
  border-right: 1px solid var(--line);
}
.week-day-head {
  position: relative;
  display: grid;
  gap: 1px;
  justify-items: center;
  padding: 10px 8px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  text-align: center;
}
.week-day-head:last-child {
  border-right: 0;
}
.week-day-head span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}
.week-day-head strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}
.week-day-head small {
  color: var(--muted);
  font-size: 11px;
}
.week-day-head:hover {
  background: #f4f5f8;
}
.week-day-head:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.week-day-head.chosen {
  background: var(--sage);
}
.week-day-head.chosen strong {
  color: var(--accent-dark);
}
.week-day-head.closed strong,
.week-day-head.closed span {
  color: #6a6d78;
}
.week-load {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 3px;
  border-radius: 2px;
  background: #e4e5ea;
  overflow: hidden;
}
.week-load::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--load, 0%);
  background: var(--accent);
  border-radius: 2px;
}
.week-row {
  border-bottom: 1px solid var(--line);
}
.week-row:last-of-type {
  border-bottom: 0;
}
.week-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-right: 1px solid var(--line);
  position: sticky;
  left: 0;
  background: var(--surface);
  z-index: 1;
}
.week-row-label strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.week-row-label small {
  color: var(--muted);
  font-size: 11px;
}
.week-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
  min-height: 84px;
  border-right: 1px solid var(--line);
}
.week-cell:last-child {
  border-right: 0;
}
.week-cell.off {
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, #eeeff3 8px 9px),
    #f8f8fa;
}
.week-off {
  color: #8b8e99;
  text-align: center;
  margin: auto;
  font-size: 12px;
}
.week-card {
  display: grid;
  gap: 1px;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-left-width: 3px;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink);
  min-height: calc(30px + (var(--span, 2) - 2) * 4px);
  transition: transform 0.12s, box-shadow 0.12s;
}
.week-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 27, 42, 0.1);
}
.week-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.week-card strong {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.week-card span {
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.week-card small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.week-card.sage {
  background: #eaf2e8;
  border-color: #72a079;
}
.week-card.sand {
  background: #f6f0df;
  border-color: #bcad7b;
}
.week-card.blue {
  background: #eaecf3;
  border-color: #8891b7;
}
.week-card.clay {
  background: #f5ede5;
  border-color: #b7a08b;
}
.week-card.done {
  background: #eff0f5;
  border-color: #b6bac9;
  color: #656875;
}
.week-card.done span {
  text-decoration: line-through;
  text-decoration-color: #b1b4c0;
}
@media (max-width: 740px) {
  .week-view {
    --week-label: 112px;
  }
  .week-view-head,
  .week-row {
    grid-template-columns: var(--week-label) repeat(7, minmax(120px, 1fr));
    min-width: 960px;
  }
  .week-row-label {
    padding: 10px 8px;
  }
  .week-row-label .avatar {
    display: none;
  }
}

/* ---------- Insights ---------- */
.insights .workspace-panel h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.insight-cards .stat-card .stat-foot {
  min-height: 2.6em;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px 32px;
  margin-top: 8px;
}
.insight-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.insight-bars li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.insight-bar-label {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.insight-bar-track {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: #ecedf1;
  overflow: hidden;
}
.insight-bar-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent), #495ba0);
  min-width: 2px;
  transition: width 0.3s ease;
}
.insight-bar-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
  text-align: right;
}
.insight-bar-value small {
  font-weight: 450;
  color: var(--muted);
}
.insight-table td.num,
.insight-table th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.insight-trend {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 120px;
  padding: 8px 0 0;
  border-bottom: 1px solid var(--line);
}
.insight-trend-bar {
  flex: 1 1 0;
  min-width: 1px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #495ba0, var(--accent));
  opacity: 0.85;
}
.insight-trend-bar:hover {
  opacity: 1;
}
@media (max-width: 740px) {
  .insight-bars li {
    grid-template-columns: 52px 1fr auto;
  }
  .insight-grid {
    gap: 20px;
  }
}

/* ---------- Standing bookings (series) ---------- */
.series-options {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 14px;
  margin: 4px 0 0;
  background: #f9f9fb;
}
.series-options legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  padding: 0 6px;
}
.series-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
.series-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.series-controls {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(90px, 120px);
  gap: 12px;
  margin-top: 12px;
}
.series-controls .workspace-footnote {
  grid-column: 1 / -1;
  margin: 0;
}
.series-preview {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.series-preview > p {
  margin: 0 0 8px;
}
.series-dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
}
.series-dates li {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  border-left: 3px solid transparent;
}
.series-dates li.is-free {
  background: #eceef5;
  border-left-color: #72a079;
}
.series-dates li.is-blocked {
  background: #fbf0ea;
  border-left-color: #c98a68;
}
.series-dates li.is-skipped {
  background: #f2f2f4;
  border-left-color: #c2c4cb;
  color: var(--muted);
}
.series-dates li.is-skipped .series-date {
  text-decoration: line-through;
}
.series-date {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.series-reason {
  color: var(--muted);
}
.series-dates li.is-blocked .series-reason {
  color: #8a4d2b;
  font-weight: 550;
}
.series-dates label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.series-dates input {
  accent-color: var(--accent);
}
.series-result {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--accent-dark);
  font-weight: 550;
}
@media (max-width: 480px) {
  .series-controls {
    grid-template-columns: 1fr 1fr;
  }
  .series-dates li {
    grid-template-columns: 90px 1fr auto;
    gap: 6px;
  }
}

/* ---------- Demo entry ---------- */
.demo-entry {
  max-width: 600px;
  margin: 24px auto 0;
  border: 1px solid #cfd2e0;
  background: linear-gradient(180deg, #f2f3f8, #fff 70%);
}
.demo-entry h2 {
  margin: 10px 0 6px;
}
.demo-entry code,
.demo-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: #ecedf2;
  padding: 1px 6px;
  border-radius: 6px;
}
.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}
.demo-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.demo-hint {
  margin: -4px 0 0;
}

/* ---------- Status badge tones ---------- */
.badge.confirmed { background: #e4eeec; color: #2f5d58; }
.badge.checked { background: #e9f1e9; color: #2c5a3e; }
.badge.service { background: #f1ead9; color: #6b5626; }
.badge.done { background: #ecedf1; color: #4d5368; }
.badge.cancelled { background: #f2f2f4; color: #595c66; }
.badge.noshow { background: #f7e6e0; color: #8a3b24; }
.channel-badge.series { background: #e9f1e9; color: #2c5a3e; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 550;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecedf2;
  color: #3d4254;
}
.tag.warn { background: #f7e6e0; color: #8a3b24; }
.tag.good { background: #e9f1e9; color: #2c5a3e; }
.tag button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  padding: 0 0 0 2px;
}
.panel-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.panel-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
}
.panel-inline:hover { background: var(--sage); }
.panel-inline:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Appointment side panel ---------- */
.panel-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(24, 27, 42, 0.18);
  display: flex;
  justify-content: flex-end;
  animation: scrim-in 0.16s ease-out;
}
@keyframes scrim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes panel-in { from { transform: translateX(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.appointment-panel {
  --panel-w: min(500px, 100vw);
  width: var(--panel-w);
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(24, 27, 42, 0.16);
  display: flex;
  flex-direction: column;
  outline: none;
  animation: panel-in 0.2s ease-out;
}
.appointment-panel:focus-visible { box-shadow: -24px 0 60px rgba(24, 27, 42, 0.16), inset 0 0 0 2px var(--accent); }
.panel-handle { display: none; }
.panel-header {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f4f5f8, #fff);
}
.panel-title-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.panel-title-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-title-line h2 { margin: 0; font-size: 20px; line-height: 1.2; }
.panel-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.panel-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 14px 20px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.panel-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  display: grid;
  gap: 10px;
}
.panel-customer-head { display: flex; align-items: center; gap: 10px; }
.panel-customer-name { display: grid; gap: 1px; flex: 1; min-width: 0; }
.panel-customer-name strong { font-size: 14px; }
.panel-phone { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 550; }
.panel-email { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.panel-link { padding: 4px 8px !important; font-size: 12px !important; }
.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0;
}
.panel-stats div { background: #f6f7f9; border-radius: 8px; padding: 6px 8px; }
.panel-stats dt { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.panel-stats dd { margin: 0; font-weight: 650; font-size: 13px; font-variant-numeric: tabular-nums; }
.panel-stats dd.warn { color: #8a3b24; }
.panel-customer-notes { margin: 0; font-size: 12px; color: var(--ink); background: #fbf7ee; border-left: 3px solid #d9c58e; padding: 6px 8px; border-radius: 0 6px 6px 0; }
.panel-barber { display: flex; align-items: center; gap: 10px; }
.panel-barber > div { flex: 1; display: grid; }
.panel-barber strong { font-size: 13px; }
.panel-barber small { color: var(--muted); font-size: 11px; }
.panel-time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; }
.panel-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.panel-items li { display: flex; justify-content: space-between; gap: 10px; }
.panel-items li small { color: var(--muted); }
.panel-items .panel-total { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; font-weight: 650; }
.panel-notes-head { display: flex; align-items: center; justify-content: space-between; }
.panel-notes-head strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.panel-notes p { margin: 0; font-size: 13px; }
.panel-notes p.muted { color: var(--muted); }
.panel-note-form { display: grid; gap: 8px; }
.panel-note-form textarea { width: 100%; font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
.panel-note-actions, .panel-actions-row { display: flex; gap: 8px; flex-wrap: wrap; }
.panel-meta { margin: 0; font-size: 11px; color: var(--muted); }
.series-strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.series-strip li { min-width: 58px; display: grid; justify-items: center; padding: 6px 4px; border-radius: 8px; background: #f2f3f6; font-size: 12px; font-variant-numeric: tabular-nums; }
.series-strip li span { font-weight: 650; }
.series-strip li small { font-size: 10px; color: var(--muted); }
.series-strip li.current { background: var(--accent); color: #fff; }
.series-strip li.current small { color: #d5d9e8; }
.series-strip li.closed { opacity: 0.55; text-decoration: line-through; }
.panel-confirm { border-color: #d9c58e; background: #fdfaf2; }
.panel-radio { display: grid; gap: 6px; font-size: 13px; }
.panel-radio label { display: flex; align-items: center; gap: 8px; }
.panel-reason { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.panel-reason textarea { font: inherit; font-size: 13px; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
.panel-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.panel-timeline ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #e4e5ea; }
.panel-timeline li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; position: relative; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px #cfd2e0; margin-top: 3px; }
.panel-timeline li strong { font-size: 13px; display: block; }
.panel-timeline li small { color: var(--muted); font-size: 11px; }
.panel-timeline li p { margin: 2px 0 0; font-size: 12px; color: #3d4254; }
.panel-timeline > strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  align-items: center;
}
.panel-actions .button { display: inline-flex; align-items: center; gap: 6px; }
.panel-more { position: relative; margin-left: auto; }
.panel-more summary { list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.panel-more summary::-webkit-details-marker { display: none; }
.panel-more summary:focus-visible { outline: 2px solid var(--accent); }
.panel-more-menu {
  position: absolute;
  right: 0;
  bottom: 44px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(24, 27, 42, 0.16);
  padding: 6px;
  display: grid;
  gap: 2px;
  z-index: 2;
}
.panel-more-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.panel-more-menu button:hover { background: var(--sage); }
.panel-more-menu button:disabled { color: #999ca7; cursor: not-allowed; }
@media (max-width: 900px) {
  .panel-scrim { align-items: flex-end; justify-content: stretch; }
  .appointment-panel {
    --panel-w: 100vw;
    height: min(92dvh, 100%);
    border-left: 0;
    border-top: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -20px 60px rgba(24, 27, 42, 0.2);
    animation: sheet-in 0.22s ease-out;
  }
  .panel-handle { display: block; width: 44px; height: 4px; border-radius: 2px; background: #d3d5db; margin: 8px auto 0; }
  .panel-header { padding: 10px 16px 10px; }
  .panel-body { padding: 12px 16px 16px; }
  .panel-stats { grid-template-columns: repeat(2, 1fr); }
  .panel-actions { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); position: sticky; bottom: 0; }
  .panel-actions .button { flex: 1 1 auto; justify-content: center; }
  .panel-more { margin-left: 0; }
  .panel-more-menu { right: auto; left: 0; }
}

/* ---------- Customers directory & profile ---------- */
.customers-layout { display: grid; gap: 20px; align-items: start; }
.customers-layout.has-profile { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); }
.customers-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 10px; }
.customers-search {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  color: var(--muted);
}
.customers-search input { flex: 1; border: 0; padding: 9px 0; font: inherit; font-size: 13px; outline: none; background: transparent; color: var(--ink); min-width: 0; }
.customers-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #12694f22; }
.customers-sort { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.customers-sort select { font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.customers-filters { margin-bottom: 12px; flex-wrap: wrap; }
.customer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.customer-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.customer-row:hover { border-color: #b9bdcc; box-shadow: 0 4px 14px rgba(24, 27, 42, 0.06); }
.customer-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.customer-row.selected { border-color: var(--accent); background: #f4f5f8; }
.customer-row-main { display: grid; gap: 2px; min-width: 0; }
.customer-row-main strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-row-main small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-row-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; margin: 0; }
.customer-row-stats dt { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.customer-row-stats dd { margin: 0; font-weight: 650; font-size: 13px; font-variant-numeric: tabular-nums; }
.customer-row-stats dd.good { color: var(--accent-dark); }
.customer-row-chevron { color: #adb0b9; }
.has-profile .customer-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.has-profile .customer-row-stats { display: none; }
.has-profile .customer-row .tag.warn { display: none; }
.customer-profile { min-width: 0; }
.customer-back { margin-bottom: 8px; }
.customer-profile-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.customer-profile-head > div:nth-child(2) { flex: 1; min-width: 200px; }
.customer-profile-head h2 { margin: 0 0 2px; font-size: 22px; }
.customer-profile-head p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.customer-profile-head p a { color: var(--accent); text-decoration: none; font-weight: 550; }
.customer-profile-actions .button { display: inline-flex; align-items: center; gap: 6px; }
.customer-stat-grid { margin-bottom: 14px; }
.customer-favourites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.customer-favourites > div { background: #f6f7f9; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.customer-favourites .eyebrow { font-size: 10px; }
.customer-favourites strong { font-size: 15px; }
.customer-favourites small { color: var(--muted); font-size: 12px; }
.customer-history { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.customer-history li > button {
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.customer-history li > button:hover { border-color: #b9bdcc; }
.customer-history li > button:focus-visible { outline: 2px solid var(--accent); }
.history-date { display: grid; justify-items: center; background: #f2f3f6; border-radius: 8px; padding: 6px 0; }
.history-date strong { font-size: 16px; line-height: 1; }
.history-date small { font-size: 10px; text-transform: uppercase; color: var(--muted); }
.history-main { display: grid; gap: 1px; min-width: 0; }
.history-main strong { font-size: 13px; }
.history-main small { color: var(--muted); font-size: 12px; }
.history-side { display: grid; justify-items: end; gap: 4px; }
.history-side strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.customer-history li.cancelled .history-main strong, .customer-history li.no_show .history-main strong { color: #5e616d; text-decoration: line-through; text-decoration-color: #b1b4c0; }
.customer-form { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f9f9fb; }
.customer-form.notes { background: #fff; }
.customer-fieldset { display: grid; gap: 12px; }
.customer-check { display: flex; align-items: center; gap: 8px; font-size: 13px; grid-column: 1 / -1; }
.field-label { font-size: 12px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
.tag-editor .panel-tags.editable { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: #fff; align-items: center; }
.tag-editor .panel-tags.editable input { border: 0; outline: none; font: inherit; font-size: 13px; min-width: 140px; flex: 1; padding: 2px 4px; }
.tag-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag-suggestions button { border: 1px dashed #c2c4cb; background: transparent; border-radius: 999px; padding: 2px 10px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.tag-suggestions button:hover { border-color: var(--accent); color: var(--accent); }
.customer-merge-hint { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.customer-merge { margin-top: 12px; }
@media (max-width: 900px) {
  .customers-layout.has-profile { grid-template-columns: 1fr; }
  .customers-layout.has-profile .customers-directory { display: none; }
  .customer-row { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
  .customer-row-stats { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .customer-row-chevron { grid-column: 3; grid-row: 1; }
  .customer-row .tag.warn { display: none; }
  .customer-history li > button { grid-template-columns: 44px minmax(0, 1fr) auto; }
}

/* ---------- Customer picker in the booking form ---------- */
.customer-picker { grid-column: 1 / -1; display: grid; gap: 8px; min-width: 0; max-width: 100%; }
.customer-picker .workspace-form-grid { min-width: 0; }
.customer-picker input { min-width: 0; max-width: 100%; }
.customer-picker.picked {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfd2e0;
  background: #f4f5f8;
  border-radius: 12px;
  padding: 10px 12px;
}
.customer-picker-main { display: grid; gap: 1px; min-width: 0; }
.customer-picker-main strong { font-size: 14px; }
.customer-picker-main small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-picker-head { display: flex; justify-content: space-between; align-items: center; }
.customer-picker.new { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #f9f9fb; }
.customer-picker-results {
  list-style: none;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 2px;
  max-height: 280px;
  overflow: auto;
}
.customer-picker-results li.workspace-footnote { padding: 8px 10px; margin: 0; }
.customer-picker-results button {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px 10px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.customer-picker-results button.active,
.customer-picker-results button:hover { background: var(--sage); }
.customer-picker-results button:focus-visible { outline: 2px solid var(--accent); }
.customer-picker-side { color: var(--muted); font-size: 11px; white-space: nowrap; }
.customer-picker-add button { color: var(--accent); font-weight: 600; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.customer-duplicate { margin: 0; font-size: 12px; color: #6b5626; background: #fbf5e4; border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.customer-picker-guard { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.share-editor { display: grid; gap: 8px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.has-profile .customers-directory { position: sticky; top: 16px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
.has-profile .customer-list { overflow: auto; flex: 1 1 auto; padding-right: 2px; }
.customers-search > svg { flex: 0 0 auto; }
.customers-search input::placeholder { color: #7c7f8b; }
label.customers-search { flex-direction: row; gap: 8px; font-weight: 400; min-width: 0; max-width: 100%; box-sizing: border-box; }
label.customers-sort { flex-direction: row; }
.customer-check, .series-toggle, .panel-radio label, .series-dates label { flex-direction: row; font-weight: 500; }
.panel-advanced summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.panel-advanced[open] summary { margin-bottom: 8px; }
.customer-picked-note { margin: 0; font-size: 12px; color: var(--accent-dark); background: #eceef5; border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---------- Studios (services + team) ---------- */
.plum { background: #ece4f1; color: #5a3d6e; }
.slate { background: #e6eaee; color: #3f4f5e; }
.calendar-event.plum, .week-card.plum { border-color: #a98cbd; background: #f1eaf5; }
.calendar-event.slate, .week-card.slate { border-color: #8fa1b3; background: #edf1f4; }
.studio { display: grid; gap: 20px; align-items: start; }
.studio.has-detail { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
.studio-list { min-width: 0; }
.studio.has-detail .studio-list { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow: auto; }
.studio-detail { min-width: 0; }
.studio-toggle { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.studio-category { margin-top: 14px; }
.studio-category h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.studio-category h3 small { background: #ecedf2; border-radius: 999px; padding: 0 7px; font-size: 11px; }
.service-cards, .team-cards, .addon-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.service-card, .team-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.service-card:hover, .team-card:hover { border-color: #b9bdcc; box-shadow: 0 4px 14px rgba(24, 27, 42, 0.06); }
.service-card:focus-visible, .team-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.service-card.selected, .team-card.selected { background: #f4f5f8; box-shadow: inset 0 0 0 1px var(--accent); }
.service-card.inactive, .team-card.inactive { opacity: 0.7; }
.service-card.sage { border-left-color: #72a079; }
.service-card.sand { border-left-color: #bcad7b; }
.service-card.blue { border-left-color: #8891b7; }
.service-card.clay { border-left-color: #b7a08b; }
.service-card.plum { border-left-color: #a98cbd; }
.service-card.slate { border-left-color: #8fa1b3; }
.service-card-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.service-card-head strong { font-size: 14px; }
.service-card-desc { color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card-meta { font-size: 12px; color: var(--muted); }
.service-card-meta strong { color: var(--ink); }
.studio-addons { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.studio-addons h3 { margin: 0; font-size: 14px; }
.addon-chips { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.addon-chip { width: 100%; text-align: left; border: 1px dashed #c2c4cb; border-radius: 10px; background: #f9f9fb; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; display: grid; gap: 2px; }
.addon-chip:hover { border-color: var(--accent); }
.addon-chip strong { font-size: 13px; }
.addon-chip small { color: var(--muted); font-size: 11px; }
.addon-chip.inactive { opacity: 0.6; }
.studio-detail-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 14px; }
.studio-detail-head h2 { margin: 0 0 2px; font-size: 22px; }
.studio-detail-head p { margin: 0; }
.service-swatch { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; }
.service-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.service-dot.sage { background: #72a079; } .service-dot.sand { background: #bcad7b; } .service-dot.blue { background: #8891b7; } .service-dot.clay { background: #b7a08b; } .service-dot.plum { background: #a98cbd; } .service-dot.slate { background: #8fa1b3; }
.studio-form { display: grid; gap: 14px; margin-top: 14px; }
.studio-fieldset { display: grid; gap: 14px; border: 0; padding: 0; margin: 0; min-width: 0; }
.workspace-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workspace-field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.workspace-field > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.workspace-field input, .workspace-field textarea, .workspace-field select { font: inherit; font-size: 13px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; min-width: 0; }
.workspace-field textarea { resize: vertical; }
.workspace-field.narrow { max-width: 220px; }
.colour-picker { border: 0; padding: 0; margin: 0; }
.colour-picker legend { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; padding: 0; }
.colour-picker-row { display: flex; gap: 8px; }
.colour-swatch { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; position: relative; border: 2px solid transparent; flex-direction: row !important; }
.colour-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.colour-swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.colour-swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.studio-switches { display: grid; gap: 8px; }
.switch-row { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 500; }
.switch-row > span { display: grid; gap: 1px; }
.switch-row strong { font-size: 13px; }
.switch-row small { color: var(--muted); font-size: 12px; font-weight: 400; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: 0 0 auto; cursor: pointer; }
.switch input { position: absolute; inset: 0; z-index: 1; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: #d3d5db; border-radius: 11px; transition: background 0.15s; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; top: 2px; left: 2px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rule-matrix { margin-top: 14px; display: grid; gap: 12px; }
.matrix-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.matrix-table th, .matrix-table td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.matrix-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.matrix-table tr.off td, .matrix-table tr.off th { color: var(--muted); }
.matrix-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.matrix-input { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; background: #fff; }
.matrix-input input { border: 0; width: 72px; padding: 7px 0; font: inherit; font-size: 13px; outline: none; background: transparent; font-variant-numeric: tabular-nums; }
.matrix-input input:disabled { color: #adb0b9; }
.matrix-input span { color: var(--muted); font-size: 12px; }
.matrix-input:focus-within { border-color: var(--accent); }
.matrix-default { color: #656874; font-size: 11px; }
.matrix-footer { display: grid; gap: 8px; }
.team-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; border-left-width: 1px; }
.team-card-main { display: grid; gap: 2px; min-width: 0; }
.team-card-main strong { font-size: 14px; }
.team-card-main small { color: var(--muted); font-size: 12px; }
.team-card-side { display: grid; justify-items: end; gap: 2px; }
.team-card-side small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.team-card-side .team-status { color: var(--ink); font-weight: 600; }
.team-card-side .team-status.off { color: var(--muted); font-weight: 500; }
.team-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.team-photo.large { width: 60px; height: 60px; }
.avatar.large { width: 56px; height: 56px; font-size: 18px; }
.hours-strip { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hours-strip li { background: #f2f3f6; border-radius: 10px; padding: 8px 6px; display: grid; justify-items: center; gap: 2px; font-size: 12px; text-align: center; }
.hours-strip li strong { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.hours-strip li span { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours-strip li small { color: var(--muted); font-size: 10px; }
.hours-strip li.off { background: repeating-linear-gradient(135deg, transparent 0 6px, #ecedf1 6px 7px), #f8f8fa; color: #8b8e99; }
.studio-schedule { display: grid; gap: 12px; margin-top: 8px; }
.studio-performance { display: grid; gap: 14px; margin-top: 14px; }
.studio-addon-list ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.studio-addon-list li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; justify-content: space-between; }
.studio-addon-list small { color: var(--muted); }
.workspace-success { color: var(--accent-dark); font-size: 13px; margin: 0; }
@media (max-width: 900px) {
  .studio.has-detail { grid-template-columns: 1fr; }
  .studio.has-detail .studio-list { display: none; }
  .workspace-form-grid.three { grid-template-columns: 1fr 1fr; }
  .hours-strip { grid-template-columns: repeat(4, 1fr); }
  .matrix-table thead { display: none; }
  .matrix-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .matrix-table td, .matrix-table th { border: 0; padding: 0; }
  .matrix-table th[scope="row"] { grid-column: 1; }
  .matrix-table td:nth-child(2) { grid-column: 2; justify-self: end; }
  .matrix-table td:nth-child(3), .matrix-table td:nth-child(4) { grid-column: span 1; }
  .matrix-table td:nth-child(5) { grid-column: 1 / -1; }
}
.popular-pill { display: inline-block; margin-left: 6px; font-style: normal; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; background: #e9f1e9; color: #2c5a3e; padding: 1px 7px; border-radius: 999px; vertical-align: middle; }
.barber-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: inherit; position: absolute; inset: 0; }
.barber-bio { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.barber-skills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.barber-skills em { font-style: normal; font-size: 11px; background: #ecedf2; color: #3d4254; padding: 1px 7px; border-radius: 999px; }
.service-thumb.plum { background: #ece4f1; color: #5a3d6e; } .service-thumb.slate { background: #e6eaee; color: #3f4f5e; }
.barber-portrait.plum { background: #ece4f1; color: #5a3d6e; } .barber-portrait.slate { background: #e6eaee; color: #3f4f5e; }
/* Studio inline status with recovery actions */
.studio-status { display: grid; gap: 8px; }
.studio-status p { margin: 0; }
.studio-status .panel-actions-row { margin: 0; }

/* ---------- Entry: one project, every surface ---------- */
.demo-surfaces { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 8px; }
.demo-surfaces li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.demo-surfaces li > div { display: grid; gap: 2px; min-width: 0; }
.demo-surfaces strong { font-size: 14px; }
.demo-surfaces small { color: var(--muted); font-size: 12px; }
.demo-surface-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--ollo-soft); color: var(--accent-dark); display: grid; place-items: center; }
.demo-surface-note { color: var(--muted); font-size: 12px; white-space: nowrap; }
.demo-surfaces .button { white-space: nowrap; text-decoration: none; }
@media (max-width: 600px) {
  .demo-surfaces li { grid-template-columns: 36px minmax(0, 1fr); }
  .demo-surfaces li > .button, .demo-surfaces li > .demo-surface-note { grid-column: 2; justify-self: start; }
}
details.workspace-welcome { padding: 14px 18px; }
details.workspace-welcome > summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; list-style: none; }
details.workspace-welcome > summary::-webkit-details-marker { display: none; }
details.workspace-welcome[open] > summary { margin-bottom: 10px; }
details.workspace-welcome > svg { display: none; }

/* ---- Front door (sign in / create shop) ---- */
/* Front door: brand panel (dark green) beside the form. Mirrors the marketing site. */
.workspace-signed-out { min-height: 100vh; display: grid; background: var(--canvas); }
.workspace-signed-out .workspace-main { padding: 0; max-width: none; }
.auth-screen { min-height: 100dvh; display: grid; grid-template-columns: minmax(320px, 44%) 1fr; align-items: start; }
.auth-brand { position: sticky; top: 0; height: 100dvh; box-sizing: border-box; background: var(--ollo, #0b1a17); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; right: -30%; bottom: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 213, 194, 0.16), transparent 72%); pointer-events: none; }
.auth-brand-logo { height: 48px; width: auto; }
.auth-brand-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ollo-green, #a8d5c2); margin: 0 0 16px; }
.auth-brand h1 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.auth-brand-tag { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #a8b3ae; margin: 0; }
.auth-brand-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; color: #d7ded9; }
.auth-brand-points li { display: flex; align-items: center; gap: 10px; }
.auth-brand-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ollo-green, #a8d5c2); flex: none; }
.auth-main { display: grid; grid-template-columns: minmax(0, 520px); gap: 20px; align-content: center; justify-content: center; padding: 40px 24px; }
.auth-screen .auth-card { max-width: none; margin: 0; padding: 32px; border-radius: var(--r-xl, 18px); box-shadow: 0 20px 60px rgba(11, 26, 23, 0.06); }
.auth-card > .brand { margin-bottom: 22px; }
.auth-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); margin-bottom: 18px; }
.auth-tabs [role="tab"] { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.auth-demo { border-style: dashed; }
@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand { position: static; height: auto; padding: 28px 24px; gap: 22px; }
  .auth-brand-points { display: none; }
  .auth-brand h1 { font-size: 28px; }
  .auth-main { padding: 20px 16px 40px; }
}
.auth-switch { margin-top: 14px; }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: var(--accent, #4f5bd5); text-decoration: underline; cursor: pointer; }
.auth-demo h3 { margin: 10px 0 6px; }
.auth-demo .demo-actions { display: grid; gap: 8px; margin-top: 12px; }
.auth-demo .demo-actions .button { justify-content: center; text-align: center; }
@media (max-width: 900px) { .auth-screen { grid-template-columns: minmax(0, 1fr); } }

/* ---- Settings: weekly opening hours ---- */
.week-hours { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 12px; margin: 6px 0 14px; display: grid; gap: 6px; }
.week-hours legend { font-weight: 600; font-size: 13px; padding: 0 6px; }
.week-hours-row { display: grid; grid-template-columns: 130px 1fr auto 1fr; align-items: center; gap: 8px; }
.week-hours-row[data-open="false"] { grid-template-columns: 130px 1fr; }
.week-hours-day { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.week-hours-row input[type="time"] { min-width: 0; }
.week-hours-dash { color: var(--muted); text-align: center; }
.week-hours-closed { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  /* Phone: day name on its own line, the two clocks side by side below it, so "09:00 AM" never clips. */
  .week-hours { gap: 10px; }
  .week-hours-row { grid-template-columns: 1fr auto 1fr; row-gap: 6px; }
  .week-hours-row .week-hours-day { grid-column: 1 / -1; }
  .week-hours-row[data-open="false"] { grid-template-columns: 1fr; }
  .week-hours-row input[type="time"] { width: 100%; padding-left: 8px; padding-right: 8px; font-size: 14px; }
}

/* ---- New booking: slot grid ---- */
.slot-grid { display: grid; gap: 10px; margin: 8px 0 10px; }
.slot-grid-group h5 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.slot-grid-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-chip { border: 1px solid var(--line); background: var(--surface, #fff); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; cursor: pointer; min-width: 64px; }
.slot-chip:hover { border-color: var(--ink); }
.slot-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.booking-time-fallback { margin: 4px 0 8px; }
.booking-time-fallback > summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.workspace .week-hours .week-hours-day { flex-direction: row; align-items: center; gap: 8px; }
.workspace .week-hours .week-hours-day input[type="checkbox"] { margin: 0; width: 18px; height: 18px; }

/* ---- Barber weekly hours dialog ---- */
.weekly-hours { display: grid; gap: 10px; }
.weekly-hours-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.weekly-hours-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.weekly-hours-row > legend { float: left; font-weight: 600; width: 100%; margin-bottom: 4px; }
.weekly-hours-row[data-working="false"] { color: var(--muted); }
.weekly-hours-times { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.weekly-hours-times .workspace-field { margin: 0; }
.weekly-hours-times .week-hours-dash { padding-bottom: 12px; }
@media (max-width: 640px) { .weekly-hours-row { grid-template-columns: 1fr; } .weekly-hours-head { flex-direction: column; align-items: flex-start; } }

/* ---- Services: empty state + category rename ---- */
.studio-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 36px 20px; border: 1px dashed var(--line); border-radius: 16px; margin: 12px 0; color: var(--muted); }
.studio-empty h3 { margin: 4px 0 0; color: var(--ink); }
.studio-empty p { max-width: 46ch; margin: 0 0 6px; line-height: 1.55; }
.studio-category-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.studio-rename-link { font-size: 12px; opacity: 0; transition: opacity .12s; }
.studio-category:hover .studio-rename-link, .studio-rename-link:focus-visible { opacity: 1; }
.studio-rename { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 400; }
.studio-rename input { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; min-width: 160px; }


/* Shop page editor: stock covers + theme pickers */
.stock-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; }
.stock-cover { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--canvas); cursor: pointer; text-align: left; font: inherit; color: var(--ink); display: grid; }
.stock-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stock-cover span { font-size: 11px; padding: 5px 8px; color: var(--muted); }
.stock-cover:hover { border-color: var(--line-2); }
.stock-cover.selected { border-color: var(--accent); }
.stock-cover.selected span { color: var(--accent-dark); font-weight: 600; }
.theme-editor { display: grid; gap: 16px; grid-column: 1 / -1; }
.theme-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.theme-font { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.theme-font:hover { border-color: var(--line-2); }
.theme-font.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ollo-soft); }
.theme-font b { font-family: var(--sp-display, inherit); font-weight: var(--sp-display-weight, 700); font-size: 26px; line-height: 1; width: 40px; text-align: center; letter-spacing: var(--sp-display-tracking, 0); }
.theme-font span { display: grid; gap: 1px; min-width: 0; }
.theme-font strong { font-size: 13px; }
.theme-font small { font-size: 11px; color: var(--muted); }
.theme-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.theme-row .segmented { display: inline-flex; padding: 3px; background: var(--canvas); border-radius: 10px; gap: 2px; }
.theme-row .segmented button { flex: 1; min-height: 34px; padding: 0 12px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.theme-row .segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); font-weight: 600; }

/* Transparent logos in the workspace pill and booking header: contain, no white box. */
img.avatar-ink.avatar-logo, img.shop-emblem.shop-logo, img.mini-shop-emblem.shop-logo { object-fit: contain; background: transparent; border: 0; padding: 0; box-shadow: none; }
img.avatar-ink.avatar-logo { border-radius: 8px; width: auto; max-width: 96px; height: 32px; }
.shop-header img.shop-emblem.shop-logo { width: auto; max-width: 140px; height: 40px; border-radius: 0; }

/* Settings → Messages */
.outbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.outbox-head .segmented { display: inline-flex; padding: 3px; background: var(--canvas); border-radius: 10px; gap: 2px; }
.outbox-head .segmented button { min-height: 30px; padding: 0 10px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.outbox-head .segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); font-weight: 600; }
.outbox-error { font-size: 12px; margin: 4px 0 0; }
.test-message-form h3, .workspace-form > h3 { margin: 0 0 4px; font-size: 15px; }
.email-preview { width: min(680px, 96vw); max-height: 90vh; display: flex; flex-direction: column; }
.email-preview iframe { flex: 1; width: 100%; min-height: 60vh; border: 0; background: #f5f6fb; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.email-preview .modal-header strong { font-size: 14px; }

/* Messages panel: never wider than the phone */
.messaging-form, .test-message-form, .outbox, .outbox-head { max-width: 100%; min-width: 0; }
.outbox-head { flex-wrap: wrap; gap: 8px; }
.outbox-head .segmented { flex-wrap: wrap; max-width: 100%; }
.outbox-row, .outbox-row * { min-width: 0; overflow-wrap: anywhere; }
.messaging-form input, .test-message-form input, .messaging-form select, .test-message-form select { max-width: 100%; }

/* ---- Payments (Stripe Connect) ---- */
.payments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0; }
.payments-card h3 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); margin: 0 0 4px; }
.payments-card .workspace-footnote { margin: 0 0 10px; }
.payments-card .status-pill { margin-top: 4px; white-space: normal; }
.payments-card .panel-actions-row { margin-top: 10px; }
.payments-figures { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0 0; }
.payments-figures div { display: contents; }
.payments-figures dt { color: var(--muted); font-size: var(--fs-12); }
.payments-figures dd { margin: 0; font-weight: 600; text-align: right; }
.payments-barbers { margin-top: 20px; }
.payments-barbers h3 { font-size: var(--fs-14); margin: 0 0 4px; }
.payments-barbers .workspace-footnote { margin: 0; }
.payments-barber-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.payments-barber-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.payments-barber-list li > div:first-child { display: flex; flex-direction: column; min-width: 0; flex: 1 1 140px; }
.payments-barber-list li small { color: var(--muted); overflow-wrap: anywhere; }
.payments-barber-list .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.payments-form { margin-top: 20px; }
.payments-form h3 { font-size: var(--fs-14); margin: 0 0 10px; }
.payments-form .workspace-form-grid > .workspace-field { width: 100%; }
.payments-form .workspace-field.narrow { max-width: none; }
@media (max-width: 720px) {
  .payments-form .workspace-form-grid { grid-template-columns: 1fr; }
}
.workspace-toggle { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; grid-column: 1 / -1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.workspace-toggle input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--accent); }
.workspace-toggle > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.workspace-toggle strong { font-size: var(--fs-14); font-weight: 600; }
.workspace-toggle small { color: var(--muted); font-size: var(--fs-12); line-height: 1.45; }
.workspace-toggle:has(input:checked) { border-color: var(--accent); background: var(--accent-soft, #eef0ff); }
.workspace-toggle:has(input:disabled) { opacity: 0.7; cursor: default; }
.pay-settlement { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
.pay-settlement-col { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.pay-settlement-col h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: var(--fs-13); }
.pay-settlement-col dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 8px 0 0; }
.pay-settlement-col dl div { display: contents; }
.pay-settlement-col dt { color: var(--muted); font-size: var(--fs-12); }
.pay-settlement-col dd { margin: 0; font-weight: 600; text-align: right; }
.pay-settlement-warn { display: flex; gap: 6px; align-items: flex-start; color: var(--note); margin-top: 8px; }
.barber-payout { margin-top: 16px; }
.wallet-lines { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0; }
.wallet-lines div { display: contents; }
.wallet-lines dt { color: var(--muted); font-size: var(--fs-12); }
.wallet-lines dd { margin: 0; font-weight: 600; text-align: right; }
.wallet-lines dd small { display: block; font-weight: 400; color: var(--muted); }
.workspace-field.inline { flex-direction: row; align-items: center; gap: 8px; }
.transfer-list { list-style: none; padding: 0; margin: 8px 0 0; }
.transfer-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--line); font-size: var(--fs-12); }
.transfer-list li span { flex: 1; }
.transfer-list li small { color: var(--muted); }

/* ---- Card at the chair ---- */
.checkout-card-cta { margin: 10px 0 4px; }
.card-at-chair { padding: 12px; border: 1px dashed var(--line); border-radius: var(--r-md); background: var(--surface); }
.card-pick { display: grid; gap: 8px; }
.card-option { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2, #fff); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.card-option:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft, #e6f0eb); }
.card-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-option:disabled { opacity: .55; cursor: not-allowed; }
.card-option > svg { margin-top: 2px; color: var(--accent); }
.card-option span { display: grid; gap: 2px; }
.card-option b { font-size: 14px; font-weight: 600; }
.card-option small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.card-link-view, .card-reader-view { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.card-qr { width: min(240px, 70vw); height: auto; border-radius: var(--r-md); background: #fff; padding: 8px; border: 1px solid var(--line); }
.reader-add { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.reader-add .workspace-field { flex: 1 1 180px; }
.reader-add .workspace-field.narrow { max-width: none; }
.reader-add > button { flex: 0 0 auto; min-height: 40px; }
@media (max-width: 720px) {
  .reader-add .workspace-field { flex: 1 1 100%; }
  .reader-add > button { flex: 1 1 100%; }
}

/* ---- Customer import ---- */
.import-modal { max-width: 760px; width: min(760px, 96vw); max-height: 90vh; overflow: auto; }
.import-file { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r-md); cursor: pointer; margin: 12px 0; background: var(--surface); }
.import-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.import-file span { font-weight: 600; }
.import-mapping { margin: 8px 0; }
.import-mapping-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 12px; margin-top: 8px; }
.import-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.import-table-wrap { max-height: 40vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.import-table { width: 100%; border-collapse: collapse; font-size: var(--fs-12); }
.import-table th, .import-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.import-table th { position: sticky; top: 0; background: var(--surface); font-weight: 600; }
.import-table tr[data-action="invalid"] td { color: var(--muted); }
.import-table small { color: var(--muted); display: block; }

/* ---- Calendar: per-day hours chip, drag to move ---- */
.staff-column-heading { flex-wrap: wrap; row-gap: 4px; }
.staff-column-heading > div:not(.avatar) { min-width: 0; flex: 1 1 60px; }
.staff-column-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-hours-chip { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 2px 8px; white-space: nowrap; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: var(--fs-11); cursor: pointer; }
.staff-hours-chip:hover { color: var(--ink); border-color: var(--ink); }
.staff-hours-chip.edited { border-color: var(--accent); color: var(--accent-dark); background: var(--ollo-soft); }
.staff-hours-chip.off { text-decoration: line-through; }
/* ---- Calendar drag, snap, hover, overlap ---- */
.calendar-event[data-draggable="true"] { cursor: grab; touch-action: pan-y; }
.calendar-event[data-dragging="true"] { opacity: 0.35; cursor: grabbing; }
body.is-dragging-appointment, body.is-dragging-appointment * { cursor: grabbing !important; user-select: none; }
.calendar-board.dragging .timetable-slot { pointer-events: none; }
.timetable-slot[data-drop="over"] { outline: 2px dashed var(--accent); outline-offset: -2px; background: var(--ollo-soft); }
/* Greyed-but-clickable: soft reasons keep the hatch but invite the click. */
.workspace .timetable-slot.blocked.soft { cursor: pointer; }
.workspace .timetable-slot.blocked.soft:hover { background: repeating-linear-gradient(135deg, #e9ebf3, #e9ebf3 5px, #dfe2ee 5px, #dfe2ee 6px); }
.workspace .timetable-slot.blocked.soft:hover span::after { content: " \00b7 book anyway"; font-weight: 400; color: var(--accent); }
.workspace .timetable-slot.occupied:not(:disabled) { cursor: pointer; }
.workspace .timetable-slot.occupied:not(:disabled):hover span::after { content: " \00b7 alongside"; color: var(--accent); }
.workspace .timetable-slot:disabled { cursor: not-allowed; }
/* Hover time label: one per column, follows the pointer in 15-min steps. */
.slot-hover { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--accent); pointer-events: none; z-index: 4; line-height: 0; }
.slot-hover > b { position: absolute; top: -9px; left: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: var(--fs-11); font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
/* Ghost: the card that follows the drag. Its top edge = the new start. */
.calendar-drop-ghost { position: absolute; left: 4px; right: 4px; border: 2px solid var(--accent); border-radius: var(--r-md); background: color-mix(in srgb, var(--ollo-soft) 82%, #fff); padding: 4px 8px; font-size: var(--fs-11); pointer-events: none; z-index: 6; display: grid; align-content: start; gap: 1px; box-shadow: 0 8px 22px rgba(24, 27, 42, 0.18); animation: snap-tick 90ms ease-out; }
.calendar-drop-ghost .ghost-time { position: absolute; top: -11px; left: 8px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: var(--fs-11); font-variant-numeric: tabular-nums; line-height: 1.5; }
.calendar-drop-ghost > span { margin-top: 10px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-drop-ghost small { color: var(--muted); }
.calendar-drop-ghost.soft { border-style: dashed; border-color: #b8860b; background: #fff8e6; }
.calendar-drop-ghost.soft .ghost-time { background: #b8860b; }
.calendar-drop-ghost.refused { border-color: #c0392b; background: #fdecea; }
.calendar-drop-ghost.refused .ghost-time { background: #c0392b; }
@keyframes snap-tick { from { transform: scale(1.015); } to { transform: scale(1); } }
/* Overlaps: cards share the column width. */
.calendar-event.overlapping { box-shadow: 0 0 0 1px #fff; }
.calendar-event.overlapping strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-event[data-lanes="3"] span, .calendar-event[data-lanes="4"] span { display: none; }
.method-tile small { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-11); }
.checkout .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checkout .method-tile { padding: 12px 10px; min-height: 72px; }
.checkout .method-tile[aria-pressed="true"] { border-color: var(--accent-dark); background: var(--ollo-soft); box-shadow: inset 0 0 0 1px var(--accent-dark); }
.checkout-actions .button.primary, .checkout-actions > button:first-child { min-height: 46px; font-size: var(--fs-14); }

/* Narrow columns (phone): chip takes the full second row; takings line hidden to keep the header two lines. */
@media (max-width: 720px) {
  .staff-column-heading { padding: 8px 8px; gap: 6px; }
  .staff-column-heading div > span { display: none; }
  .staff-hours-chip { flex: 1 1 100%; margin-left: 0; justify-content: center; }
}

/* ---- Edit service / price / time in the appointment panel ---- */
.panel-items .panel-items-edit { justify-content: flex-start; padding-top: 6px; }
.panel-inline-action { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--fs-12); font-weight: 600; cursor: pointer; }
.panel-inline-action:hover { text-decoration: underline; }
.panel-inline-action:disabled { opacity: 0.5; cursor: default; }
.panel-edited { color: var(--muted); font-weight: 500; }
.panel-items-editor { display: grid; gap: 10px; }
.panel-items-editor .panel-reason input, .panel-items-editor .panel-reason select { font: inherit; font-size: 13px; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; min-width: 0; }
.panel-items-editor .panel-reason em { font-style: normal; color: #b8860b; }
.items-editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.items-stepper { display: inline-flex; align-items: center; gap: 4px; }
.items-stepper button { width: 32px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 16px; cursor: pointer; }
.items-stepper input { width: 60px; text-align: center; font: inherit; font-size: 13px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 8px; -moz-appearance: textfield; }
.items-stepper input::-webkit-inner-spin-button, .items-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.items-stepper small { color: var(--muted); }
.items-addons { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 10px; margin: 0; display: grid; gap: 6px; }
.items-addons legend { font-size: var(--fs-12); font-weight: 600; color: var(--muted); padding: 0 4px; }
.items-addon { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.items-addon label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.items-addon small { color: var(--muted); }
.items-addon-price { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); }
.items-addon-price input { width: 64px; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.items-editor-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; }
.items-editor-total strong { font-size: var(--fs-16); }
.notice.success { border-color: #b7dfc3; background: #eef9f1; }
@media (max-width: 480px) { .items-editor-row { grid-template-columns: 1fr; } }

/* ---- Blocked time (Fresha "Add blocked time"): grey hatched card with the reason ---- */
.workspace .calendar-block { position: absolute; left: 4px; right: 4px; z-index: 1; display: flex; align-items: flex-start; border-radius: 6px; border: 1px dashed #9a9eae; background: repeating-linear-gradient(135deg, #f0f1f5, #f0f1f5 6px, #e4e6ee 6px, #e4e6ee 7px); color: #3f4459; overflow: hidden; }
.workspace .calendar-block.kind-sick { border-color: #d29a8f; background: repeating-linear-gradient(135deg, #fbf0ee, #fbf0ee 6px, #f3e0dc 6px, #f3e0dc 7px); }
.workspace .calendar-block.kind-lunch { border-color: #c9b27f; background: repeating-linear-gradient(135deg, #faf6ea, #faf6ea 6px, #f1eadb 6px, #f1eadb 7px); }
.workspace .calendar-block.kind-training { border-color: #8ea6c9; background: repeating-linear-gradient(135deg, #eef3fb, #eef3fb 6px, #e1e8f4 6px, #e1e8f4 7px); }
.workspace .calendar-block-body { flex: 1 1 auto; min-width: 0; text-align: left; background: none; border: 0; padding: 4px 8px; color: inherit; font: inherit; display: grid; gap: 1px; cursor: default; }
.workspace .calendar-block-body strong { display: flex; align-items: center; gap: 4px; font-size: var(--fs-11); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace .calendar-block-body span { font-size: var(--fs-11); color: var(--muted); font-variant-numeric: tabular-nums; }
.workspace .calendar-block-remove { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 2px 0 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.7); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .12s; }
.workspace .calendar-block:hover .calendar-block-remove, .workspace .calendar-block-remove:focus-visible { opacity: 1; }
.workspace .calendar-block-remove:hover { background: #fff; color: #b3261e; }
.workspace .legend-block { background: repeating-linear-gradient(135deg, #f0f1f5, #f0f1f5 3px, #9a9eae 3px, #9a9eae 4px); }
/* Appointments sit above blocks; slot cells beneath both. */
.workspace .timetable-slot.blocked.soft[title^="Blocked"] { background-image: none; }
@media (hover: none) { .workspace .calendar-block-remove { opacity: 1; } }

/* ---- Per-barber ⋯ menu in the column heading ---- */
.staff-menu { position: relative; flex: 0 0 auto; }
.staff-menu-button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid transparent; background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.staff-menu-button:hover, .staff-menu-button[aria-expanded="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); }
.staff-menu-list { position: absolute; top: calc(100% + 4px); right: 0; z-index: 30; min-width: 190px; padding: 4px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px rgba(24, 27, 42, 0.16); display: grid; }
.staff-menu-list button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.staff-menu-list button:hover, .staff-menu-list button:focus-visible { background: var(--surface); }
.staff-menu-list button:disabled { color: var(--muted); cursor: not-allowed; opacity: 0.6; }
.staff-column-heading .staff-hours-chip { margin-left: auto; }
.staff-column-heading .staff-hours-chip + .staff-menu { margin-left: 2px; }
@media (max-width: 767px) { .staff-column-heading .staff-hours-chip { flex: 1 1 auto; } .staff-column-heading .staff-menu { flex: 0 0 auto; } }

/* ---- Scheduled team dropdown ---- */
.team-picker { position: relative; }
.team-picker-list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 240px; padding: 6px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px rgba(24, 27, 42, 0.16); display: grid; gap: 2px; }
.team-picker-list header { padding: 6px 10px 4px; font-size: var(--fs-11); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.team-picker-list label { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.team-picker-list label:hover { background: var(--surface); }
.team-picker-list label.off { color: var(--muted); }
.team-picker-list label.off .avatar { filter: grayscale(1); opacity: .6; }
.team-picker-list label small { margin-left: auto; color: var(--muted); font-size: var(--fs-11); }
.team-picker-list .avatar { width: 22px; height: 22px; font-size: 9px; }
.team-picker-list input { accent-color: var(--accent); }
.team-picker-list footer { padding: 4px 6px 2px; display: flex; justify-content: flex-end; }

/* ---- Block dialog ---- */
.block-dialog .workspace-form-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.block-quick, .block-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.block-chip { padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: var(--fs-12); cursor: pointer; }
.block-chip:hover { border-color: var(--ink); }
.block-chip.on, .block-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--ollo-soft); color: var(--accent-dark); font-weight: 600; }
.block-affected { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.block-affected-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.block-affected-row[data-action="CANCEL"] { border-color: #e6b8b3; background: #fdf6f5; }
.block-affected-row[data-action="MOVE"] { border-color: #b9cfe8; background: #f4f8fd; }
.block-affected-row[data-ok="false"] { border-color: #e6b8b3; background: #fdf6f5; }
.block-affected-who { display: grid; gap: 2px; min-width: 0; }
.block-affected-who strong { font-size: 13px; }
.block-affected-who span { font-size: var(--fs-12); color: var(--muted); }
.block-channel { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-11); color: var(--muted); }
.block-actions { align-self: start; }
.block-actions button[aria-checked="true"] { background: #fff; box-shadow: 0 1px 4px #19332916; color: #21273e; font-weight: 600; }
.block-actions button:disabled { opacity: .45; cursor: not-allowed; }
.block-affected-detail { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; font-size: var(--fs-12); color: var(--ink); }
.block-affected-detail > span { display: inline-flex; align-items: center; gap: 5px; }
.block-affected-detail .workspace-check { margin: 0; font-size: var(--fs-12); }
.block-outcome { display: grid; gap: 12px; }
@media (max-width: 600px) { .block-dialog .workspace-form-grid { grid-template-columns: 1fr 1fr; } .block-dialog .workspace-form-grid > :first-child { grid-column: 1 / -1; } .block-affected-row { grid-template-columns: 1fr; } .block-actions { justify-self: start; } }

/* ---- Phase 4: resize by the bottom edge, undo, card icons ---- */
.calendar-event .resize-handle { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; cursor: ns-resize; touch-action: none; }
.calendar-event .resize-handle::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: rgba(33, 39, 62, 0.25); opacity: 0; transition: opacity .12s; }
.calendar-event:hover .resize-handle::after, .calendar-event[data-resizing="true"] .resize-handle::after { opacity: 1; }
.calendar-event[data-resizing="true"] { box-shadow: 0 0 0 2px var(--accent), 0 8px 22px rgba(24, 27, 42, 0.18); z-index: 7; transition: none; }
body.is-dragging-appointment .calendar-event[data-resizing="true"], body.is-dragging-appointment .calendar-event[data-resizing="true"] * { cursor: ns-resize !important; }
.calendar-event .resize-label { position: absolute; right: 6px; bottom: -11px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: var(--fs-11); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; z-index: 8; animation: snap-tick 90ms ease-out; display: inline-flex; gap: 6px; align-items: center; }
.calendar-event .resize-label small { font-weight: 500; opacity: .9; }
.block-icons .deposit { color: #b8860b; }
.block-icons .regular { color: #c2410c; }
.workspace-success { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.undo-button { padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid var(--accent); background: #fff; color: var(--accent-dark); font: inherit; font-size: var(--fs-12); font-weight: 600; cursor: pointer; }
.undo-button:hover { background: var(--ollo-soft); }
.undo-button:disabled { opacity: .5; cursor: default; }

/* ---- First-run checklist ---- */
.setup-checklist { margin: 0 0 var(--s-4); padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--ollo-soft) 160%); box-shadow: var(--shadow-1); }
.setup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.setup-head h2 { font-size: var(--fs-16, 16px); font-weight: 700; margin: 0 0 2px; }
.setup-head p { margin: 0; color: var(--muted); font-size: 13px; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.setup-steps li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); }
.setup-steps li[data-done="true"] { opacity: .7; }
.setup-steps li[data-done="true"] strong { text-decoration: line-through; color: var(--muted); }
.setup-num { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
li[data-done="true"] .setup-num { background: var(--good); }
.setup-steps li div { display: grid; gap: 1px; min-width: 0; }
.setup-steps li strong { font-size: 14px; }
.setup-steps li span:not(.setup-num) { font-size: 12.5px; color: var(--muted); }
@media (max-width: 600px) { .setup-steps li { grid-template-columns: 28px 1fr; } .setup-steps li .button { grid-column: 2; justify-self: start; } }

/* ---- Shop setup wizard (/workspace/setup) ------------------------------------------------------ */
.setup-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 var(--s-4); padding: 14px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(135deg, #fff, var(--ollo-soft) 140%); box-shadow: var(--shadow-1); }
.setup-banner > div:first-child { display: grid; gap: 2px; min-width: 0; }
.setup-banner strong { font-size: 15px; }
.setup-banner span { font-size: 13px; color: var(--muted); }
.setup-banner-actions { display: flex; align-items: center; gap: 14px; }
.setup-wiz { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.setup-wiz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.setup-wiz-kicker { margin: 0 0 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.setup-wiz-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); letter-spacing: -.01em; }
.setup-wiz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.setup-wiz-steps li button { width: 100%; display: grid; gap: 6px; justify-items: center; padding: 8px 4px 10px; border: 0; border-radius: var(--r); background: transparent; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; border-bottom: 3px solid var(--line-2); }
.setup-wiz-steps li[data-current="true"] button { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.setup-wiz-steps li[data-done="true"] button { border-bottom-color: var(--good); }
.setup-wiz-steps li[data-skipped="true"] button { border-bottom-style: dashed; }
.setup-wiz-num { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink); }
li[data-current="true"] .setup-wiz-num { background: var(--ink); color: #fff; border-color: var(--ink); }
li[data-done="true"] .setup-wiz-num { background: var(--good); color: #fff; border-color: var(--good); }
.setup-wiz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
.setup-wiz-lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2, #3b3f4e); max-width: 62ch; }
.setup-wiz-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line-2); }
.setup-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.setup-wiz .workspace-field small.helper { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.4; }
/* kind / mode pickers */
.setup-kind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.setup-kind [role="radio"] { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.setup-kind [role="radio"] strong { font-size: 14px; }
.setup-kind [role="radio"] span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.setup-kind [role="radio"][aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ollo-soft); }
.auth-kind { display: flex; gap: 6px; flex-wrap: wrap; margin: -4px 0 8px; }
.auth-kind [role="radio"] { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-kind [role="radio"][aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
/* verification */
.setup-verify { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); }
.setup-verify-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; font-size: 14px; }
.setup-verify-row > span:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 180px; }
.setup-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.setup-code input { width: 120px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.setup-code code { padding: 2px 6px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
/* hours */
.setup-hours { display: grid; gap: 6px; }
.setup-hours-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); background: var(--surface); }
.setup-hours-row[data-off="true"] { opacity: .6; }
.setup-hours-day { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.setup-hours-times { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.setup-hours-times input { width: 110px; }
.setup-hours-quick { display: flex; gap: 14px; flex-wrap: wrap; padding: 6px 2px 0; font-size: 13px; }
.setup-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.setup-check input { margin-top: 3px; }
.setup-check small.helper { display: block; font-size: 12.5px; color: var(--muted); }
/* starter menu */
.setup-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.setup-menu li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 110px 90px 100px auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; }
.setup-menu li[data-picked="false"]:not([data-have="true"]) { opacity: .55; }
.setup-menu li[data-have="true"] { background: var(--surface); }
.setup-menu-pick { display: grid; place-items: center; }
.setup-menu-name { font-weight: 600; }
.setup-menu-cat { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.setup-menu-num { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.setup-menu-num input { width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.setup-menu input[disabled] { background: transparent; border-color: transparent; color: var(--ink); }
/* team */
.setup-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.setup-team > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 16px; padding: 12px 14px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #fff; }
.setup-team-who { display: grid; gap: 1px; min-width: 0; }
.setup-team-who strong { font-size: 14.5px; }
.setup-team-who span { font-size: 12.5px; color: var(--muted); }
.setup-team-state { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; justify-content: flex-end; }
.setup-invite, .setup-invite-link { grid-column: 1 / -1; display: grid; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--surface); }
.setup-invite-link { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.setup-invite-link input { font-size: 12.5px; font-family: ui-monospace, monospace; }
.setup-invite-link small { grid-column: 1 / -1; }
.setup-add { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 12px; align-items: end; padding: 12px 14px; border-radius: var(--r-lg); border: 1px dashed var(--line); }
/* messages */
.setup-msg { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.setup-phone { border-radius: 26px; background: #111318; padding: 14px 10px 18px; color: #fff; display: grid; gap: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.setup-phone-top { text-align: center; font-size: 12px; font-weight: 700; padding: 2px 0 8px; border-bottom: 1px solid rgba(255,255,255,.12); letter-spacing: .02em; }
.setup-phone-bubble { justify-self: start; max-width: 92%; padding: 9px 11px; border-radius: 16px 16px 16px 4px; background: #2a2d36; font-size: 12.5px; line-height: 1.4; word-break: break-word; }
.setup-msg-form { display: grid; gap: 12px; }
.setup-toggles { display: grid; gap: 8px; }
.setup-test { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 6px; }
.setup-test p { margin: 0; flex-basis: 100%; }
/* online */
.setup-slug { display: grid; gap: 12px; }
.setup-slug-input { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.setup-slug-input > span { padding: 0 0 0 12px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.setup-slug-input input { border: 0; box-shadow: none; flex: 1; min-width: 0; padding-left: 2px; }
.setup-slug-input svg { margin-right: 10px; color: var(--good); }
.setup-slug-input[data-ok="true"] { border-color: var(--good); }
.setup-slug-input[data-bad="true"] { border-color: var(--warn, #c0392b); }
.setup-share { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.setup-share img { border-radius: 10px; background: #fff; padding: 6px; border: 1px solid var(--line); }
.setup-share p { margin: 0 0 8px; }
.setup-share-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
/* payments */
.setup-money { display: flex; align-items: center; gap: 6px; }
.setup-money input { width: 110px; }
.setup-connect { display: grid; gap: 10px; justify-items: start; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.setup-connect p { margin: 0; }
/* done */
.setup-done-hero { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 10px 0 4px; }
.setup-done-hero h3 { margin: 4px 0 0; font-size: 22px; }
.setup-done-hero p { margin: 0; color: var(--muted); }
.setup-done-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.setup-done-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r); background: var(--surface); font-size: 14px; }
.setup-done-list li[data-ok="true"] svg { color: var(--good); }
.setup-done-list li[data-ok="false"] { color: var(--muted); }
/* auth additions */
.auth-invite-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 14px; }
.auth-invite-card img, .auth-invite-mark { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; }
.auth-invite-card > div { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.auth-invite-card strong { font-size: 15px; color: var(--ink); }
.auth-sent { display: grid; gap: 10px; justify-items: start; padding: 14px; border-radius: var(--r-lg); background: var(--surface); }
.auth-sent p { margin: 0; }
@media (max-width: 720px) {
  .setup-wiz-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
  .setup-wiz-steps li button span:last-child { display: none; }
  .setup-grid-2, .setup-kind, .setup-msg, .setup-share, .setup-add { grid-template-columns: 1fr; }
  .setup-hours-row { grid-template-columns: 1fr; gap: 6px; }
  .setup-menu li { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .setup-menu-cat, .setup-menu li .badge { display: none; }
  .setup-menu-num { grid-column: 2; justify-self: start; }
  .setup-team > li { grid-template-columns: 1fr; }
  .setup-team-state { justify-content: flex-start; }
  .setup-phone { max-width: 300px; }
  .setup-wiz-actions { justify-content: stretch; }
  .setup-wiz-actions .button { flex: 1; }
}
/* alerts */
.alerts-grid { display: grid; gap: 10px; }
.alerts-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--surface); }
.alerts-row > span { display: grid; gap: 1px; }
.alerts-row strong { font-size: 14px; }
.alerts-row small { font-size: 12.5px; color: var(--muted); }
.alerts-row .segmented button[disabled] { opacity: .4; cursor: not-allowed; }
@media (max-width: 600px) { .alerts-row { grid-template-columns: 1fr; } }

/* Booking form: how should we message you? (text / WhatsApp / email) */
.contact-pref {
  border: 1px solid #e6e7ee;
  border-radius: 8px;
  padding: 10px 12px 8px;
  margin: 0;
  min-width: 0;
}
.contact-pref legend {
  font-size: 12px;
  font-weight: 600;
  color: #3a3d4d;
  padding: 0 4px;
}
.contact-pref .filter-chips {
  margin-bottom: 6px;
}
.contact-pref .filter-chips button[aria-checked="true"] {
  background: #e2e5f0;
  color: #4c5ca0;
  border-color: #b4bad1;
  font-weight: 600;
}
.contact-pref-hint {
  display: block;
  font-size: 11px;
  color: #6b6f80;
}

/* AI receptionist panel */
.voice-setup { border: 1px solid #e6e7ee; border-radius: 10px; padding: 14px 16px; margin: 14px 0 20px; background: #fafbfe; }
.voice-setup h3 { margin: 0 0 8px; }
.voice-steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 13px; }
.voice-steps code { font-size: 12px; word-break: break-all; }
.voice-secret { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.voice-secret code { background: #fff; border: 1px solid #dbdde5; border-radius: 6px; padding: 6px 8px; flex: 1; }
.voice-tools { width: 100%; border-collapse: collapse; margin-top: 6px; }
.voice-tools td { padding: 6px 6px; border-top: 1px solid #e6e7ee; vertical-align: top; font-size: 12px; }
.voice-tools td small { display: block; color: #6b6f80; margin-top: 2px; }
.voice-method { font-weight: 700; color: #4c5ca0; font-size: 11px; margin-right: 4px; }
.voice-transcript { white-space: pre-wrap; font-size: 12px; line-height: 1.5; background: #fafbfe; border: 1px solid #e6e7ee; border-radius: 8px; padding: 12px; max-height: 60vh; overflow: auto; }

/* ---------- Extended matte palette (mint, coral, gold, teal, rose, ink) ---------- */
.mint  { background: #e3f0ea; color: #2f6152; }
.coral { background: #f5e6e1; color: #8a4a3a; }
.gold  { background: #f3ecd8; color: #7a6224; }
.teal  { background: #dfeeee; color: #2d5c5e; }
.rose  { background: #f3e5ea; color: #7c3f56; }
.ink   { background: #e4e6e8; color: #1f2529; }
.calendar-event.mint,  .week-card.mint  { border-color: #7fb8a2; background: #eaf4ef; }
.calendar-event.coral, .week-card.coral { border-color: #cf8f7c; background: #f8ede9; }
.calendar-event.gold,  .week-card.gold  { border-color: #c9ad5c; background: #f7f1e1; }
.calendar-event.teal,  .week-card.teal  { border-color: #6fa8a9; background: #e8f2f2; }
.calendar-event.rose,  .week-card.rose  { border-color: #c98ba1; background: #f7ecf0; }
.calendar-event.ink,   .week-card.ink   { border-color: #5d666d; background: #ebedef; }
.service-card.mint  { border-left-color: #7fb8a2; }
.service-card.coral { border-left-color: #cf8f7c; }
.service-card.gold  { border-left-color: #c9ad5c; }
.service-card.teal  { border-left-color: #6fa8a9; }
.service-card.rose  { border-left-color: #c98ba1; }
.service-card.ink   { border-left-color: #5d666d; }
.service-dot.mint { background: #7fb8a2; } .service-dot.coral { background: #cf8f7c; } .service-dot.gold { background: #c9ad5c; }
.service-dot.teal { background: #6fa8a9; } .service-dot.rose { background: #c98ba1; } .service-dot.ink { background: #5d666d; }
.service-thumb.mint, .barber-portrait.mint   { background: #e3f0ea; color: #2f6152; }
.service-thumb.coral, .barber-portrait.coral { background: #f5e6e1; color: #8a4a3a; }
.service-thumb.gold, .barber-portrait.gold   { background: #f3ecd8; color: #7a6224; }
.service-thumb.teal, .barber-portrait.teal   { background: #dfeeee; color: #2d5c5e; }
.service-thumb.rose, .barber-portrait.rose   { background: #f3e5ea; color: #7c3f56; }
.service-thumb.ink, .barber-portrait.ink     { background: #e4e6e8; color: #1f2529; }
.colour-picker-row { flex-wrap: wrap; }
