.alma-sm {
  --alma-sm-surface: #fff;
  --alma-sm-soft: #fbf7f1;
  --alma-sm-border: rgba(92, 31, 47, 0.16);
  --alma-sm-text: #1f2328;
  --alma-sm-muted: #667085;
  --alma-sm-accent: #5c1f2f;
  --alma-sm-accent-soft: rgba(92, 31, 47, 0.08);
  --alma-sm-good: #1f7a4d;
  --alma-sm-warn: #996800;
  --alma-sm-danger: #b42318;
  display: grid;
  gap: 24px;
  color: var(--alma-sm-text);
}

.alma-sm *,
.alma-sm *::before,
.alma-sm *::after {
  box-sizing: border-box;
}

.alma-sm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.alma-sm-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.alma-sm-panel-header h3 {
  margin: 0;
}

.alma-sm-panel-header p {
  margin: 4px 0 0;
  color: var(--alma-sm-muted);
  font-size: 0.84rem;
}

.alma-sm-panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.alma-sm-panel,
.alma-sm-state,
.alma-sm-session,
.alma-sm-package-card,
.alma-sm-account-stat {
  background: var(--alma-sm-surface);
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(31, 35, 40, 0.04);
}

.alma-sm-panel,
.alma-sm-state,
.alma-sm-package-card,
.alma-sm-account-stat {
  padding: 18px;
}

