/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.app-session-bar {
  align-items: center;
  background: #111827;
  box-sizing: border-box;
  color: white;
  display: flex;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  gap: 12px;
  justify-content: flex-end;
  padding: 8px 16px;
}

.app-session-bar form {
  margin: 0;
}

.app-session-bar__button {
  background: #f2ac00;
  border: 0;
  border-radius: 4px;
  color: #111827;
  cursor: pointer;
  font-weight: 800;
  padding: 7px 10px;
}

.login-screen {
  align-items: center;
  background: #eeeeee;
  box-sizing: border-box;
  display: flex;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-screen__panel {
  background: white;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  max-width: 420px;
  padding: 32px;
  width: 100%;
}

.login-screen__logo {
  border-radius: 999px;
  display: block;
  height: 88px;
  margin: 0 auto 18px;
  object-fit: contain;
  width: 88px;
}

.login-screen h1 {
  color: #111827;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 24px;
  text-align: center;
}

.login-screen__flash {
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 10px 12px;
}

.login-screen__flash--alert {
  background: #fee2e2;
  color: #991b1b;
}

.login-screen__flash--notice {
  background: #dcfce7;
  color: #166534;
}

.login-screen__form {
  display: grid;
  gap: 16px;
}

.login-screen__field {
  display: grid;
  gap: 6px;
}

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

.login-screen__input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 18px;
  padding: 12px;
  width: 100%;
}

.login-screen__button {
  background: #f2ac00;
  border: 0;
  border-radius: 6px;
  color: #111827;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  padding: 13px 16px;
}

.kiosk-checkin {
  align-items: center;
  background: #eeeeee;
  box-sizing: border-box;
  color: #30343b;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  padding: 20px 24px 32px;
}

.kiosk-checkin__logo {
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
  display: block;
  height: 96px;
  margin-bottom: 96px;
  object-fit: contain;
  width: 96px;
}

.kiosk-checkin__card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  max-width: 512px;
  overflow: visible;
  position: relative;
  width: min(100%, 512px);
}

.kiosk-checkin__band {
  background: #f2ac00;
  border-radius: 8px 8px 0 0;
  height: 40px;
}

.kiosk-checkin__avatar {
  align-items: center;
  background: #ececec;
  border-radius: 999px;
  box-shadow: 0 1px 0 white inset, 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  height: 116px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: -58px;
  transform: translateX(-50%);
  width: 116px;
}

.kiosk-checkin__avatar-head {
  border: 4px solid #8c8c8c;
  border-radius: 999px;
  height: 22px;
  position: absolute;
  top: 28px;
  width: 22px;
}

.kiosk-checkin__avatar-body {
  border: 4px solid #8c8c8c;
  border-radius: 10px 10px 4px 4px;
  height: 20px;
  position: absolute;
  top: 60px;
  width: 42px;
}

.kiosk-checkin__avatar-body::before,
.kiosk-checkin__avatar-body::after {
  background: #8c8c8c;
  content: "";
  height: 4px;
  position: absolute;
  top: -6px;
  width: 28px;
}

.kiosk-checkin__avatar-body::before {
  left: 0;
  transform: rotate(-42deg);
  transform-origin: left center;
}

.kiosk-checkin__avatar-body::after {
  right: 0;
  transform: rotate(42deg);
  transform-origin: right center;
}

.kiosk-checkin__content {
  padding: 34px 42px 38px;
  text-align: center;
}

.kiosk-checkin__flash {
  border-radius: 6px;
  font-weight: 800;
  margin: 0 auto 18px;
  max-width: 320px;
  padding: 10px 12px;
}

.kiosk-checkin__flash--alert {
  background: #fee2e2;
  color: #991b1b;
}

.kiosk-checkin__flash--notice {
  background: #dcfce7;
  color: #166534;
}

.kiosk-checkin__prompt {
  font-size: 14px;
  font-weight: 800;
  line-height: 2.1;
  margin: 0;
}

.kiosk-checkin__form {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.kiosk-checkin__pin-display {
  color: #30343b;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.15;
  margin: 26px 0 20px;
  min-height: 60px;
}

.kiosk-checkin__pin-display--empty {
  color: #9e9e9e;
}

.kiosk-checkin__keypad {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 86px);
}

.kiosk-checkin__key {
  appearance: none;
  background: #d7d7d7;
  border: 0;
  border-radius: 0;
  color: #30343b;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  height: 62px;
  touch-action: manipulation;
}

.kiosk-checkin__key:active {
  transform: translateY(1px);
}

.kiosk-checkin__key--submit {
  background: #f2ac00;
  color: white;
  font-size: 13px;
}

.kiosk-checkin__history-link {
  align-self: center;
  color: #1d73bd;
  font-size: 14px;
  font-weight: 800;
  margin-top: 8px;
  text-decoration: none;
  width: min(100%, 512px);
  text-align: right;
}

@media (max-width: 560px) {
  .kiosk-checkin {
    padding-inline: 14px;
  }

  .kiosk-checkin__logo {
    height: 80px;
    margin-bottom: 82px;
    width: 80px;
  }

  .kiosk-checkin__content {
    padding-inline: 22px;
  }

  .kiosk-checkin__pin-display {
    font-size: 44px;
  }

  .kiosk-checkin__keypad {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    width: 100%;
  }
}

.kiosk-select {
  align-items: center;
  background: #eeeeee;
  box-sizing: border-box;
  color: #1f2933;
  display: flex;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
}

.kiosk-select__panel {
  background: white;
  border-radius: 8px;
  border-top: 10px solid #f2ac00;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
  max-width: 640px;
  padding: 34px 38px 40px;
  text-align: center;
  width: min(100%, 640px);
}

.kiosk-select__logo {
  border-radius: 999px;
  display: block;
  height: 96px;
  margin: 0 auto 18px;
  object-fit: contain;
  width: 96px;
}

.kiosk-select__eyebrow {
  color: #228b22;
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 8px;
}

.kiosk-select h1 {
  color: #111827;
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 28px;
}

.kiosk-select__options {
  display: grid;
  gap: 14px;
}

.kiosk-select__form {
  margin: 0;
}

.kiosk-select__option {
  appearance: none;
  background: #fdf8ed;
  border: 2px solid #efd195;
  border-radius: 8px;
  box-sizing: border-box;
  color: #1f2933;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 20px 22px;
  text-align: left;
  touch-action: manipulation;
  width: 100%;
}

.kiosk-select__option:active {
  transform: translateY(1px);
}