.alma-sm-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.alma-sm-account {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.alma-sm-account-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(92, 31, 47, 0.14);
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(135deg, #fff 0%, #fbf7f1 58%, rgba(92, 31, 47, 0.09) 100%);
  box-shadow: 0 14px 34px rgba(92, 31, 47, 0.07);
}

.alma-sm-account-hero span {
  color: var(--alma-sm-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.alma-sm-account-hero h2 {
  margin: 6px 0;
  color: var(--alma-sm-text);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.alma-sm-account-hero p {
  max-width: 560px;
  margin: 0;
  color: var(--alma-sm-muted);
}

.alma-sm-account-textlink {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--alma-sm-accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.alma-sm-account-textlink:hover,
.alma-sm-account-textlink:focus {
  color: var(--alma-sm-accent);
  filter: brightness(0.9);
}

.alma-sm-account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.alma-sm-account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.alma-sm-panel h3,
.alma-sm-package-card h3 {
  margin: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.alma-sm-account-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.alma-sm-account-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--alma-sm-accent);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.alma-sm-account-stat p {
  margin: 10px 0 0;
  color: var(--alma-sm-muted);
  font-size: 0.84rem;
}

.alma-sm-account-stat-icon,
.alma-sm-account-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
}

.alma-sm-account-stat-icon svg,
.alma-sm-account-empty-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alma-sm-account-stat span,
.alma-sm-muted,
.alma-sm-session span,
.alma-sm-session small,
.alma-sm-row span,
.alma-sm-package span,
.alma-sm-package small {
  color: var(--alma-sm-muted);
  font-size: 0.92rem;
}

.alma-sm-status {
  display: grid;
  gap: 3px;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--alma-sm-accent-soft);
}

.alma-sm-toast-root {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 100001;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.alma-sm-toast,
.alma-sm-notice,
.alma-sm-state {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--alma-sm-border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--alma-sm-surface);
  box-shadow: 0 10px 24px rgba(31, 35, 40, 0.06);
}

.alma-sm-toast-root .alma-sm-toast {
  align-items: center;
  min-height: 82px;
  border-radius: 16px;
  padding: 16px 14px 16px 16px;
  overflow: hidden;
  pointer-events: auto;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31, 35, 40, 0.26);
  animation: alma-sm-toast-in 220ms ease-out both;
}

.alma-sm-toast::before,
.alma-sm-notice::before,
.alma-sm-state::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  background: var(--alma-sm-accent);
}

.alma-sm-toast-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.alma-sm-toast-copy strong {
  display: block;
  margin-bottom: 3px;
  color: var(--alma-sm-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.alma-sm-toast-copy p {
  margin: 0;
  color: var(--alma-sm-text);
  line-height: 1.45;
}

.alma-sm-toast-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
}

.alma-sm-toast-icon::before {
  content: '!';
  font-weight: 900;
}

.alma-sm-toast-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alma-sm-toast-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--alma-sm-muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.alma-sm-toast-close:hover {
  background: rgba(92, 31, 47, 0.08);
  color: var(--alma-sm-accent);
}

.alma-sm-toast.is-dismissing {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.alma-sm-booking-account {
  grid-template-columns: minmax(220px, 1fr) auto;
}

.alma-sm-booking-account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.alma-sm-booking-account-meta div {
  min-width: 118px;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--alma-sm-surface);
}

.alma-sm-booking-account-meta span {
  display: block;
  color: var(--alma-sm-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.alma-sm-booking-account-meta strong {
  color: var(--alma-sm-text);
}

.alma-sm-status span {
  color: var(--alma-sm-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.alma-sm-status strong {
  color: var(--alma-sm-accent);
}

.alma-sm-notice-ok {
  border-color: rgba(31, 122, 77, 0.18);
  background: #f7fffb;
}

.alma-sm-notice-ok::before {
  background: var(--alma-sm-good);
}

.alma-sm-notice-ok .alma-sm-toast-icon {
  background: rgba(31, 122, 77, 0.12);
  color: var(--alma-sm-good);
}

.alma-sm-notice-ok .alma-sm-toast-icon::before {
  content: '✓';
}

.alma-sm-notice-error {
  border-color: rgba(180, 35, 24, 0.18);
  background: #fff8f7;
}

.alma-sm-notice-error::before {
  background: var(--alma-sm-danger);
}

.alma-sm-notice-error .alma-sm-toast-icon {
  background: rgba(180, 35, 24, 0.1);
  color: var(--alma-sm-danger);
}

@keyframes alma-sm-toast-in {
  from {
    opacity: 0;
    transform: translate3d(18px, -8px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.alma-sm-state {
  align-items: center;
  border-radius: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #fff 0%, #fff 68%, #fff8f4 100%);
}

.alma-sm-state::before {
  background: var(--alma-sm-accent);
}

.alma-sm-state .alma-sm-button {
  white-space: nowrap;
}

.alma-sm-state-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
}

.alma-sm-state-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alma-sm-state .alma-sm-toast-copy strong {
  display: block;
  color: var(--alma-sm-text);
  font-size: 1rem;
}

.alma-sm-state .alma-sm-toast-copy p {
  margin-top: 6px;
  color: var(--alma-sm-muted);
  font-size: 0.92rem;
}

.alma-sm-day-strip {
  display: grid;
  gap: 16px;
}

.alma-sm-booking-dynamic {
  display: grid;
  gap: 16px;
  transition: opacity 160ms ease;
}

.alma-sm-booking-dynamic.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.alma-sm-day-strip-current {
  display: none;
  gap: 4px;
  padding: 14px 18px;
  background: #f6f6f6;
  color: var(--alma-sm-text);
}

.alma-sm-day-strip-current span {
  color: var(--alma-sm-muted);
  font-size: 0.86rem;
}

.alma-sm-day-strip-current strong {
  font-size: 1rem;
  font-weight: 700;
}

.alma-sm-day-strip-row {
  display: grid;
  grid-template-columns: 34px repeat(7, minmax(86px, 1fr)) 34px;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--alma-sm-border);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  box-shadow: 0 12px 28px rgba(31, 35, 40, 0.05);
}

.alma-sm-day-arrow,
.alma-sm-day-option {
  display: grid;
  min-height: 64px;
  border: 0;
  background: transparent;
  place-items: center;
  color: var(--alma-sm-text);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.alma-sm-day-arrow {
  width: 34px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--alma-sm-accent);
  font-size: 1.8rem;
  line-height: 1;
}

.alma-sm-day-arrow:hover,
.alma-sm-day-arrow:focus {
  border-color: var(--alma-sm-border);
  background: #fff;
}

.alma-sm-day-option {
  gap: 8px;
  min-height: 58px;
  border: 1px solid rgba(92, 31, 47, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 35, 40, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.alma-sm-day-option:hover,
.alma-sm-day-option:focus {
  border-color: rgba(92, 31, 47, 0.28);
  box-shadow: 0 12px 24px rgba(92, 31, 47, 0.08);
  transform: translateY(-1px);
}

.alma-sm-day-option span {
  color: var(--alma-sm-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.alma-sm-day-option strong {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--alma-sm-text);
  font-size: 1.15rem;
  font-weight: 700;
}

.alma-sm-day-option.is-active strong {
  background: transparent;
  color: #fff;
}

.alma-sm-day-option.is-active {
  border-color: var(--alma-sm-accent);
  background: linear-gradient(135deg, var(--alma-sm-accent), #7a2940);
  color: #fff;
  box-shadow: 0 14px 30px rgba(92, 31, 47, 0.18);
}

.alma-sm-day-option.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.alma-sm-day-option.is-today strong {
  background: transparent;
}

.alma-sm-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto auto;
  align-items: end;
  gap: 14px;
  border: 1px solid var(--alma-sm-border);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 35, 40, 0.04);
}

.alma-sm-filters label {
  display: grid;
  gap: 6px;
  color: var(--alma-sm-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.alma-sm-filters input,
.alma-sm-filters select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--alma-sm-surface);
  color: var(--alma-sm-text);
  font: inherit;
}

.alma-sm-empty-day {
  color: var(--alma-sm-muted);
  font-size: 0.82rem;
}

.alma-sm-session {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(150px, 190px) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.alma-sm-account-history {
  max-height: 520px;
  overflow: auto;
}

.alma-sm-account-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 152px;
  border: 1px solid var(--alma-sm-border);
  border-left: 4px solid var(--alma-sm-accent);
  border-radius: 8px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #fff 0%, #fff 62%, #fbf7f1 100%);
}

.alma-sm-account-empty strong {
  display: block;
  color: var(--alma-sm-text);
  font-size: 1rem;
}

.alma-sm-account-empty p {
  max-width: 430px;
  margin: 6px 0 14px;
  color: var(--alma-sm-muted);
  font-size: 0.92rem;
}

.alma-sm-session-time {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-width: 134px;
  padding-top: 2px;
}

.alma-sm-session-time-label {
  color: var(--alma-sm-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.alma-sm-session-time-range {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.alma-sm-session-time-start {
  color: var(--alma-sm-accent);
  font-size: 1.1rem;
  line-height: 1.1;
  font-weight: 700;
}

.alma-sm-session-time-separator {
  color: var(--alma-sm-muted);
  font-size: 0.8rem;
  line-height: 1;
  transform: translateY(-1px);
}

.alma-sm-session-time-end {
  color: var(--alma-sm-muted);
  font-size: 0.82rem;
  line-height: 1.1;
}

.alma-sm-session-main,
.alma-sm-row > div,
.alma-sm-package {
  display: grid;
  gap: 4px;
}

.alma-sm-session-main strong,
.alma-sm-package strong,
.alma-sm-row strong {
  color: var(--alma-sm-text);
}

.alma-sm-session-capacity {
  display: grid;
  gap: 4px;
  margin: 2px 0 0;
}

.alma-sm-session-capacity-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--alma-sm-muted);
  font-size: 0.84rem;
}

.alma-sm-session-capacity-row span {
  color: var(--alma-sm-muted);
  font-weight: 400;
}

.alma-sm-session-meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--alma-sm-soft);
}

.alma-sm-session-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--alma-sm-accent);
}

.alma-sm-session-action {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.alma-sm-session-list-view {
  display: grid;
  gap: 18px;
}

.alma-sm-list-day {
  display: grid;
  gap: 12px;
}

.alma-sm-list-day > header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 2px 2px 0;
  border-bottom: 0;
}

.alma-sm-list-day > header span {
  color: var(--alma-sm-muted);
  font-size: 0.9rem;
}

.alma-sm-session-list {
  position: relative;
  grid-template-columns: minmax(430px, 1fr) 250px 210px;
  min-height: 104px;
  padding: 18px 26px 18px 30px;
  border-color: rgba(92, 31, 47, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 35, 40, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.alma-sm-session-list:hover {
  border-color: rgba(92, 31, 47, 0.28);
  box-shadow: 0 10px 24px rgba(92, 31, 47, 0.07);
  transform: none;
}

.alma-sm-session-list .alma-sm-session-time {
  order: 2;
  width: 250px;
  min-width: 250px;
  justify-items: start;
  gap: 5px;
}

.alma-sm-session-list .alma-sm-session-time-start {
  color: var(--alma-sm-text);
  font-size: 1rem;
}

.alma-sm-session-list .alma-sm-session-time-end {
  font-size: 0.85rem;
}

.alma-sm-session-list .alma-sm-session-main {
  order: 1;
  grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.alma-sm-session-list .alma-sm-session-main strong {
  font-size: 1.1rem;
  color: #2c2230;
}

.alma-sm-session-list .alma-sm-session-main span {
  color: #6b5a72;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.alma-sm-session-visual {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.alma-sm-session-instructor-photo {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center center;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(31, 35, 40, 0.16);
  background: #f7f2f5;
}

.alma-sm-session-instructor-photo-empty {
  display: block;
  background: linear-gradient(135deg, rgba(92, 31, 47, 0.1), rgba(92, 31, 47, 0.03));
}

.alma-sm-session-info {
  display: grid;
  gap: 4px;
  align-content: center;
  min-width: 0;
}

.alma-sm-session-info strong {
  color: #221a28;
  font-size: 1.18rem;
  line-height: 1.1;
}

.alma-sm-session-info span {
  color: #6f6076;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.alma-sm-session-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.alma-sm-session-tag,
.alma-sm-session-state {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.alma-sm-session-tag-discipline {
  background: rgba(92, 31, 47, 0.12);
  color: var(--alma-sm-accent);
}

.alma-sm-session-state {
}

.alma-sm-session-info small::before {
  content: '◷ ';
}

.alma-sm-session-state-ok {
  background: rgba(31, 122, 77, 0.12);
  color: var(--alma-sm-good);
}

.alma-sm-session-state-warn {
  background: rgba(153, 104, 0, 0.12);
  color: var(--alma-sm-warn);
}

.alma-sm-session-state-danger {
  background: rgba(180, 35, 24, 0.1);
  color: var(--alma-sm-danger);
}

.alma-sm-session-state-muted {
  background: rgba(102, 112, 133, 0.1);
  color: var(--alma-sm-muted);
}

.alma-sm-session-info small {
  color: #6b5a72;
  font-size: 0.9rem;
}

.alma-sm-session-list .alma-sm-instructor-trigger {
  color: #3f3048;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.alma-sm-session-list .alma-sm-instructor-trigger:hover,
.alma-sm-session-list .alma-sm-instructor-trigger:focus {
  color: var(--alma-sm-accent);
}

.alma-sm-instructor-trigger {
  display: inline-flex;
  width: fit-content;
  border: 0;
  background: transparent;
  color: #4d3c56;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.alma-sm-instructor-trigger:hover,
.alma-sm-instructor-trigger:focus {
  color: var(--alma-sm-accent);
  text-decoration-color: currentColor;
}

.alma-sm-session-list .alma-sm-session-action {
  order: 3;
  width: 210px;
  min-width: 210px;
}

.alma-sm-session-list .alma-sm-button {
  min-height: 42px;
  border-color: var(--alma-sm-accent);
  border-radius: 999px;
  min-width: 150px;
  padding: 0 24px;
  background: var(--alma-sm-accent);
  color: #fff;
  font-size: 0.86rem;
  text-transform: none;
  white-space: nowrap;
}

.alma-sm-session-list .alma-sm-button:hover,
.alma-sm-session-list .alma-sm-button:focus {
  background: #fff;
  color: var(--alma-sm-accent);
  border-color: var(--alma-sm-accent);
  filter: none;
}

.alma-sm-modal-open {
  overflow: hidden;
}

.alma-sm-instructor-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.alma-sm-instructor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.alma-sm-instructor-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: stretch;
  width: min(880px, 100%);
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(92, 31, 47, 0.12);
  background: #fff;
  box-shadow: 0 18px 55px rgba(31, 35, 40, 0.2);
}

.alma-sm-instructor-visual {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(92, 31, 47, 0.08), rgba(92, 31, 47, 0.02));
  padding: 22px;
}

.alma-sm-instructor-copy {
  display: grid;
  gap: 14px;
  padding: 30px 30px 30px 24px;
}

.alma-sm-instructor-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f6f6f6;
  color: var(--alma-sm-text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.alma-sm-instructor-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
  background: var(--alma-sm-soft);
  box-shadow: 0 12px 32px rgba(31, 35, 40, 0.18);
}

.alma-sm-instructor-photo-empty {
  display: block;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(92, 31, 47, 0.08), rgba(92, 31, 47, 0.02));
}

.alma-sm-instructor-copy strong {
  color: var(--alma-sm-text);
  font-size: 1.35rem;
}

.alma-sm-instructor-copy p {
  margin: 0;
  color: #5c4f62;
  line-height: 1.75;
  white-space: pre-line;
}

.alma-sm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  padding: 12px;
}

.alma-sm-row-main {
  display: grid;
  gap: 4px;
}

.alma-sm-row-main strong {
  color: var(--alma-sm-text);
  font-size: 0.98rem;
}

.alma-sm-row-main small {
  color: var(--alma-sm-muted);
  font-size: 0.82rem;
}

.alma-sm-pill,
.alma-sm-row-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.alma-sm-pill-waitlist,
.alma-sm-row-status-lista_espera {
  background: rgba(153, 104, 0, 0.12);
  color: var(--alma-sm-warn);
}

.alma-sm-row-status-reservada {
  background: rgba(31, 122, 77, 0.1);
  color: var(--alma-sm-good);
}

.alma-sm-row-status-cancelada,
.alma-sm-row-status-cancelada_admin,
.alma-sm-row-status-lista_espera_cancelada {
  background: rgba(180, 35, 24, 0.08);
  color: var(--alma-sm-danger);
}

.alma-sm-account-package,
.alma-sm-account-drink {
  display: grid;
  gap: 14px;
}

.alma-sm-account-package-head {
  display: grid;
  gap: 4px;
}

.alma-sm-account-package-head strong {
  color: var(--alma-sm-text);
  font-size: 1rem;
}

.alma-sm-account-package-head span {
  color: var(--alma-sm-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.alma-sm-account-package-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.alma-sm-account-package-meta div {
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--alma-sm-soft);
}

.alma-sm-account-package-meta span {
  display: block;
  color: var(--alma-sm-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.alma-sm-account-package-meta strong {
  display: block;
  color: var(--alma-sm-text);
  font-size: 0.92rem;
}

.alma-sm-account-package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.alma-sm-account-drink {
  padding-top: 8px;
  border-top: 1px solid var(--alma-sm-border);
}

.alma-sm-account-drink strong {
  color: var(--alma-sm-text);
}

.alma-sm-account-drink span,
.alma-sm-account-drink small {
  color: var(--alma-sm-muted);
}

.alma-sm-account-support-grid {
  align-items: stretch;
}

.alma-sm-account-details {
  display: grid;
  gap: 0;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  overflow: hidden;
}

.alma-sm-account-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  background: #fff;
}

.alma-sm-account-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.alma-sm-account-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--alma-sm-muted);
}

.alma-sm-account-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alma-sm-account-detail + .alma-sm-account-detail {
  border-top: 1px solid var(--alma-sm-border);
}

.alma-sm-account-detail span {
  color: var(--alma-sm-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.alma-sm-account-detail strong {
  color: var(--alma-sm-text);
  font-size: 0.92rem;
  text-align: right;
  word-break: break-word;
}

.alma-sm-account-modal[hidden] {
  display: none;
}

.alma-sm-account-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.alma-sm-account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 35, 40, 0.48);
}

.alma-sm-account-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  border: 1px solid var(--alma-sm-border);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 35, 40, 0.24);
}

.alma-sm-account-dialog header {
  padding-right: 34px;
}

.alma-sm-account-dialog header span {
  color: var(--alma-sm-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.alma-sm-account-dialog h3 {
  margin: 6px 0;
  color: var(--alma-sm-text);
  font-size: 1.35rem;
}

.alma-sm-account-dialog p {
  margin: 0;
  color: var(--alma-sm-muted);
}

.alma-sm-account-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.alma-sm-account-profile-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.alma-sm-account-profile-form label {
  display: grid;
  gap: 7px;
  color: var(--alma-sm-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.alma-sm-account-profile-form input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--alma-sm-text);
  font: inherit;
}

.alma-sm-account-profile-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.alma-sm-account-form-notice {
  min-height: 20px;
  font-size: 0.88rem;
  font-weight: 700;
}

.alma-sm-account-form-notice.is-ok {
  color: var(--alma-sm-good);
}

.alma-sm-account-form-notice.is-error {
  color: var(--alma-sm-danger);
}

.alma-sm-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--alma-sm-accent);
  border-radius: 8px;
  padding: 0 15px;
  background: var(--alma-sm-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.alma-sm-button:hover,
.alma-sm-button:focus {
  color: #fff;
  filter: brightness(0.96);
}

.alma-sm-button.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.alma-sm-button.is-loading::after {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  content: '';
  animation: alma-sm-spin 0.75s linear infinite;
}

@keyframes alma-sm-spin {
  to {
    transform: rotate(360deg);
  }
}

.alma-sm-button-secondary,
.alma-sm-button-waitlist {
  background: transparent;
  color: var(--alma-sm-accent);
}

.alma-sm-button-secondary:hover,
.alma-sm-button-secondary:focus,
.alma-sm-button-waitlist:hover,
.alma-sm-button-waitlist:focus {
  color: var(--alma-sm-accent);
}

.alma-sm-packages-wrap {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.alma-sm-package-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
}

.alma-sm-package-tab {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  background: #fff;
  color: var(--alma-sm-muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0 14px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.alma-sm-package-tab:hover,
.alma-sm-package-tab:focus,
.alma-sm-package-tab.is-active {
  border-color: var(--alma-sm-accent);
  background: var(--alma-sm-accent);
  color: #fff;
}

.alma-sm-package-group {
  display: none;
}

.alma-sm-package-group.is-active {
  display: block;
}

.alma-sm-packages {
  grid-template-columns: repeat(auto-fit, minmax(280px, 382px));
  display: grid;
  justify-content: center;
  gap: 18px;
}

.alma-sm-package-card {
  display: grid;
  gap: 16px;
  align-content: start;
  border-color: rgba(92, 31, 47, 0.14);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.alma-sm-package-card:hover {
  border-color: rgba(92, 31, 47, 0.32);
  box-shadow: 0 10px 24px rgba(31, 35, 40, 0.07);
  transform: translateY(-1px);
}

.alma-sm-package-card-featured {
  border-color: rgba(92, 31, 47, 0.26);
  box-shadow: none;
}

.alma-sm-package-card header {
  display: grid;
  gap: 8px;
}

.alma-sm-package-type {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--alma-sm-accent-soft);
  color: var(--alma-sm-accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  text-transform: uppercase;
}

.alma-sm-package-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.alma-sm-package-facts div {
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  background: #fbfaf8;
  padding: 12px 14px;
}

.alma-sm-package-facts dt {
  color: var(--alma-sm-muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.alma-sm-package-facts dd {
  color: var(--alma-sm-text);
  font-weight: 700;
  margin: 0;
}

.alma-sm-package-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alma-sm-package-notes span {
  border-radius: 999px;
  background: var(--alma-sm-soft);
  color: var(--alma-sm-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 9px;
}

.alma-sm-price {
  color: var(--alma-sm-accent);
  font-size: 1.45rem;
  font-weight: 700;
}

.alma-sm-admin-front {
  display: grid;
  gap: 18px;
}

.alma-sm-admin-front-tabs [hidden] {
  display: none !important;
}

.alma-sm-admin-front-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--alma-sm-border);
}

.alma-sm-admin-front-nav .nav-tab {
  margin: 0 6px 0 0;
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  border-bottom: 0;
  background: #f3f0ec;
  color: var(--alma-sm-muted);
  font-weight: 700;
  padding: 10px 14px;
}

.alma-sm-admin-front-nav .nav-tab.is-active,
.alma-sm-admin-front-nav .nav-tab.nav-tab-active {
  background: #fff;
  border-color: var(--alma-sm-border);
  color: var(--alma-sm-accent);
  font-weight: 800;
  box-shadow: 0 -2px 0 var(--alma-sm-accent), 0 10px 18px rgba(31, 35, 40, 0.06);
  position: relative;
  z-index: 1;
}

.alma-sm-admin-front-nav .nav-tab:hover,
.alma-sm-admin-front-nav .nav-tab:focus {
  color: var(--alma-sm-accent);
}

.alma-sm-admin-front-nav .nav-tab[aria-selected="true"] {
  background: #fff;
  border-color: var(--alma-sm-border);
  color: var(--alma-sm-accent);
  font-weight: 800;
  box-shadow: 0 -2px 0 var(--alma-sm-accent), 0 10px 18px rgba(31, 35, 40, 0.06);
}

.alma-sm-admin-front-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.alma-sm-admin-front-hero,
.alma-sm-admin-front-section,
.alma-sm-admin-front-stats article {
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 35, 40, 0.04);
}

.alma-sm-admin-front-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.alma-sm-admin-front-hero span,
.alma-sm-admin-front-section header p,
.alma-sm-admin-front-list span,
.alma-sm-admin-front-mini small,
.alma-sm-admin-front-empty,
.alma-sm-admin-front-schedule span {
  color: var(--alma-sm-muted);
}

.alma-sm-admin-front-hero h2,
.alma-sm-admin-front-section h3 {
  margin: 0;
}

.alma-sm-admin-front-hero p {
  margin: 6px 0 0;
}

.alma-sm-admin-front-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.alma-sm-admin-front-stats,
.alma-sm-admin-front-report,
.alma-sm-admin-front-schedule {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.alma-sm-admin-front-stats article,
.alma-sm-admin-front-report article,
.alma-sm-admin-front-schedule article {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.alma-sm-admin-front-stats strong,
.alma-sm-admin-front-report strong {
  color: var(--alma-sm-accent);
  font-size: 1.75rem;
}

.alma-sm-admin-front-section {
  padding: 0;
  overflow: hidden;
}

.alma-sm-admin-front-panel {
  display: grid;
  gap: 18px;
}

.alma-sm-admin-front-section > header,
.alma-sm-admin-front-split > div > header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--alma-sm-border);
  padding: 18px;
}

.alma-sm-admin-front-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.alma-sm-admin-front-calendar-nav strong {
  color: var(--alma-sm-text);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.alma-sm-admin-front-calendar-nav .alma-sm-button {
  min-height: 36px;
  padding: 0 14px;
}

.alma-sm-admin-front-section header p {
  margin: 5px 0 0;
}

.alma-sm-admin-front-section header a {
  color: var(--alma-sm-accent);
  font-weight: 700;
  text-decoration: none;
}

.alma-sm-admin-front-calendar {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding: 20px;
}

.alma-sm-admin-front-calendar > article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  border: 1px solid var(--alma-sm-border);
  border-radius: 12px;
  background: #fbfaf8;
  padding: 14px;
}

.alma-sm-admin-front-calendar > article.is-today {
  border-color: var(--alma-sm-accent);
  background: #fff;
  box-shadow: inset 0 3px 0 var(--alma-sm-accent);
}

.alma-sm-admin-front-calendar > article.is-today header strong {
  color: var(--alma-sm-accent);
}

.alma-sm-admin-front-calendar header {
  display: grid;
  gap: 2px;
}

.alma-sm-admin-front-calendar p {
  margin: 0;
  color: var(--alma-sm-muted);
}

.alma-sm-admin-front-session-editor {
  border: 1px solid var(--alma-sm-border);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 12px;
}

.alma-sm-admin-front-session-editor-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.alma-sm-admin-front-session-editor-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.alma-sm-admin-front-session-editor-copy strong {
  color: var(--alma-sm-text);
  font-size: 0.96rem;
  line-height: 1.15;
}

.alma-sm-admin-front-session-editor-copy span {
  color: var(--alma-sm-accent);
  font-weight: 700;
  line-height: 1.2;
}

.alma-sm-admin-front-session-editor-copy small {
  color: var(--alma-sm-muted);
  font-size: 0.8rem;
  line-height: 1.2;
}

.alma-sm-admin-front-session-open {
  white-space: nowrap;
  align-self: center;
}

.alma-sm-admin-front-dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  box-shadow: 0 28px 80px rgba(31, 35, 40, 0.24);
  background: transparent;
}

.alma-sm-admin-front-dialog::backdrop {
  background: rgba(33, 29, 27, 0.48);
  backdrop-filter: blur(2px);
}

.alma-sm-admin-front-dialog-shell {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--alma-sm-border);
  border-radius: 18px;
  overflow: hidden;
}

.alma-sm-admin-front-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--alma-sm-border);
  background: linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.alma-sm-admin-front-dialog-header strong {
  display: block;
  color: var(--alma-sm-text);
  font-size: 1.1rem;
}

.alma-sm-admin-front-dialog-header span {
  color: var(--alma-sm-muted);
  font-size: 0.9rem;
}

.alma-sm-admin-front-dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--alma-sm-border);
  border-radius: 999px;
  background: #fff;
  color: var(--alma-sm-muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
}

.alma-sm-admin-front-dialog .alma-sm-admin-front-form {
  border-bottom: 0;
  padding: 18px 20px 20px;
}

.alma-sm-admin-front-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.alma-sm-admin-front-list article {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--alma-sm-border);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.alma-sm-admin-front-session-meta,
.alma-sm-admin-front-reservation-meta {
  display: grid;
  gap: 4px;
}

.alma-sm-admin-front-session-name,
.alma-sm-admin-front-client-name {
  color: var(--alma-sm-text);
  font-size: 1rem;
  line-height: 1.25;
}

.alma-sm-admin-front-session-name {
  color: var(--alma-sm-accent);
  font-size: 1.06rem;
  font-weight: 800;
}

.alma-sm-admin-front-client-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.alma-sm-admin-front-session-subtitle {
  color: var(--alma-sm-muted);
  font-size: 0.88rem;
}

.alma-sm-admin-front-pills,
.alma-sm-admin-front-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.alma-sm-admin-front-pills span,
.alma-sm-admin-front-clients span {
  border-radius: 999px;
  background: var(--alma-sm-soft);
  color: var(--alma-sm-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 9px;
}

.alma-sm-admin-front-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 2fr) auto;
  gap: 12px;
  align-items: end;
  border-bottom: 1px solid var(--alma-sm-border);
  padding: 18px;
}

.alma-sm-admin-front-form label,
.alma-sm-admin-front-credit-form label {
  display: grid;
  gap: 6px;
}

.alma-sm-admin-front-form span,
.alma-sm-admin-front-credit-form span {
  color: var(--alma-sm-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.alma-sm-admin-front-form input,
.alma-sm-admin-front-form select,
.alma-sm-admin-front-credit-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--alma-sm-border);
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
}

.alma-sm-admin-front-reservations {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  width: 100%;
  padding-top: 4px;
}

.alma-sm-admin-front-reservation {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  border-top: 1px solid var(--alma-sm-border);
  padding-top: 12px;
}

.alma-sm-admin-front-reservation-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.alma-sm-admin-front-reservation-status {
  color: var(--alma-sm-muted);
  font-size: 0.8rem;
  text-transform: capitalize;
}

.alma-sm-admin-front-reservation-meta .alma-sm-admin-front-client-name {
  color: var(--alma-sm-text);
}

.alma-sm-admin-front-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.alma-sm-admin-front-button-form {
  margin: 0;
}

.alma-sm-admin-front-button-form .alma-sm-button,
.alma-sm-admin-front-credit-form .alma-sm-button {
  min-height: 34px;
  padding: 0 12px;
}

.alma-sm-admin-front-package-tools {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--alma-sm-border);
  padding-top: 12px;
}

.alma-sm-admin-front-credit-form {
  display: grid;
  grid-template-columns: 110px minmax(200px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.alma-sm-admin-front-plus {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--alma-sm-border);
  padding-top: 12px;
}

.alma-sm-admin-front-plus small {
  color: var(--alma-sm-muted);
}

.alma-sm-admin-front-empty {
  margin: 18px;
  border: 1px dashed var(--alma-sm-border);
  border-radius: 8px;
  padding: 18px;
}

.alma-sm-admin-front-report,
.alma-sm-admin-front-schedule {
  padding: 18px;
}

.alma-sm-admin-front-report article,
.alma-sm-admin-front-schedule article {
  border: 1px solid var(--alma-sm-border);
  border-radius: 8px;
  background: #fbfaf8;
}

.alma-sm-admin-front-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alma-sm-admin-front-split > div + div {
  border-left: 1px solid var(--alma-sm-border);
}

.alma-sm-admin-front-split .alma-sm-admin-front-list {
  padding-top: 14px;
}

.alma-sm-admin-front-list-compact article {
  align-items: flex-start;
}

@media (max-width: 1100px) {
  .alma-sm-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alma-sm-admin-front-stats,
  .alma-sm-admin-front-report,
  .alma-sm-admin-front-schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alma-sm-admin-front-nav .nav-tab {
    flex: 1 1 calc(33.333% - 6px);
    text-align: center;
  }

  .alma-sm-admin-front-nav .nav-tab[aria-selected="true"] {
    box-shadow: none;
  }

  .alma-sm-admin-front-calendar {
    grid-template-columns: repeat(6, minmax(170px, 1fr));
  }
}

@media (max-width: 780px) {
  .alma-sm-toast-root {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .alma-sm-grid,
  .alma-sm-account-stats,
  .alma-sm-packages,
  .alma-sm-booking-account,
  .alma-sm-filters,
  .alma-sm-session,
  .alma-sm-row {
    grid-template-columns: 1fr;
  }

  .alma-sm-account-hero,
  .alma-sm-account-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .alma-sm-account-hero-actions {
    justify-content: flex-start;
  }

  .alma-sm-account-empty {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .alma-sm-account-detail {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .alma-sm-account-detail-label {
    min-width: 0;
  }

  .alma-sm-account-detail strong {
    text-align: left;
  }

  .alma-sm-account-profile-form footer {
    flex-direction: column-reverse;
  }

  .alma-sm-booking-account-meta,
  .alma-sm-session-action {
    justify-content: stretch;
    justify-items: stretch;
  }

  .alma-sm-account-package-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .alma-sm-toast,
  .alma-sm-state {
    flex-direction: column;
  }

  .alma-sm-toast-actions {
    width: 100%;
  }

  .alma-sm-button,
  .alma-sm-row-status {
    width: 100%;
  }

  .alma-sm-account-package-meta {
    grid-template-columns: 1fr;
  }

  .alma-sm-day-strip {
    min-width: 0;
  }

  .alma-sm-day-strip-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .alma-sm-day-strip-row::-webkit-scrollbar {
    height: 0;
  }

  .alma-sm-day-arrow,
  .alma-sm-day-option {
    flex: 0 0 auto;
    min-height: 54px;
  }

  .alma-sm-day-arrow {
    width: 34px;
  }

  .alma-sm-day-option {
    width: 72px;
    scroll-snap-align: start;
  }

  .alma-sm-day-option strong {
    font-size: 1rem;
  }

  .alma-sm-session-list {
    min-height: 0;
    padding: 18px;
  }

  .alma-sm-session-list .alma-sm-session-time,
  .alma-sm-session-list .alma-sm-session-main,
  .alma-sm-session-list .alma-sm-session-action {
    order: initial;
    width: auto;
    min-width: 0;
  }

  .alma-sm-instructor-dialog {
    grid-template-columns: 1fr;
  }

  .alma-sm-instructor-visual,
  .alma-sm-instructor-copy {
    padding: 20px;
  }

  .alma-sm-instructor-photo,
  .alma-sm-instructor-photo-empty {
    min-height: 240px;
  }

  .alma-sm-session-list .alma-sm-session-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .alma-sm-session-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .alma-sm-package-tabs {
    gap: 6px;
  }

  .alma-sm-package-tab {
    flex: 1 1 calc(50% - 6px);
    padding: 0 10px;
    text-align: center;
  }

  .alma-sm-package-card {
    padding: 18px;
  }

  .alma-sm-package-facts {
    grid-template-columns: 1fr;
  }

  .alma-sm-admin-front-stats,
  .alma-sm-admin-front-report,
  .alma-sm-admin-front-schedule,
  .alma-sm-admin-front-split,
  .alma-sm-admin-front-form,
  .alma-sm-admin-front-credit-form {
    grid-template-columns: 1fr;
  }

  .alma-sm-admin-front-hero,
  .alma-sm-admin-front-section > header,
  .alma-sm-admin-front-split > div > header,
  .alma-sm-admin-front-reservation,
  .alma-sm-admin-front-session-editor-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .alma-sm-admin-front-actions,
  .alma-sm-admin-front-pills,
  .alma-sm-admin-front-clients,
  .alma-sm-admin-front-inline-actions {
    justify-content: flex-start;
  }

  .alma-sm-admin-front-list article {
    grid-template-columns: 1fr;
  }

  .alma-sm-admin-front-dialog {
    width: calc(100vw - 20px);
    max-height: 92vh;
  }

  .alma-sm-admin-front-nav .nav-tab {
    flex: 1 1 100%;
    margin-right: 0;
  }

  .alma-sm-admin-front-split > div + div {
    border-top: 1px solid var(--alma-sm-border);
    border-left: 0;
  }

  .alma-sm-admin-front-calendar {
    grid-template-columns: repeat(6, minmax(160px, 1fr));
    padding: 14px;
  }

  .alma-sm-admin-front-calendar > article {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .alma-sm {
    gap: 16px;
  }

  .alma-sm-state {
    align-items: stretch;
    padding: 16px;
  }

  .alma-sm-state-icon {
    width: 48px;
    height: 48px;
  }

  .alma-sm-day-strip-row {
    margin-right: -2px;
    margin-left: -2px;
    border-radius: 12px;
    padding: 8px;
  }

  .alma-sm-day-option {
    width: 62px;
    min-height: 50px;
    gap: 4px;
  }

  .alma-sm-day-option span {
    font-size: 0.72rem;
  }

  .alma-sm-day-option strong {
    font-size: 0.95rem;
  }

  .alma-sm-day-arrow {
    width: 30px;
    min-height: 50px;
    font-size: 1.45rem;
  }

  .alma-sm-filters {
    gap: 10px;
    padding: 14px;
  }

  .alma-sm-session-list {
    padding: 16px;
  }

  .alma-sm-session-instructor-photo {
    width: 72px;
    height: 72px;
  }

  .alma-sm-session-tags {
    gap: 7px;
  }
}