.kiosk-select__class-name {
  color: #15251a;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}

.kiosk-select__time {
  color: #228b22;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 560px) {
  .kiosk-select {
    padding: 18px;
  }

  .kiosk-select__panel {
    padding: 26px 22px 30px;
  }

  .kiosk-select__logo {
    height: 82px;
    width: 82px;
  }

  .kiosk-select h1 {
    font-size: 32px;
  }

  .kiosk-select__class-name {
    font-size: 22px;
  }
}

.kiosk-success {
  --brand-green: #228b22;
  --brand-gold: #efd195;
  --brand-white: #ffffff;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(34, 139, 34, 0.08), rgba(239, 209, 149, 0.22)),
    #f6f7f3;
  box-sizing: border-box;
  color: #1f2933;
  display: flex;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
}

.kiosk-success__card {
  background: var(--brand-white);
  border-radius: 8px;
  border-top: 10px solid var(--brand-gold);
  box-shadow: 0 24px 70px rgba(24, 45, 28, 0.16);
  max-width: 560px;
  padding: 34px 38px 40px;
  text-align: center;
  width: min(100%, 560px);
}

.kiosk-success__photo-frame {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto 18px;
}

.kiosk-success__photo {
  align-items: center;
  aspect-ratio: 1;
  background: #f7f1e4;
  border: 5px solid var(--brand-gold);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(34, 139, 34, 0.18);
  color: var(--brand-green);
  display: flex;
  font-size: 38px;
  font-weight: 900;
  height: 128px;
  justify-content: center;
  object-fit: cover;
  width: 128px;
}

.kiosk-success__photo--fallback {
  background: #fdfaf2;
}

.kiosk-success__eyebrow {
  color: var(--brand-green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.kiosk-success h1 {
  color: #15251a;
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 22px;
}

.kiosk-success__belt {
  align-items: center;
  color: #25342a;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.kiosk-success__belt-icon {
  background: var(--belt-color, var(--brand-gold));
  border: 4px solid #203425;
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--brand-gold);
  display: inline-block;
  height: 46px;
  width: 46px;
}

.kiosk-success__belt strong {
  font-size: 18px;
}

.kiosk-success__progress-summary {
  margin: 0 auto 22px;
  max-width: 430px;
}

.kiosk-success__phase {
  color: var(--brand-green);
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 800;
  gap: 4px;
  margin: 0 0 10px;
}

.kiosk-success__phase strong {
  color: #15251a;
  font-size: 20px;
}

.kiosk-success__progress-summary h2 {
  color: #2b3c30;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.kiosk-success__learning-state {
  background: #fdf8ed;
  border: 2px solid var(--brand-gold);
  border-radius: 8px;
  color: var(--brand-green);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  padding: 16px 18px;
}

.kiosk-success__progress {
  background: #e7eadf;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(21, 37, 26, 0.16);
  height: 24px;
  overflow: hidden;
}

.kiosk-success__progress span {
  background: linear-gradient(90deg, var(--brand-green), #61a85a 62%, var(--brand-gold));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.kiosk-success__percent {
  color: var(--brand-green);
  font-size: 24px;
  font-weight: 900;
  margin-top: 8px;
}

.kiosk-success__stripes {
  color: #25342a;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
}

.kiosk-success__attendance {
  align-items: center;
  background: #fdf8ed;
  border: 1px solid rgba(239, 209, 149, 0.9);
  border-radius: 8px;
  color: #2b3c30;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  margin: 0;
  padding: 12px 18px;
}

.kiosk-success__attendance span {
  color: var(--brand-green);
}

@media (max-width: 560px) {
  .kiosk-success {
    padding: 18px;
  }

  .kiosk-success__card {
    padding: 26px 22px 30px;
  }

  .kiosk-success__photo {
    height: 104px;
    width: 104px;
  }

  .kiosk-success h1 {
    font-size: 32px;
  }
}

.current-class {
  color: #1f2933;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 1100px;
  padding: 24px;
}

.current-class__header,
.current-class__session-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.current-class h1,
.current-class h2,
.current-class p {
  margin: 0;
}

.current-class__header {
  border-bottom: 1px solid #d6dde5;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.current-class__header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.current-class__session-title,
.current-class__session-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.current-class__session-title {
  justify-content: flex-start;
}

.current-class__session-actions {
  justify-content: flex-end;
}

.current-class__header h1 {
  font-size: 32px;
  line-height: 1.1;
}

.current-class__header p,
.current-class__session-header p {
  color: #64748b;
  margin-top: 6px;
}

.current-class__link {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.current-class__pill-button {
  background: #0f766e;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.current-class__pill-button:hover,
.current-class__pill-button:focus {
  background: #115e59;
}

.current-class__nav-menu {
  position: relative;
}

.current-class__nav-menu summary {
  cursor: pointer;
  list-style: none;
}

.current-class__nav-menu summary::-webkit-details-marker {
  display: none;
}

.current-class__nav-menu summary::after {
  content: "v";
  font-size: 10px;
  margin-left: 5px;
}

.current-class__nav-submenu {
  background: white;
  border: 1px solid #d6dde5;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
}

.current-class__submenu-link {
  border-radius: 6px;
  color: #1f2937;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.current-class__submenu-link:hover,
.current-class__submenu-link:focus {
  background: #eef6f5;
  color: #0f766e;
}

.current-class__nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.current-class__panel {
  display: grid;
  gap: 20px;
}

.current-class__session {
  border: 1px solid #d6dde5;
  border-radius: 8px;
  padding: 18px;
}

.current-class__count-badges {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.current-class__session-header strong,
.current-class__count-badge {
  background: #0f766e;
  border-radius: 999px;
  color: white;
  display: inline-grid;
  font-size: 24px;
  height: 48px;
  place-items: center;
  text-decoration: none;
  width: 48px;
}

.current-class__session-header .current-class__count-badge--needs-stripes {
  background: #fee2e2;
  color: #991b1b;
}

.current-class__session-header .current-class__count-badge--ready-to-test {
  background: #d1fae5;
  color: #0f766e;
}

.current-class__session-header .current-class__count-badge--prep-to-test {
  background: #fef3c7;
  color: #92400e;
}

.current-class__session-header .current-class__count-badge--total {
  background: #111827;
  color: #f8fafc;
}

.current-class__session-header .current-class__count-badge--ready-to-test.current-class__count-badge--active {
  background: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.24);
  color: #ecfdf5;
}

.current-class__session-header .current-class__count-badge--prep-to-test.current-class__count-badge--active {
  background: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.28);
  color: #422006;
}

.current-class__session-header .current-class__count-badge--needs-stripes.current-class__count-badge--active {
  background: #991b1b;
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.2);
  color: #fff7ed;
}

.current-class__session-header span {
  margin-left: 10px;
}

.current-class__table {
  border-collapse: collapse;
  margin-top: 18px;
  width: 100%;
}

.current-class__table th,
.current-class__table td {
  border-top: 1px solid #e5e7eb;
  padding: 12px 10px;
  text-align: left;
}

.current-class__table th {
  color: #64748b;
  font-size: 13px;
  text-transform: uppercase;
}

.current-class__table th a {
  color: inherit;
}

.current-class__pace {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.current-class__badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  justify-self: start;
  padding: 4px 9px;
}

.current-class__badge--learning {
  background: #e0f2fe;
  color: #075985;
}

.current-class__badge--on_track {
  background: #dcfce7;
  color: #166534;
}

.current-class__badge--inactive {
  background: #f1f5f9;
  color: #475569;
}

.current-class__badge--ready_to_test {
  background: #0b5f59;
  color: #facc15;
  letter-spacing: 0.03em;
}

.current-class__badge--prep_to_test {
  background: #facc15;
  color: #422006;
}

.current-class__badge--needs_stripes {
  background: #fee2e2;
  color: #991b1b;
}

.current-class__badge--striping_paused {
  background: #f1f5f9;
  color: #475569;
}

.current-class__badge--days-ready {
  background: #fef3c7;
  color: #92400e;
}

.dashboard-reports__table td:first-child small {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

.dashboard-reports__total-row td {
  background: #f8fafc;
}

.dashboard-reports__total-row td:first-child strong {
  color: #0f172a;
}

.dashboard-reports__subhead th {
  color: #94a3b8;
  font-size: 11px;
  padding-bottom: 8px;
  padding-top: 4px;
}

.dashboard-reports__count {
  font-size: 18px;
  height: 38px;
  width: 38px;
}

.dashboard-reports__count-link {
  text-decoration: none;
}

.dashboard-reports__count-link:hover,
.dashboard-reports__count-link--active {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.dashboard-reports__pace-count {
  font-size: 16px;
  min-width: 34px;
  padding: 7px 10px;
  text-align: center;
}

.dashboard-reports__header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-reports__export-link {
  background: #0f766e;
  border-radius: 6px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.dashboard-reports__export-link:hover {
  background: #115e59;
}

.dashboard-reports__summary-table {
  max-width: 420px;
}

.dashboard-reports__summary-table th,
.dashboard-reports__summary-table td {
  padding-bottom: 8px;
  padding-top: 8px;
}

.dashboard-reports__summary-table th:nth-child(2),
.dashboard-reports__summary-table td:nth-child(2),
.dashboard-reports__summary-table th:nth-child(3),
.dashboard-reports__summary-table td:nth-child(3) {
  text-align: right;
  width: 72px;
}

.dashboard-reports__summary-table td {
  color: #0f172a;
}

.dashboard-reports__completed-belts {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-reports__completed-belt-headings,
.dashboard-reports__completed-belt summary {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(180px, 1fr) 100px 120px;
}

.dashboard-reports__completed-belt-headings {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 36px 10px 14px;
  text-transform: uppercase;
}

.dashboard-reports__completed-belt-headings span:not(:first-child),
.dashboard-reports__completed-belt summary span {
  text-align: right;
}

.dashboard-reports__completed-belt + .dashboard-reports__completed-belt {
  border-top: 1px solid #e5e7eb;
}

.dashboard-reports__completed-belt summary {
  cursor: pointer;
  padding: 12px 14px;
}

.dashboard-reports__completed-belt[open] summary {
  background: #f8fafc;
}

.dashboard-reports__completed-belt-students {
  border-top: 1px solid #e5e7eb;
}

.dashboard-reports__completed-belt-students th:nth-child(n + 2),
.dashboard-reports__completed-belt-students td:nth-child(n + 2) {
  text-align: right;
}

.dashboard-reports__student-filter {
  border-top: 1px solid #e5e7eb;
  margin-top: 22px;
  padding-top: 18px;
}

.dashboard-reports__student-filter h3 {
  margin: 0;
}

.dashboard-reports__student-filter p {
  color: #64748b;
  font-weight: 700;
  margin: 4px 0 0;
}

.dashboard-reports__clear-link {
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-reports__student-table {
  margin-top: 12px;
}

.dashboard-reports__student-table td small {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

.current-class__progress {
  background: #e5e7eb;
  border-radius: 999px;
  height: 8px;
  position: relative;
  width: 100%;
}

.current-class__progress span {
  background: #0f766e;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.current-class__progress-target {
  background: #facc15;
  border: 2px solid #422006;
  border-radius: 999px;
  box-shadow: 0 0 0 2px white;
  height: 14px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
}

.current-class__pace small {
  color: #64748b;
}

.current-class__stripe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 260px;
}

.class-session-summary__badges {
  align-items: center;
  display: flex;
  gap: 12px;
}

.class-session-summary__award-badge {
  align-items: center;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  color: #92400e;
  display: inline-flex;
  gap: 6px;
  min-height: 34px;
  padding: 4px 10px;
}

.class-session-summary__award-badge > span {
  color: #f59e0b;
  font-size: 18px;
  line-height: 1;
}

.current-class__stripe-actions form {
  margin: 0;
}

.current-class__stripe {
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  user-select: none;
}

.current-class__stripe input {
  appearance: none;
  background: var(--stripe-color);
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-radius: 999px;
  display: inline-grid;
  height: 20px;
  margin: 0;
  place-content: center;
  width: 20px;
}

.current-class__stripe input::before {
  color: var(--stripe-check-color, white);
  content: "";
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.current-class__stripe input:checked::before {
  content: "✓";
}

.current-class__stripe-dot {
  background: var(--stripe-color);
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-radius: 999px;
  display: inline-grid;
  height: 20px;
  place-content: center;
  width: 20px;
}

.current-class__stripe--earned .current-class__stripe-dot::before {
  color: var(--stripe-check-color, white);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.current-class__stripe--awarded-this-class .current-class__stripe-dot::before {
  content: "★";
}

.current-class__stripe-name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.current-class__stripe--readonly {
  cursor: default;
}

.current-class__stripe--earned {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  cursor: default;
}

.dashboard-classes__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-classes__item {
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: inherit;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px;
  text-decoration: none;
}

.dashboard-classes__item--link:hover {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
}

.dashboard-classes__item h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.dashboard-classes__item p,
.dashboard-classes__meta {
  color: #64748b;
  font-size: 14px;
}

.dashboard-classes__meta {
  align-items: flex-end;
  display: grid;
  gap: 4px;
  text-align: right;
}

.dashboard-tools__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-tools__actions form {
  margin: 0;
}

.dashboard-tools__button {
  background: #0f766e;
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  padding: 11px 14px;
  text-decoration: none;
}

.dashboard-tools__button--secondary {
  background: #e5e7eb;
  color: #1f2933;
}

.dashboard-tools__button--follow-up {
  background: #2563eb;
}

.dashboard-tools__button--danger {
  background: #dc2626;
}

.dashboard-tools__flash {
  border-radius: 6px;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.dashboard-tools__flash--notice {
  background: #dcfce7;
  color: #166534;
}

.dashboard-tools__flash--alert {
  background: #fee2e2;
  color: #991b1b;
}

.google-contacts-settings__status {
  border-radius: 999px;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 11px;
}

.google-contacts-settings__status--verified {
  background: #dcfce7;
  color: #166534;
}

.google-contacts-settings__status--unverified {
  background: #fef3c7;
  color: #92400e;
}

.google-contacts-settings__status--error {
  background: #fee2e2;
  color: #991b1b;
}

.google-contacts-settings__status--disconnected {
  background: #e5e7eb;
  color: #475569;
}

.google-contacts-settings__configuration-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  margin: 18px 0;
  padding: 14px;
}

.google-contacts-settings__configuration-warning p {
  margin: 6px 0 0;
}

.google-contacts-settings__details {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 20px 0;
}

.google-contacts-settings__details div {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 14px;
}

.google-contacts-settings__details dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.google-contacts-settings__details dd {
  font-weight: 700;
  margin: 5px 0 0;
}

.google-contacts-settings__disconnect {
  background: #b91c1c;
}

.google-contact-search__form {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.google-contact-search__form input[type="search"] {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  flex: 1;
  font-size: 16px;
  padding: 11px 12px;
}

.google-contact-search__results,
.student-profile__contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.google-contact-card {
  align-items: start;
  background: #f8fafc;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr);
  padding: 16px;
}

.google-contact-card__identity {
  align-items: start;
  display: flex;
  gap: 12px;
}

.google-contact-card__identity img,
.google-contact-card__initials {
  border-radius: 50%;
  flex: 0 0 52px;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.google-contact-card__initials {
  background: #dbeafe;
  color: #1d4ed8;
  display: grid;
  font-weight: 800;
  place-items: center;
}

.google-contact-card h3,
.google-contact-card p {
  margin: 0 0 5px;
}

.google-contact-card__relationship {
  color: #475569;
  font-weight: 800;
}

.google-contact-card__link-form {
  display: grid;
  gap: 10px;
}

.google-contact-card__link-form > div {
  display: grid;
  gap: 4px;
}

.google-contact-card__link-form label {
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.google-contact-card__link-form select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 9px;
}

.google-contact-card__primary {
  align-items: center;
  display: flex;
  gap: 7px;
}

.google-contact-card__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.google-contact-card__unlink {
  background: transparent;
  border: 0;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.family-profile__contact {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.family-profile__contact h2,
.family-profile__contact p,
.family-profile__heading h2,
.family-profile__heading p {
  margin: 0 0 5px;
}

.family-profile__eyebrow {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.family-profile__heading {
  margin: 26px 0 12px;
}

.family-profile__students {
  display: grid;
  gap: 16px;
}

.family-student-summary .dashboard-progress__belt-cell {
  align-items: center;
  gap: 9px;
}

.family-profile__pin {
  gap: 4px;
  padding: 3px 8px;
}

.current-class__session-header .family-profile__pin strong {
  background: transparent;
  border-radius: 0;
  color: inherit;
  display: inline;
  font-size: 13px;
  height: auto;
  width: auto;
}

.family-profile__pin > span {
  font-size: 9px;
  padding-left: 6px;
}

@media (max-width: 720px) {
  .family-profile__contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .google-contact-card {
    grid-template-columns: 1fr;
  }

  .google-contact-search__form {
    align-items: stretch;
    flex-direction: column;
  }
}

.enrollment-contact-summary {
  margin-bottom: 20px;
}

.enrollment-contact-wizard {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  max-height: min(780px, 88vh);
  max-width: 680px;
  padding: 24px;
  width: calc(100% - 32px);
}

.enrollment-contact-wizard::backdrop {
  background: rgba(15, 23, 42, 0.58);
}

.enrollment-contact-wizard__header {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.enrollment-contact-wizard__header h2,
.enrollment-contact-wizard__header small {
  margin: 0;
}

.enrollment-contact-wizard__header small {
  color: #64748b;
  display: block;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.enrollment-contact-wizard__header button {
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.enrollment-contact-wizard__results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.enrollment-contact-wizard__result {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px;
}

.enrollment-contact-wizard__result small {
  color: #64748b;
  display: block;
  margin-top: 3px;
}

.enrollment-contact-wizard__divider {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 12px;
  margin: 22px 0;
}

.enrollment-contact-wizard__divider::before,
.enrollment-contact-wizard__divider::after {
  background: #dbe3ea;
  content: "";
  flex: 1;
  height: 1px;
}

.enrollment-contact-wizard__create summary {
  color: #0f766e;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.enrollment-contact-wizard__create form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.enrollment-contact-wizard__skip {
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  display: block;
  font-weight: 700;
  margin: 22px auto 0;
  text-decoration: underline;
}

.class-planning__back {
  margin-bottom: 18px !important;
}

.class-planning__matrix-wrap {
  border: 1px solid #d6dde5;
  border-radius: 8px;
  overflow-x: auto;
}

.class-planning__matrix {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  width: 100%;
}

.class-planning__matrix th,
.class-planning__matrix td {
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  min-width: 210px;
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.class-planning__matrix tr:first-child th {
  border-top: 0;
}

.class-planning__matrix th:first-child,
.class-planning__matrix td:first-child {
  border-left: 0;
}

.class-planning__matrix thead th {
  background: #f8fafc;
}

.class-planning__matrix tbody tr:not(.class-planning__section-row) th,
.class-planning__corner {
  background: #f8fafc;
  min-width: 150px;
  position: sticky;
  left: 0;
  z-index: 2;
}

.class-planning__corner {
  z-index: 3;
}

.class-planning__belt {
  background:
    linear-gradient(
      to right,
      var(--belt-left-band-color) 0 14%,
      var(--belt-color) 14% 86%,
      var(--belt-right-band-color) 86% 100%
    );
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  display: block;
  height: 12px;
  margin-bottom: 8px;
  width: 72px;
}

.class-planning__matrix thead strong,
.class-planning__matrix thead small {
  display: block;
}

.class-planning__matrix thead small,
.class-planning__techniques small {
  color: #64748b;
  margin-top: 3px;
}

.class-planning__students,
.class-planning__techniques {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.class-planning__students {
  color: #475569;
  font-size: 13px;
}

.class-planning__section-row th {
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  letter-spacing: 0;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: center;
  text-transform: uppercase;
}

.class-planning__common-section-row th {
  background: #dbeafe;
}

.class-planning__needs-section-row th {
  background: #ffedd5;
}

.class-planning__common-row th,
.class-planning__common-row td {
  background: #eff6ff;
}

.class-planning__stripe-label {
  min-width: 180px;
}

.class-planning__stripe-label strong,
.class-planning__stripe-label small {
  display: block;
}

.class-planning__common-row .class-planning__stripe-label small {
  color: #1d4ed8;
  margin-top: 3px;
}

.class-planning__common {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.class-planning__common li {
  background: white;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 8px 10px;
}

.class-planning__common strong,
.class-planning__common small {
  display: block;
}

.class-planning__common small {
  color: #1d4ed8;
  margin-top: 3px;
}

.class-planning__needs-row th,
.class-planning__needs-row td {
  background: #fff7ed;
}

.class-planning__needs-row .class-planning__stripe-label small {
  color: #9a3412;
  margin-top: 3px;
}

.class-planning__need-count {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}

.class-planning__need-count .class-planning__stripe-dot {
  margin-right: 0;
}

.class-planning__need-count small {
  color: #64748b;
}

.class-planning__needs {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.class-planning__needs li {
  background: white;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 8px 10px;
}

.class-planning__needs strong,
.class-planning__needs small {
  display: block;
}

.class-planning__needs small {
  color: #9a3412;
  margin-top: 3px;
}

.class-planning__techniques li {
  background: #f0fdfa;
  border-left: 3px solid #0f766e;
  border-radius: 4px;
  padding: 8px 10px;
}

.class-planning__techniques small {
  display: block;
}

.class-planning__stripe-dot {
  background: var(--stripe-color);
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  display: inline-block;
  height: 14px;
  margin-right: 7px;
  vertical-align: -2px;
  width: 14px;
}

.class-planning__empty-cell {
  color: #94a3b8;
  font-style: italic;
}

.curriculum__table td:first-child {
  min-width: 220px;
  vertical-align: top;
}

.curriculum__requirements {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.curriculum__requirements li {
  background: #f8fafc;
  border-left: 3px solid #0f766e;
  border-radius: 4px;
  padding: 8px 10px;
}

.curriculum__requirements strong,
.curriculum__requirements small {
  display: block;
}

.curriculum__requirements small {
  color: #64748b;
  margin-top: 3px;
}

.dashboard-tools__promotion-form {
  margin-top: 18px;
}

.belt-test-event__page-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.belt-test-event__list,
.belt-test-event__form {
  display: grid;
  gap: 18px;
}

.belt-test-event__card,
.belt-test-event__show-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.belt-test-event__card h2,
.belt-test-event__panel h2 {
  margin-top: 0;
}

.belt-test-event__card-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  white-space: nowrap;
}

.belt-test-event__description {
  color: #475569;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 720px;
  white-space: pre-wrap;
}

.belt-test-event__description-toggle {
  margin-top: 12px;
}

.belt-test-event__description-toggle summary {
  color: #0f766e;
  cursor: pointer;
  font-weight: 800;
  width: fit-content;
}

.belt-test-event__description-hide,
.belt-test-event__description-toggle[open] .belt-test-event__description-show {
  display: none;
}

.belt-test-event__description-toggle[open] .belt-test-event__description-hide {
  display: inline;
}

.belt-test-event__description p {
  margin: 0 0 10px;
}

.belt-test-event__panel + .belt-test-event__panel {
  margin-top: 18px;
}

.belt-test-event__form > label,
.belt-test-event__details-grid label {
  display: grid;
  font-weight: 700;
  gap: 7px;
}

.belt-test-event__form label small {
  color: #64748b;
  font-weight: 500;
}

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

.belt-test-event__form input[type="date"],
.belt-test-event__form input[type="time"],
.belt-test-event__form textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.belt-test-event__roster-picker {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin: 0;
  padding: 16px;
}

.belt-test-event__roster-picker legend {
  font-weight: 800;
  padding: 0 6px;
}

.belt-test-event__student-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.belt-test-event__student-option {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

.belt-test-event__student-option:has(input:checked) {
  background: #ecfdf5;
  border-color: #0f766e;
}

.belt-test-event__student-option input[type="checkbox"] {
  accent-color: #0f766e;
  height: 18px;
  width: 18px;
}

.belt-test-event__student-option span,
.belt-test-event__student-option small {
  display: block;
}

.belt-test-event__student-option small {
  color: #64748b;
  margin-top: 3px;
}

.dashboard-tools__actions--top {
  justify-content: flex-end;
  margin-bottom: -4px;
}

.belt-test-event__student-search {
  margin: 18px 0 22px;
}

.belt-test-event__add-student-toggle {
  border-top: 1px solid #e2e8f0;
  margin-top: 22px;
  padding-top: 16px;
}

.belt-test-event__add-student-toggle > summary {
  color: #0f766e;
  cursor: pointer;
  font-weight: 800;
  width: fit-content;
}

.belt-test-event__add-student-hide,
.belt-test-event__add-student-toggle[open] .belt-test-event__add-student-show {
  display: none;
}

.belt-test-event__add-student-toggle[open] .belt-test-event__add-student-hide {
  display: inline;
}

.belt-test-event__test-plan-toggle > summary {
  color: #0f766e;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  width: fit-content;
}

.belt-test-event__test-plan-hide,
.belt-test-event__test-plan-toggle[open] .belt-test-event__test-plan-show {
  display: none;
}

.belt-test-event__test-plan-toggle[open] .belt-test-event__test-plan-hide {
  display: inline;
}

.belt-test-event__test-plan {
  margin-top: 20px;
}

.belt-test-event__test-plan-section + .belt-test-event__test-plan-section {
  border-top: 1px solid #dbe3ea;
  margin-top: 28px;
  padding-top: 22px;
}

.belt-test-event__forms-plan {
  display: grid;
  gap: 12px;
}

.belt-test-event__forms-belt {
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  overflow: hidden;
}

.belt-test-event__forms-belt > header {
  align-items: center;
  background: #f1f5f9;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

.belt-test-event__forms-belt > header .dashboard-progress__belt-icon + .dashboard-progress__belt-icon {
  margin-left: 8px;
}

.belt-test-event__forms-belt > header > span:last-child {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.belt-test-event__forms-content {
  padding: 12px;
}

.belt-test-event__forms-content small {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.belt-test-event__forms-content ul {
  margin: 0;
  padding-left: 20px;
}

.belt-test-event__forms-content li + li {
  margin-top: 4px;
}

.belt-test-event__sparring-bouts,
.belt-test-event__sparring-unassigned {
  display: grid;
  gap: 10px;
}

.belt-test-event__sparring-bout,
.belt-test-event__sparring-student {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-height: 42px;
  padding: 9px 12px;
}

.belt-test-event__sparring-bouts + .belt-test-event__sparring-unassigned {
  margin-top: 10px;
}

.belt-test-event__sparring-bout > strong {
  color: #0f766e;
  min-width: 58px;
}

.belt-test-event__sparring-versus {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.belt-test-event__sparring-student > strong {
  flex: 1;
}

.belt-test-event__sparring-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.belt-test-event__sparring-header h2 {
  margin: 0;
}

.belt-test-event__sparring-editor form,
.belt-test-event__sparring-board {
  display: grid;
  gap: 14px;
}

.belt-test-event__sparring-requirements {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.belt-test-event__sparring-requirements > label {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  display: flex;
  font-weight: 700;
  gap: 12px;
  justify-content: space-between;
  padding: 8px 10px;
}

.belt-test-event__sparring-fight-count {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: 11px;
  gap: 7px;
  text-transform: uppercase;
}

.belt-test-event__sparring-designation {
  color: #0f766e;
  display: block;
  font-size: 10px;
  margin-top: 2px;
  text-transform: uppercase;
}

.belt-test-event__sparring-fight-count input {
  border: 1px solid #94a3b8;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  padding: 6px;
  text-align: center;
  width: 48px;
}

.belt-test-event__sparring-edit-bout {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 62px minmax(190px, 1fr) auto minmax(190px, 1fr);
  padding: 12px;
}

.belt-test-event__sparring-edit-bout > strong {
  color: #0f766e;
}

.belt-test-event__sparring-drop-zone {
  align-items: stretch;
  background: #eef3f7;
  border: 2px dashed #94a3b8;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 76px;
  padding: 8px;
}

.belt-test-event__sparring-drop-zone > small {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.belt-test-event__sparring-pool {
  align-items: stretch;
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 92px;
  padding: 12px;
}

.belt-test-event__sparring-pool-hint {
  color: #64748b;
  grid-column: 1 / -1;
  margin: 0;
}

.belt-test-event__sparring-drag-card {
  align-items: center;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: grab;
  display: flex;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
}

.belt-test-event__sparring-drag-card:active {
  cursor: grabbing;
}

.belt-test-event__sparring-drag-card--dragging {
  opacity: 0.45;
}

.belt-test-event__sparring-drag-card strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.belt-test-event__student-search > label {
  display: block;
  font-weight: 800;
  margin-bottom: 7px;
}

.belt-test-event__student-search > input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.belt-test-event__search-results {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.belt-test-event__search-result {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 8px;
}

.belt-test-event__search-result small {
  color: #64748b;
  display: block;
  margin-top: 3px;
}

.belt-test-event__search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.belt-test-event__attendance-counts {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.belt-test-event__student-grid--roster .belt-test-event__student-option {
  cursor: default;
  justify-content: space-between;
}

.belt-test-event__student-grid--roster {
  grid-template-columns: 1fr;
}

.belt-test-event__student-grid--roster .belt-test-event__attendee {
  display: grid;
  gap: 16px;
  grid-template-columns: 24px auto auto minmax(200px, 1fr) auto auto auto auto;
}

.belt-test-event__promotion-form .dashboard-tools__actions {
  justify-content: flex-end;
  margin-bottom: 10px;
}

.belt-test-event__promotion-dialog {
  background: white;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
  color: #0f172a;
  max-width: min(430px, calc(100vw - 32px));
  padding: 24px;
  width: 100%;
}

.belt-test-event__promotion-dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
}

.belt-test-event__promotion-dialog h2 {
  margin: 0 0 8px;
}

.belt-test-event__promotion-dialog p {
  color: #475569;
  margin: 0 0 18px;
}

.belt-test-event__promotion-dialog .dashboard-tools__actions {
  justify-content: flex-end;
  margin-top: 20px;
}

.belt-test-event__roster-selection-heading {
  padding: 0 20px 4px;
}

.belt-test-event__attendee-selection {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 18px;
}

.belt-test-event__status-form select {
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  max-width: 112px;
  padding: 7px 24px 7px 8px;
}

.belt-test-event__attendee--invited .dashboard-progress__student-photo {
  border-color: #a8a9ad;
  box-shadow: 0 0 0 2px rgba(168, 169, 173, 0.3);
}

.belt-test-event__attendee--registered .dashboard-progress__student-photo {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.belt-test-event__attendee--paid .dashboard-progress__student-photo {
  border-color: #228b22;
  box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.22);
}

.belt-test-event__attendee--promoted .dashboard-progress__student-photo {
  border-color: #b8860b;
  box-shadow: 0 0 0 2px #facc15;
}

.belt-test-event__attendee .dashboard-progress__student-photo--fallback {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  line-height: 1;
  justify-content: center;
}

.belt-test-event__attendee .dashboard-progress__belt-size-input {
  height: auto;
  min-width: 104px;
  width: 104px;
}

.belt-test-event__attendee-name {
  min-width: 0;
}

.belt-test-event__attendee-detail {
  align-items: center;
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 72px;
}

.belt-test-event__attendee-detail small {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.belt-test-event__attendee-size {
  min-width: 60px;
}

.belt-test-event__attendee-next-belt-name {
  max-width: 130px;
  min-width: 100px;
  text-align: center;
}

.belt-test-event__remove-student {
  background: transparent;
  border: 0;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 6px;
}

.belt-test-event__remove-student:hover {
  color: #7f1d1d;
  text-decoration: underline;
}

.dashboard-tools__promotion-table input[type="checkbox"] {
  accent-color: #0f766e;
  height: 18px;
  width: 18px;
}

.dashboard-tools__promotion-table input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.dashboard-tools__muted {
  color: #64748b;
}

.calendar-page {
  overflow: visible;
}

.calendar-page__toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 18px;
}

.calendar-page__toolbar h2 {
  margin: 0 auto 0 0;
}

.calendar-page__toolbar .button_to {
  margin: 0;
}

.calendar-page__walk-in {
  background: #7c3aed;
}

.prospects-page__filters,
.prospects-page__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prospects-page__filters {
  padding: 18px;
}

.prospects-page__filters form,
.prospects-page__actions form {
  margin: 0;
}

.prospects-page__table {
  margin: 0;
}

.prospects-page__sync-error {
  color: #b91c1c;
  font-weight: 800;
}

.calendar-page__empty {
  padding: 8px 18px 24px;
}

.calendar-grid {
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-grid__weekday {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 9px;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid__day {
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  min-height: 118px;
  padding: 8px;
}

.calendar-grid__day--outside {
  background: #f8fafc;
  color: #94a3b8;
}

.calendar-grid__day--today .calendar-grid__date {
  align-items: center;
  background: #0f766e;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.calendar-grid__date {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.calendar-grid__events {
  display: grid;
  gap: 5px;
}

.calendar-grid__event-details {
  min-width: 0;
  position: relative;
}

.calendar-grid__event-details > summary {
  cursor: pointer;
  list-style: none;
}

.calendar-grid__event-details > summary::-webkit-details-marker {
  display: none;
}

.calendar-grid__event {
  background: #ccfbf1;
  border-left: 3px solid #0f766e;
  border-radius: 3px;
  color: #134e4a;
  display: grid;
  font-size: 0.72rem;
  gap: 1px;
  line-height: 1.25;
  overflow: hidden;
  padding: 5px 6px;
  text-decoration: none;
}

.calendar-grid__event strong,
.calendar-grid__event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-grid__event:hover {
  background: #99f6e4;
}

.calendar-grid__event-card {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgb(15 23 42 / 18%);
  color: #0f172a;
  left: 0;
  min-width: 280px;
  padding: 14px;
  position: absolute;
  top: calc(100% + 5px);
  width: min(360px, 70vw);
  z-index: 20;
}

.calendar-grid__day:nth-child(7n) .calendar-grid__event-card,
.calendar-grid__day:nth-child(7n - 1) .calendar-grid__event-card {
  left: auto;
  right: 0;
}

.calendar-grid__event-card-header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.calendar-grid__event-card-header > strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.calendar-grid__check-in {
  flex: 0 0 auto;
  font-size: 0.75rem;
  padding: 7px 10px;
}

.calendar-check-in__back {
  display: inline-block;
  margin-bottom: 10px;
}

.calendar-check-in__intro {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 20px;
}

.calendar-check-in__intro h2,
.calendar-check-in__intro p {
  margin: 0;
}

.calendar-check-in__intro p {
  color: #64748b;
  margin-top: 5px;
}

.calendar-check-in__progress {
  background: #f1f5f9;
  border-radius: 999px;
  color: #475569;
  flex: 0 0 auto;
  padding: 8px 12px;
}

.calendar-check-in__steps {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.family-check-in {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 20px;
}

.family-check-in__heading {
  align-items: baseline;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.family-check-in__heading span,
.family-check-in__member small {
  color: #64748b;
}

.family-check-in__members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.family-check-in__member {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  text-decoration: none;
}

.family-check-in__member--current {
  border-color: #0f766e;
  box-shadow: 0 0 0 1px #0f766e;
}

.family-check-in__manage {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.family-check-in__manage small {
  color: #64748b;
}

.family-check-in__link-form {
  align-items: end;
  display: flex;
  flex: 1 1 520px;
  flex-wrap: wrap;
  gap: 8px;
}

.family-check-in__link-form label {
  flex: 1 0 100%;
  font-size: 0.82rem;
  font-weight: 800;
}

.family-check-in__link-form select {
  flex: 1 1 280px;
}

.family-check-in__unlink {
  background: transparent;
  border: 0;
  color: #b91c1c;
  cursor: pointer;
  font-weight: 700;
  padding: 8px 0;
}

.calendar-check-in__siblings {
  display: grid;
  gap: 12px;
}

.calendar-check-in__sibling {
  position: relative;
}

.calendar-check-in__remove-child {
  background: transparent;
  border: 0;
  color: #b91c1c;
  cursor: pointer;
  font-weight: 700;
  position: absolute;
  right: 12px;
  top: 12px;
}

.calendar-check-in__add-child {
  justify-self: start;
}

.prospect-notes {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 20px;
}

.prospect-notes form {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.prospect-notes label {
  font-weight: 800;
  grid-column: 1 / -1;
}

.prospect-notes textarea {
  min-height: 78px;
  resize: vertical;
}

.prospects-page__name {
  background: transparent;
  border: 0;
  color: #0f766e;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prospect-details {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgb(15 23 42 / 28%);
  max-height: calc(100vh - 40px);
  max-width: min(520px, calc(100vw - 32px));
  overflow: auto;
  padding: 20px;
  width: 100%;
}

.prospect-details::backdrop {
  background: rgb(15 23 42 / 45%);
}

.prospect-details__header {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.prospect-details__header h2,
.prospect-details__notes p {
  margin: 0;
}

.prospect-details__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.prospect-details__steps {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.prospect-details__steps div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.prospect-details__steps dd {
  color: #64748b;
  margin: 0;
}

.prospect-details__steps .prospect-details__done {
  color: #0f766e;
  font-weight: 800;
}

.prospect-details__notes {
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 12px;
  white-space: pre-wrap;
}

.prospects-page__action--booked {
  background: #64748b;
}

.prospects-page__action--in-progress {
  background: #2563eb;
}

.prospects-page__action--no-show,
.prospects-page__action--closed {
  background: #dc2626;
}

.prospects-page__action--joined {
  background: #15803d;
}

.prospects-page__action--follow-up {
  background: #d97706;
}

.prospect-language {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 10px;
  margin-top: 14px;
}

.prospect-language__options {
  background: #e2e8f0;
  border-radius: 999px;
  display: flex;
  gap: 3px;
  padding: 3px;
}

.prospect-language__options form {
  margin: 0;
}

.prospect-language__button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  font: inherit;
  padding: 7px 12px;
}

.prospect-language__button--active,
.prospect-language__button:disabled {
  background: white;
  box-shadow: 0 1px 3px rgb(15 23 42 / 15%);
  color: #0f766e;
  cursor: default;
  opacity: 1;
}

.calendar-check-in__step {
  align-items: center;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px;
  text-align: left;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
  width: 100%;
}

.calendar-check-in__step:hover {
  border-color: #0f766e;
  transform: translateY(-1px);
}

.calendar-check-in__step:disabled {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.calendar-check-in__step:disabled .calendar-check-in__step-copy small,
.calendar-check-in__step:disabled .calendar-check-in__step-status {
  color: #94a3b8;
}

.calendar-check-in__step:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 2px;
}

.calendar-check-in__step-number {
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.calendar-check-in__step-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
}

.calendar-check-in__step-copy small {
  color: #64748b;
}

.calendar-check-in__step-value {
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 3px;
}

.calendar-check-in__step-pin {
  color: #0f766e;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.calendar-check-in__step-pin strong {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.calendar-check-in__step-status {
  color: #64748b;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 800;
}

.calendar-check-in__step--done {
  background: #f0fdfa;
  border-color: #0f766e;
}

.calendar-check-in__step--done .calendar-check-in__step-number {
  background: #0f766e;
  color: white;
}

.calendar-check-in__step--done .calendar-check-in__step-status {
  color: #0f766e;
}

.calendar-check-in__step--follow-up {
  background: #eff6ff;
  border-color: #2563eb;
}

.calendar-check-in__step--follow-up .calendar-check-in__step-number {
  background: #2563eb;
  color: white;
}

.calendar-check-in__step--follow-up .calendar-check-in__step-status,
.calendar-check-in__step--follow-up .calendar-check-in__step-value {
  color: #1d4ed8;
}

.calendar-check-in__step--not-good-fit {
  background: #fef2f2;
  border-color: #dc2626;
}

.calendar-check-in__step--not-good-fit .calendar-check-in__step-number {
  background: #dc2626;
  color: white;
}

.calendar-check-in__step--not-good-fit .calendar-check-in__step-status,
.calendar-check-in__step--not-good-fit .calendar-check-in__step-value {
  color: #b91c1c;
}

.calendar-check-in__dialog {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgb(15 23 42 / 28%);
  max-width: calc(100vw - 32px);
  padding: 0;
  width: 420px;
}

.calendar-check-in__dialog--wide {
  width: 680px;
}

.calendar-check-in__dialog--outcome {
  width: 620px;
}

.calendar-check-in__dialog::backdrop {
  background: rgb(15 23 42 / 55%);
}

.calendar-check-in__dialog form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.calendar-check-in__dialog h2,
.calendar-check-in__dialog p {
  margin: 0;
}

.calendar-check-in__size-field {
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.calendar-check-in__size-field select {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.calendar-check-in__dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.calendar-check-in__outcome-content {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.calendar-check-in__outcome-content .calendar-check-in__dialog-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.calendar-check-in__outcome-content .calendar-check-in__dialog-actions button {
  flex: 1 1 120px;
  min-height: 54px;
}

.calendar-check-in__verify-group {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
}

.calendar-check-in__verify-group legend {
  font-weight: 800;
  padding: 0 5px;
}

.calendar-check-in__trial-placement {
  background: #f8fafc;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.calendar-check-in__trial-placement div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.calendar-check-in__trial-placement dt {
  color: #64748b;
  font-weight: 700;
}

.calendar-check-in__trial-placement dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.calendar-check-in__confirmed form {
  justify-items: center;
  text-align: center;
}

.calendar-check-in__confirmed-icon {
  align-items: center;
  background: #0f766e;
  border-radius: 999px;
  color: white;
  display: flex;
  font-size: 1.8rem;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.calendar-contact-choice__matches,
.calendar-contact-choice__empty,
.calendar-contact-choice__actions {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.calendar-contact-choice__matches {
  border-bottom: 1px solid #e5e7eb;
}

.calendar-contact-choice__matches h3,
.calendar-contact-choice__empty h3,
.calendar-contact-choice__empty p {
  margin: 0;
}

.calendar-contact-choice__contact {
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px;
}

.calendar-contact-choice__contact > div {
  display: grid;
  gap: 3px;
}

.calendar-contact-choice__contact small {
  color: #64748b;
}

.calendar-contact-choice__actions {
  display: flex;
  flex-wrap: wrap;
}

.prospect-waiver {
  padding: clamp(20px, 4vw, 48px);
}

.prospect-waiver__heading,
.prospect-waiver > section {
  border-bottom: 1px solid #e2e8f0;
  padding: 0 0 22px;
}

.prospect-waiver > section {
  padding-top: 22px;
}

.prospect-waiver h2,
.prospect-waiver h3 {
  color: #0f172a;
  margin-top: 0;
}

.prospect-waiver p,
.prospect-waiver li {
  line-height: 1.65;
}

.prospect-waiver__heading dl,
.prospect-waiver__signed dl {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.prospect-waiver__heading dl div,
.prospect-waiver__signed dl div {
  display: flex;
  gap: 12px;
}

.prospect-waiver dt {
  color: #64748b;
  font-weight: 700;
  min-width: 130px;
}

.prospect-waiver dd {
  font-weight: 800;
  margin: 0;
}

.prospect-waiver__warning,
.prospect-waiver__release {
  background: #fff7ed;
  border-left: 4px solid #ea580c;
  padding: 14px 16px;
}

.prospect-waiver__form {
  display: grid;
  gap: 22px;
  padding-top: 28px;
}

.prospect-waiver__acknowledgment {
  align-items: start;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: flex;
  font-weight: 700;
  gap: 10px;
  padding: 14px;
}

.prospect-waiver__acknowledgment input {
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.prospect-waiver__signature-field {
  display: grid;
  gap: 8px;
}

.prospect-waiver__signature-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.prospect-waiver__clear {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.prospect-waiver__signature-field canvas {
  background: white;
  border: 2px solid #94a3b8;
  border-radius: 8px;
  height: 220px;
  touch-action: none;
  width: 100%;
}

.prospect-waiver__signature-field small {
  color: #64748b;
}

.prospect-waiver__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.prospect-waiver__signature-image {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: block;
  margin-top: 16px;
  max-height: 180px;
  max-width: 100%;
}

@media (max-width: 600px) {
  .calendar-check-in__intro {
    align-items: start;
    flex-direction: column;
  }

  .calendar-check-in__step {
    align-items: start;
  }

  .calendar-check-in__step-status {
    font-size: 0;
  }

  .calendar-check-in__step-status::after {
    content: "○";
    font-size: 1.3rem;
  }

  .calendar-check-in__step--done .calendar-check-in__step-status::after {
    content: "✓";
  }
}

.calendar-grid__event-card p {
  line-height: 1.4;
  margin: 5px 0;
  overflow-wrap: anywhere;
}

.calendar-grid__event-description {
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
  padding-top: 6px;
}

.calendar-grid__event-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .calendar-page {
    overflow-x: auto;
  }

  .calendar-grid,
  .calendar-page__toolbar {
    min-width: 700px;
  }

  .calendar-grid__day {
    min-height: 96px;
  }
}

.class-session-form {
  display: grid;
  gap: 18px;
}

.student-enrollment-form {
  display: grid;
  gap: 28px;
}

.student-enrollment-form__section {
  display: grid;
  gap: 18px;
}

.student-enrollment-form__section + .student-enrollment-form__section {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
}

.student-enrollment-form__section h2,
.student-enrollment-form__section p {
  margin: 0;
}

.student-enrollment-form__section p {
  color: #64748b;
  margin-top: 4px;
}

.student-enrollment-form__checkbox {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 10px;
  min-height: 48px;
}

.student-enrollment-form__checkbox input {
  height: 20px;
  width: 20px;
}

.student-enrollment-form__errors {
  margin-bottom: 0;
}

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

.dashboard-progress__search {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-progress__search-input,
.dashboard-progress__program-select,
.dashboard-progress__percentage-input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  color: #1f2933;
  font: inherit;
  max-width: 440px;
  padding: 11px 12px;
  width: 100%;
}

.dashboard-progress__program-select {
  max-width: 280px;
}

.dashboard-progress__percentage-filter {
  align-items: center;
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.dashboard-progress__percentage-input {
  max-width: 90px;
}

.test-planning__belt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 20px;
}

.test-planning__belt-group-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 16px;
}

.test-planning__belt-group-filter {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: #334155;
  display: inline-flex;
  gap: 10px;
  min-width: 230px;
  padding: 9px 12px;
  text-decoration: none;
}

.test-planning__belt-group-filter input {
  accent-color: #0f766e;
  pointer-events: none;
}

.test-planning__belt-group-filter span,
.test-planning__belt-group-filter small {
  display: block;
}

.test-planning__belt-group-filter small {
  color: #64748b;
  font-size: 11px;
  margin-top: 2px;
}

.test-planning__belt-group-filter--active {
  background: #ecfdf5;
  border-color: #0f766e;
  box-shadow: 0 0 0 1px #0f766e;
}

.test-planning__belt-filter {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 7px;
  padding: 7px 12px;
  text-decoration: none;
}

.test-planning__belt-filter .dashboard-progress__belt-icon {
  height: 14px;
  width: 28px;
}

.test-planning__belt-filter--active {
  box-shadow: 0 0 0 2px #0f172a;
}

.test-planning__sparring-badge {
  border: 2px solid transparent;
}

.test-planning__sparring-badge--earned {
  border-color: #b8860b;
  box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.25);
}

.test-planning__sparring-badge-button {
  cursor: pointer;
  font: inherit;
}

.test-planning__sparring-badge-button:hover,
.test-planning__sparring-badge-button:focus-visible {
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.3);
}

.test-planning__sparring-badge-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.test-planning__percentage-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.current-class__session-header .test-planning__percentage-badge {
  align-items: center;
  background: #e0e7ff;
  border: 2px solid #6366f1;
  border-radius: 999px;
  color: #3730a3;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  width: 44px;
}

.current-class__session-header .test-planning__percentage-badge--active {
  background: #4338ca;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.28);
  color: #fff;
}

.current-class__session-header .test-planning__percentage-badge--complete {
  border-color: #b8860b;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.28);
}

.current-class__session-header .test-planning__percentage-badge--complete.test-planning__percentage-badge--active {
  box-shadow:
    0 0 0 2px #facc15,
    0 0 0 5px rgba(184, 134, 11, 0.26);
}

.current-class__session-header .test-planning__average-stripes {
  aspect-ratio: 1.25;
  background: #4338ca;
  border: 0;
  border-radius: 0;
  clip-path: polygon(
    28% 0,
    72% 0,
    100% 28%,
    100% 72%,
    72% 100%,
    28% 100%,
    0 72%,
    0 28%
  );
  color: #fff;
  min-height: 44px;
  min-width: 55px;
  padding: 5px;
}

.test-planning__header {
  position: relative;
}

.dashboard-progress__header-filter {
  margin-left: auto;
  margin-right: clamp(140px, 22vw, 340px);
}

.dashboard-progress__sort-link {
  text-decoration: none;
}

.dashboard-progress__sort-link:hover {
  color: #0f766e;
}

.dashboard-progress__metric {
  align-items: baseline;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.dashboard-progress__metric small,
.dashboard-progress__table td > small {
  color: #64748b;
  font-size: 12px;
}

.dashboard-progress__belt-cell {
  display: inline-grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.dashboard-progress__table td:has(.dashboard-progress__belt-cell) {
  text-align: center;
}

.dashboard-progress__belt-cell small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-progress__days-cell {
  align-items: center;
  display: flex;
  gap: 5px;
  position: relative;
}

.dashboard-progress__days-popover {
  position: relative;
}

.dashboard-progress__belt-size-popover {
  display: inline-flex;
  margin-left: 3px;
  position: relative;
  vertical-align: middle;
}

.dashboard-progress__days-toggle,
.dashboard-progress__belt-size-toggle {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  list-style: none;
  width: 22px;
}

.dashboard-progress__belt-size-toggle {
  height: 18px;
  width: 18px;
}

.dashboard-progress__days-toggle::-webkit-details-marker,
.dashboard-progress__belt-size-toggle::-webkit-details-marker {
  display: none;
}

.dashboard-progress__days-toggle::before,
.dashboard-progress__belt-size-toggle::before {
  border-color: transparent transparent transparent #64748b;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  content: "";
  display: block;
  height: 0;
  width: 0;
}

.dashboard-progress__belt-size-toggle::before {
  border-width: 4px 0 4px 6px;
}

.dashboard-progress__days-popover[open] .dashboard-progress__days-toggle,
.dashboard-progress__belt-size-popover[open] .dashboard-progress__belt-size-toggle {
  background: #e0f2fe;
  border-color: #bae6fd;
}

.dashboard-progress__days-popover[open] .dashboard-progress__days-toggle::before,
.dashboard-progress__belt-size-popover[open] .dashboard-progress__belt-size-toggle::before {
  transform: rotate(90deg);
}

.dashboard-progress__days-panel,
.dashboard-progress__belt-size-panel {
  background: white;
  border: 1px solid #d6dde5;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  display: grid;
  gap: 7px;
  left: 0;
  min-width: 168px;
  padding: 10px;
  position: absolute;
  top: calc(100% + 6px);
  z-index: 5;
}

.dashboard-progress__belt-size-panel {
  left: auto;
  min-width: 180px;
  right: 0;
}

.dashboard-progress__days-form,
.dashboard-progress__belt-size-form {
  align-items: center;
  display: flex;
  gap: 6px;
}

.dashboard-progress__days-input,
.dashboard-progress__belt-size-input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
  padding: 7px 8px;
  width: 76px;
}

.dashboard-progress__belt-size-input {
  text-transform: uppercase;
  width: 86px;
}

.dashboard-progress__days-button,
.dashboard-progress__belt-size-button {
  background: #0f766e;
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.dashboard-progress__days-panel small,
.dashboard-progress__belt-size-panel small {
  color: #64748b;
  font-size: 12px;
}

.dashboard-progress__student {
  align-items: center;
  display: flex;
  gap: 10px;
}

.dashboard-progress__student small {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.dashboard-progress__student-details {
  min-width: 0;
}

.dashboard-progress__tap-in-form {
  margin-top: 7px;
}

.dashboard-progress__tap-in-button {
  background: #0f766e;
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 11px;
}

.dashboard-progress__tap-in-button:hover,
.dashboard-progress__tap-in-button:focus-visible {
  background: #115e59;
}

.dashboard-reports__belt-size {
  align-items: center;
  display: inline-flex;
  gap: 3px;
  white-space: nowrap;
}

.dashboard-progress__student-photo {
  border: 2px solid #d6dde5;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.dashboard-progress__student-photo--learning {
  border-color: #38bdf8;
}

.dashboard-progress__student-photo--on_track {
  border-color: #22c55e;
}

.dashboard-progress__student-photo--prep_to_test {
  border-color: #facc15;
}

.dashboard-progress__student-photo--ready_to_test {
  border-color: #0b5f59;
  box-shadow: 0 0 0 2px #facc15;
}

.dashboard-progress__student-photo--needs_stripes {
  border-color: #ef4444;
}

.dashboard-progress__student-photo--striping_paused {
  border-color: #94a3b8;
}

.dashboard-progress__student-photo--fallback {
  align-items: center;
  background: #e0f2fe;
  color: #075985;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
}

.student-photo-capture {
  display: inline-flex;
  flex: 0 0 auto;
}

.student-photo-capture__trigger {
  -webkit-touch-callout: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  margin: 0;
  padding: 0;
  touch-action: pan-x pan-y;
  user-select: none;
}

.student-photo-capture__trigger:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.student-photo-capture__input {
  display: none;
}

.student-photo-capture__dialog {
  background: white;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
  color: #0f172a;
  max-width: min(440px, calc(100vw - 32px));
  padding: 28px;
  text-align: center;
  width: 100%;
}

.student-photo-capture__dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
}

.student-photo-capture__dialog h2 {
  font-size: 25px;
  margin: 0 0 10px;
}

.student-photo-capture__dialog p {
  color: #475569;
  margin: 0;
}

.student-photo-capture__status {
  min-height: 24px;
  padding-top: 14px;
}

.student-photo-capture__actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.student-photo-capture__button {
  background: #0b5f59;
  border: 0;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  min-height: 52px;
  padding: 12px 18px;
}

.student-photo-capture__button--secondary {
  background: #e2e8f0;
  color: #1e293b;
}

.dashboard-progress__belt-icon {
  background: var(--belt-color);
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  display: inline-block;
  height: 14px;
  position: relative;
  vertical-align: middle;
  width: 42px;
}

.dashboard-progress__belt-icon::before,
.dashboard-progress__belt-icon::after {
  background: var(--belt-left-band-color, var(--belt-color));
  border: inherit;
  border-radius: 2px;
  content: "";
  height: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(32deg);
  width: 14px;
}

.dashboard-progress__belt-icon::before {
  left: -8px;
}

.dashboard-progress__belt-icon::after {
  background: var(--belt-right-band-color, var(--belt-color));
  right: -8px;
  transform: translateY(-50%) rotate(-32deg);
}

.dashboard-progress__stripes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 220px;
}

.dashboard-progress__stripes form {
  margin: 0;
}

.dashboard-progress__stripe {
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  padding: 6px 9px;
}

.dashboard-progress__stripe input {
  appearance: none;
  background: var(--stripe-color);
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-radius: 999px;
  display: inline-grid;
  height: 18px;
  margin: 0;
  place-content: center;
  width: 18px;
}

.dashboard-progress__stripe input::before {
  color: var(--stripe-check-color, white);
  content: "";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.dashboard-progress__stripe input:checked::before {
  content: "✓";
}

.dashboard-progress__stripe-status {
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
}

.dashboard-progress__stripe--earned {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  cursor: default;
}

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

.student-profile__progress-actions form {
  margin: 0;
}

.student-profile__notes-form {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.student-profile__notes-form label {
  font-weight: 800;
}

.student-profile__notes-form textarea {
  min-height: 110px;
  resize: vertical;
}

.student-profile__notes-form input[type="submit"] {
  justify-self: start;
}

.student-profile__identity {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.student-profile__pin {
  align-items: baseline;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  gap: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font: inherit;
}

.student-profile__pin-form {
  margin: 0;
}

.student-profile__pin small {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.student-profile__pin strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.student-profile__pin > span {
  border-left: 1px solid #cbd5e1;
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  margin-left: 2px;
  padding-left: 8px;
  text-transform: uppercase;
}

.student-profile__pin:hover,
.student-profile__pin:focus-visible {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.student-profile__differential {
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  display: grid;
  justify-items: center;
  min-width: 150px;
  padding: 8px 14px;
}

.student-profile__differential small {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.student-profile__differential > span:last-child {
  color: #64748b;
  font-size: 11px;
}

.student-profile__differential-value {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.student-profile__differential--positive {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.student-profile__differential--negative {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.student-profile__differential--neutral {
  background: #f8fafc;
  color: #475569;
}

.test-planning__differential {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: inline-grid;
  gap: 2px;
  min-width: 92px;
  padding: 6px 9px;
}

.test-planning__differential strong {
  font-size: 16px;
}

.test-planning__differential small {
  color: #64748b;
  font-size: 10px;
  white-space: nowrap;
}

.test-planning__differential--positive {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.test-planning__differential--negative {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.test-planning__differential--neutral {
  background: #f8fafc;
  color: #475569;
}

.student-profile__collapsible > summary {
  cursor: pointer;
  list-style: none;
}

.student-profile__collapsible > summary::-webkit-details-marker {
  display: none;
}

.student-profile__collapsible-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.student-profile__collapse-indicator {
  border-color: transparent transparent transparent #64748b;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  display: block;
  transition: transform 120ms ease;
}

.student-profile__collapsible[open] .student-profile__collapse-indicator {
  transform: rotate(90deg);
}

.student-profile__collapsible-content {
  margin-top: 18px;
}

.student-profile__belt-history-belt {
  align-items: center;
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.student-profile__belt-history-belt .dashboard-progress__belt-icon {
  flex: 0 0 auto;
}

.student-profile__historical-attendance-form {
  align-items: center;
  display: flex;
  gap: 6px;
}

.student-profile__historical-attendance-form input[type="number"] {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 8px;
  width: 76px;
}

.student-profile__historical-attendance-form input[type="submit"] {
  background: #0f766e;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 7px 10px;
}

.student-profile__secondary-program-list {
  display: grid;
  gap: 8px;
}

.student-profile__secondary-program {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.student-profile__secondary-program small {
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.current-class__empty {
  color: #64748b;
  font-size: 18px;
  padding: 24px 0;
}

@media (max-width: 700px) {
  .current-class {
    padding: 16px;
  }

  .current-class__header,
  .current-class__session-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-profile__differential {
    justify-items: start;
    width: 100%;
  }

  .test-planning__percentage-summary {
    left: auto;
    position: static;
    transform: none;
  }

  .class-session-form__grid,
  .dashboard-classes__item,
  .belt-test-event__details-grid,
  .belt-test-event__student-grid,
  .belt-test-event__search-results {
    grid-template-columns: 1fr;
  }

  .belt-test-event__card,
  .belt-test-event__show-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .belt-test-event__card-actions {
    align-items: flex-start;
  }

  .belt-test-event__student-grid--roster .belt-test-event__attendee {
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
  }

  .belt-test-event__sparring-edit-bout,
  .belt-test-event__sparring-pool,
  .belt-test-event__sparring-requirements {
    grid-template-columns: 1fr;
  }

  .belt-test-event__sparring-edit-bout > strong,
  .belt-test-event__sparring-edit-bout > .belt-test-event__sparring-versus {
    text-align: center;
  }

  .belt-test-event__sparring-pool-hint {
    grid-column: auto;
  }


  .belt-test-event__attendee-name {
    grid-column: 2 / -1;
  }

  .dashboard-classes__item {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-classes__meta {
    align-items: flex-start;
    text-align: left;
  }

  .current-class__table {
    display: block;
    overflow-x: auto;
  }
}
.payment-import__form {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.payment-import__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.payment-import__summary > div {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.payment-import__summary strong,
.payment-import__summary span,
.payment-import__table small {
  display: block;
}

.payment-import__summary strong { font-size: 1.5rem; }
.payment-import__summary span,
.payment-import__table small { color: #5f6368; }

.payment-import__match-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-import__student-picker {
  display: grid;
  gap: 0.25rem;
  min-width: 15rem;
}

.payment-import__student-picker input,
.payment-import__student-picker select {
  box-sizing: border-box;
  min-height: 2.25rem;
  width: 100%;
}

.payment-import__student-picker small {
  min-height: 1em;
}

.student-profile__payment-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.student-profile__payment-summary > div {
  background: #f8fafc;
  border-radius: 0.6rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
}

.student-profile__payment-summary small { color: #5f6368; }
.student-profile__payment-amount { font-weight: 700; }
.student-profile__payment-amount--refund { color: #b42318; }

.student-profile__membership-form,
.student-profile__membership-event {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 0.8fr 1fr 1.5fr auto;
}

.student-profile__membership-form { margin-bottom: 1rem; }
.student-profile__membership-history { display: grid; gap: 0.65rem; }
.student-profile__membership-event { grid-template-columns: 0.8fr 1fr 1.2fr 1.5fr auto auto; }
.student-profile__membership-event form { margin: 0; }

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

.sales-marketing__cohorts th:not(:first-child),
.sales-marketing__cohorts td:not(:first-child) {
  text-align: right;
}

.sales-marketing__spend-form {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.sales-marketing__spend-form input[type="number"] {
  max-width: 9rem;
  min-height: 2.25rem;
  text-align: right;
}

@media (max-width: 700px) {
  .payment-import__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-profile__payment-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-profile__membership-form,
  .student-profile__membership-event { grid-template-columns: 1fr; }
}
