/*
 * 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 {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  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__session-notice {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid #efd195;
  border-radius: 12px;
  background: #fff5df;
  color: #654719;
  text-align: center;
}

.kiosk-success__session-notice p {
  margin: 6px 0 0;
  font-size: 16px;
}

.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__students-menu {
  align-items: center;
  display: flex;
  gap: 2px;
}

.current-class__students-toggle {
  align-items: center;
  border-radius: 6px;
  color: #0f766e;
  display: flex;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
}

.current-class__nav-menu .current-class__students-toggle::after {
  content: none;
}

.current-class__students-toggle:hover,
.current-class__students-toggle:focus-visible {
  background: #eef6f5;
  outline: 2px solid #0f766e;
}

.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;
}

.clover-inventory__quantity-form {
  align-items: center;
  display: flex;
  gap: 6px;
}

.clover-inventory__quantity-input {
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font: inherit;
  padding: 6px;
  width: 72px;
}

.clover-inventory__quantity-button {
  background: #0f766e;
  border: 0;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-weight: 700;
  padding: 7px 10px;
}

.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__status-value {
  color: #1f2937;
  font-weight: 700;
}

.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) minmax(96px, auto) auto auto auto auto auto;
}

.belt-test-event__attendee-toolbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.belt-test-event__summary-badges {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.belt-test-event__summary-badge {
  align-items: center;
  background: #f8fafc;
  border: 2px solid #64748b;
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  gap: 7px;
  min-height: 38px;
  padding: 5px 12px;
  text-decoration: none;
}

.belt-test-event__summary-badge strong {
  font-size: 17px;
  line-height: 1;
}

.belt-test-event__summary-badge small {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.belt-test-event__summary-badge--prep {
  background: #fef2f2;
  border-color: #dc2626;
  color: #991b1b;
}

.belt-test-event__summary-badge--ready {
  background: #ecfdf5;
  border-color: #228b22;
  color: #166534;
}

.belt-test-event__summary-badge--paid {
  background: #ecfdf5;
  border-color: #0f766e;
  color: #115e59;
}

.belt-test-event__summary-badge--active {
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.22);
  filter: saturate(1.25);
}

.belt-test-event__filtered-empty {
  grid-column: 1 / -1;
}

.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__readiness {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  padding: 6px 9px;
  text-align: center;
}

.belt-test-event__readiness--prep {
  background: #fee2e2;
  color: #991b1b;
}

.belt-test-event__readiness--ready {
  background: #dcfce7;
  color: #166534;
}

.belt-test-event__removed-toggle {
  border-top: 1px solid #dbe3ea;
  margin-top: 16px;
  padding-top: 12px;
}

.belt-test-event__removed-toggle > summary {
  color: #64748b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

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

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

.belt-test-event__removed-roster {
  margin-top: 10px;
}

.belt-test-event__belt-summary {
  border-top: 1px solid #dbe3ea;
  margin-top: 20px;
  padding-top: 18px;
}

.belt-test-event__belt-summary > summary {
  color: #0f766e;
  cursor: pointer;
  font-weight: 800;
}

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

.belt-test-event__belt-summary[open] .belt-test-event__belt-summary-hide {
  display: inline;
}

.belt-test-event__belt-summary-content {
  margin-top: 12px;
}

.belt-test-event__belt-summary-content .dashboard-reports__summary-table {
  max-width: 620px;
}

.belt-test-event__belt-summary-content .dashboard-reports__summary-table th:nth-child(n + 2),
.belt-test-event__belt-summary-content .dashboard-reports__summary-table td:nth-child(n + 2) {
  text-align: right;
  width: 72px;
}

.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;
}

/* Student names sit against the table's left edge, so their editor must open inward. */
.dashboard-progress__student .dashboard-progress__belt-size-panel {
  left: 0;
  right: auto;
}

.class-session__belt-size {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.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 {
  align-items: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 2px;
}

.dashboard-progress__tap-in-logo {
  border-radius: 50%;
  display: block;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.dashboard-progress__tap-in-button--missing-id .dashboard-progress__tap-in-logo {
  filter: grayscale(1);
  opacity: 0.4;
}

.dashboard-progress__tap-in-button:hover,
.dashboard-progress__tap-in-button:focus-visible {
  border-color: #0f766e;
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.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__dragon-ids {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.student-profile__dragon-id {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.student-profile__dragon-id span {
  color: #334155;
  font-size: 13px;
}

.student-profile__dragon-id small {
  color: #64748b;
  font-size: 12px;
}

.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; }
}

/* Sparring attendance readiness. */
.current-class__badge--received {
  background: #d4af37;
  color: #422006;
}
.current-class__badge--ready {
  background: #dcfce7;
  color: #166534;
}
.current-class__badge--close {
  background: #ffedd5;
  color: #9a3412;
}
.current-class__badge--early {
  background: #fee2e2;
  color: #991b1b;
}
.current-class__progress-target--received {
  background: #d4af37;
  border-color: #854d0e;
}
.current-class__progress-target--ready {
  background: #22c55e;
  border-color: #166534;
}
.current-class__progress-target--close {
  background: #f97316;
  border-color: #9a3412;
}
.current-class__progress-target--early {
  background: #ef4444;
  border-color: #991b1b;
}

.sales-marketing__totals {
  background: #f0f4f8;
  font-weight: 700;
}

.dashboard-progress__page-size,
.dashboard-progress__pagination,
.dashboard-progress__pagination-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-progress__page-size select {
  background: white;
  border: 1px solid #d6dde5;
  border-radius: 6px;
  font: inherit;
  min-height: 36px;
  padding: 6px 10px;
}

.dashboard-progress__pagination {
  justify-content: space-between;
  margin-top: 16px;
}

.programs-summary {
  margin-bottom: 20px;
}

.programs-summary h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.programs-summary__counts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0;
}

.programs-summary__counts > div {
  background: white;
  border: 1px solid #d6dde5;
  border-radius: 8px;
  padding: 16px;
}

.programs-summary__counts > .programs-summary__total {
  background: #eef6f5;
  border-color: #0f766e;
}

.programs-summary dt {
  color: #475569;
  font-size: 14px;
}

.programs-summary dd {
  color: #0f766e;
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0 0;
}

.programs-summary p {
  color: #64748b;
  font-size: 13px;
  margin: 10px 0 0;
}

.dashboard-progress__stripes--compact {
  gap: 4px;
  min-width: 0;
}

.dashboard-progress__stripe--icon-only {
  background: transparent;
  border: 0;
  padding: 5px;
}

.dashboard-progress__stripe--icon-only input {
  height: 22px;
  width: 22px;
}

.dashboard-progress__stripe--icon-only input:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 3px;
}

.programs-summary__counts > div {
  position: relative;
}

.programs-summary__counts a {
  color: inherit;
  text-decoration: none;
}

.programs-summary__counts a::after {
  border-radius: 8px;
  content: "";
  inset: 0;
  position: absolute;
}

.programs-summary__counts > div:hover,
.programs-summary__counts a:focus-visible::after,
.programs-summary__counts > .programs-summary__selected {
  background: #eef6f5;
  outline: 2px solid #0f766e;
}

.programs-summary__counts a:focus-visible::after {
  background: transparent;
}

.programs-summary small,
.programs-enrollment-note {
  color: #92400e;
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.programs-dragon-filter,
.programs-dragon-filter__toggle {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.programs-dragon-filter__toggle {
  border: 2px solid transparent;
  border-radius: 8px;
  color: #334155;
  font-size: 12px;
  padding: 4px;
  text-decoration: none;
}

.programs-dragon-filter__toggle img {
  border-radius: 50%;
}

.programs-dragon-filter__toggle--active,
.programs-dragon-filter__toggle:focus-visible,
.programs-dragon-filter__toggle:hover {
  border-color: #0f766e;
}

.programs-dragon-filter__toggle--missing img {
  filter: grayscale(1);
  opacity: 0.4;
}

.programs-students-heading {
  align-items: center;
  display: flex;
  gap: 8px;
}

.programs-students-heading h2 {
  margin: 0;
}

.programs-dragon-filter__logo {
  display: inline-block;
  flex: 0 0 32px;
  height: 32px;
  line-height: 0;
  position: relative;
  width: 32px;
}

.programs-dragon-filter__logo img {
  display: block;
}

.programs-dragon-filter__toggle--all .programs-dragon-filter__logo > img:first-child {
  clip-path: inset(0 50% 0 0);
}

.programs-dragon-filter__grey-half {
  clip-path: inset(0 0 0 50%);
  filter: grayscale(1);
  left: 0;
  opacity: 0.4;
  position: absolute;
  top: 0;
}

.current-class__session-header .programs-dragon-filter span {
  margin-left: 0;
}

.calendar-page__toolbar { flex-wrap: wrap; }
.calendar-page__views { display: flex; gap: 6px; }
.calendar-page__views [aria-current="page"] { background: #e0e7ff; color: #312e81; }
.calendar-page__trial-summary { padding: 0 18px 18px; }
.calendar-page__trial-summary h3 { margin-bottom: 6px; }
.calendar-page__trial-summary p { color: #64748b; }
.calendar-page__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.calendar-page__stats > div { padding: 16px; background: #f1f5f9; border-radius: 10px; }
.calendar-page__stats dt { color: #475569; }
.calendar-page__stats dd { margin: 8px 0 0; font-size: 1.8rem; font-weight: 700; }
.calendar-grid--week .calendar-grid__day { min-height: 320px; }
@media (max-width: 700px) {
  .calendar-page__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.admin-settings__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.admin-settings__tile {
  display: block;
  padding: 1.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  color: inherit;
  text-decoration: none;
}
.admin-settings__tile h2 { margin-top: 0; }
.admin-settings__tile p { color: #64748b; }
a.admin-settings__tile:hover, a.admin-settings__tile:focus-visible {
  border-color: #0f766e;
  background: #f0fdfa;
}
.admin-settings__tile span { color: #0f766e; font-weight: 600; }
.admin-program-form label { display: inline-block; margin-bottom: 0.4rem; }
.admin-program-form input:not([type=checkbox]):not([type=submit]),
.admin-program-form textarea, .admin-program-form select {
  display: block;
  width: 100%;
  max-width: 38rem;
  padding: 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.4rem;
}

.calendar-grid__day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.calendar-grid__booked-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 7px;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-program-profile__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
}
.admin-program-profile__details dt { color: #64748b; margin-bottom: 0.35rem; }
.admin-program-profile__details dd { margin: 0; font-weight: 600; }

.technique-library__filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin: 1.5rem 0; }
.technique-library__filters label, .technique-library__form > div > label { display: block; margin-bottom: .4rem; font-weight: 600; }
.technique-library__form { max-width: 48rem; display: grid; gap: 1.25rem; }
.technique-library__form input[type="text"], .technique-library__form textarea, .technique-library__form select { width: 100%; box-sizing: border-box; padding: .65rem; }
.technique-library__rank { display: block; padding: .35rem 0; }
.technique-library fieldset { border: 1px solid #cbd5e1; border-radius: .5rem; padding: 1rem; }

.technique-library__component { border-top: 1px solid #cbd5e1; padding: 1rem 0; }
.technique-library__component > div { margin-bottom: .75rem; }
.technique-library__component label { display: block; font-weight: 600; margin-bottom: .35rem; }

.curriculum__kick-heading { font-size: .875rem; margin: 0 0 .5rem; color: #475569; }

.curriculum__kick-group--review { margin-left: 1.5rem; }
.curriculum__kick-group--review .curriculum__requirements li { border-left-color: #2563eb; }

.curriculum__rank-reference { margin: .5rem 0 0 3rem; }
.curriculum__table .curriculum__continuation-row > td { border-top: 0; }

.technique-library__ranks { table-layout: fixed; }
.technique-library__ranks td { vertical-align: top; overflow-wrap: anywhere; }
.technique-library__component-details { color: #475569; }

.technique-library__program-group { border-top: 1px solid #cbd5e1; padding: .75rem 0; }
.technique-library__program-group > summary { cursor: pointer; font-weight: 600; padding: .25rem 0; }
.technique-library__program-group > .technique-library__rank { margin-left: 1.25rem; }

.technique-order { padding-left: 2rem; }
.technique-order li { display: list-item; padding: .75rem; margin-bottom: .5rem; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: .4rem; cursor: grab; }
.technique-order__name { display: inline-block; width: min(65%, 35rem); }
.technique-order__dragging { opacity: .5; }

.technique-library__sequence > li { padding: .75rem; margin-bottom: .75rem; background: #f8fafc; border-left: 3px solid #0f766e; }
.technique-library__sequence-component + .technique-library__sequence-component { margin-top: .75rem; }
.technique-library__simultaneous { margin-top: 0; color: #475569; font-weight: 600; }

.technique-library__navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 1rem 0; }
.technique-library__navigation [rel], .technique-library__navigation-disabled { font-size: 1.5rem; }
.technique-library__navigation-disabled { color: #94a3b8; cursor: default; }

.program-stripe { margin-top: 1rem; }
.program-stripe > details { margin-top: 1rem; }
.program-stripe > details > summary { cursor: pointer; font-weight: 600; }

.program-stripe__actions { display: flex; align-items: center; gap: 1rem; }

.belt-curriculum__stripe { margin: 1.25rem 0; }
.belt-curriculum__ranks li { margin: .75rem 0; }


.belt-curriculum__assigned { margin-bottom: 1rem; }
.belt-curriculum__search { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.belt-curriculum__search input[type="search"] { flex: 1 1 16rem; padding: .65rem; min-width: 0; }
.belt-curriculum__results { list-style: none; padding: 0; }
.belt-curriculum__results > li, .belt-curriculum__assigned-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem; border-bottom: 1px solid #e2e8f0; }
.belt-curriculum__results small { color: #64748b; }

.program-stripe-table__head, .program-stripe-table__row { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(9rem, 1fr) auto; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #e2e8f0; }
.program-stripe-table__head { font-weight: 600; color: #64748b; }
.program-stripe-inline { margin: 1rem 0; }


/* Desktop curriculum workspace */
.program-desktop { max-width: 1680px; }
.program-settings { border-bottom: 1px solid #dbe3ea; margin-bottom: .5rem; }
.program-settings > summary { cursor: pointer; font-weight: 600; padding: .75rem 0; }
.program-desktop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; align-items: start; }
.program-rank-rail { background: #f8fafc; border: 1px solid #dbe3ea; border-radius: .6rem; padding: 1rem; position: sticky; top: 1rem; max-height: calc(100vh - 3rem); overflow: auto; }
.program-rank-rail__heading { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.program-rank-rail__heading h2 { margin: 0; font-size: 1.1rem; }
.program-rank-link { display: block; color: #334155; text-decoration: none; padding: .8rem .6rem; border-radius: .35rem; margin-bottom: .35rem; border-left: 3px solid transparent; }
.program-rank-link strong, .program-rank-link small { display: block; }
.program-rank-link small { color: #64748b; margin-top: .3rem; font-size: .75rem; }
.program-rank-link:hover, .program-rank-link.is-active { background: #e0f2f1; border-left-color: #0f766e; }
.program-curriculum-pane { min-width: 0; max-height: calc(100vh - 3rem); overflow: auto; padding: 0 1rem 2rem 0; }
.program-belt-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.program-belt-heading h2 { margin: 0 0 .5rem; }
.program-belt-heading > span { color: #64748b; }
.desktop-stripe { border: 1px solid #dbe3ea; border-radius: .5rem; padding: 1rem; margin: 1rem 0; }
.desktop-stripe__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.desktop-stripe__toolbar h3 { font-size: 1rem; margin: 0; min-width: 9rem; }
.desktop-stripe__toolbar .belt-curriculum__search { flex: 1; }
.desktop-stripe__previous { font-size: .75rem; color: #64748b; white-space: nowrap; }
.desktop-stripe__count { display: block; text-align: right; font-size: .75rem; color: #64748b; margin: .5rem 0; }
.curriculum-remove { background: #b91c1c; color: white; border: 0; border-radius: .3rem; padding: .4rem .65rem; font-size: .7rem; font-weight: 700; cursor: pointer; }
.curriculum-remove:hover { background: #991b1b; }
.desktop-stripe .curriculum__requirements { gap: 4px; }
.desktop-stripe .belt-curriculum__assigned-item { padding: .45rem .65rem; }
@media (max-width: 900px) { .program-desktop-layout { grid-template-columns: 1fr; } .program-rank-rail { position: static; max-height: 16rem; } .program-curriculum-pane { max-height: none; overflow: visible; padding-right: 0; } }

.technique-library__component-context { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.technique-library__component-context[hidden] { display: none; }
.technique-library__execution-context { display: block; color: #475569; margin-top: .25rem; }

.form-pattern__segment { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; border-bottom: 1px solid #dbe3ea; padding: 1rem 0; }
.form-pattern__segment > div > label { display: block; margin-bottom: .35rem; }
.form-pattern__segment-label { font-size: .85rem; color: #475569; margin-top: 0; }

.technique-library__sequence > li.form-transition, .curriculum__requirements li.form-transition { list-style: none; background: #f1f5f9; border-left: 3px solid #94a3b8; color: #475569; padding: .6rem .75rem; }
.form-transition p { margin: 0; }
.technique-library__component[data-transition="true"] { background: #f1f5f9; border-left: 3px solid #94a3b8; padding: .75rem; margin-top: .75rem; }

.form-pattern__segment-transition { flex: 1 1 20rem; }
.form-pattern__segment-transition textarea { width: 100%; box-sizing: border-box; }

.form-pattern__segment-transition > summary { cursor: pointer; color: #475569; padding: .4rem 0; }

.form-travel-settings__row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid #dbe3ea; }
.form-travel-settings__row label { display: block; font-size: .8rem; margin-bottom: .25rem; }
.form-step-layout { display: grid; grid-template-columns: minmax(0, 1fr) 155px; gap: 1rem; align-items: start; }
.form-travel { margin: 0; color: #0f766e; text-align: center; }
.form-travel figcaption { font-size: .75rem; font-weight: 600; }
.form-travel svg { display: block; width: 150px; height: 125px; margin: .3rem auto; }
.form-travel small { font-size: .65rem; color: #64748b; }
.form-travel__move { stroke: #0f766e; stroke-width: 2; }
.form-travel__move--latest { stroke: #d4a017; stroke-width: 2.5; }
.form-travel__facing { fill: #d4a017; stroke: #926b00; stroke-width: .7; }
.form-travel__origin { fill: #111827; font-size: 22px; font-weight: 700; }
@media (max-width: 600px) { .form-step-layout { grid-template-columns: 1fr; } .form-travel { justify-self: start; } }

.pattern-editor { max-width: none; }
.pattern-step-card { border: 1px solid #cbd5e1; border-radius: .5rem; margin: 1rem 0; overflow: hidden; }
.pattern-step-card[hidden] { display: none; }
.pattern-step-card__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: #eaf3f2; padding: .75rem 1rem; }
.pattern-step-card__heading h2 { font-size: 1.1rem; margin: 0; }
.pattern-step-card__heading .form-travel-settings__row { padding: 0; border: 0; }
.pattern-step-card__components { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .75rem; padding: .75rem; }
.pattern-step-card__components > .technique-library__component { border: 1px solid #e2e8f0; border-radius: .35rem; padding: .75rem; margin: 0; min-width: 0; }
.pattern-step-card__components > [data-transition="true"] { grid-column: 1 / -1; }

.pattern-editor-page { max-width: 1680px; }

.form-turn { margin: 0; width: 155px; text-align: center; color: #b8860b; }
.form-turn svg { display: block; width: 70px; height: 70px; margin: 0 auto; }
.form-turn figcaption { font-size: .75rem; color: #475569; }

.technique-library__sequence > li.form-segment-navigation { list-style: none; background: transparent; border: 0; padding: .25rem 0; }
.form-segment-navigation nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.form-segment-navigation__button { display: inline-block; padding: .5rem .8rem; border: 1px solid #0f766e; border-radius: .35rem; color: #0f766e; background: #fff; font-weight: 600; text-decoration: none; }
.form-segment-navigation__button:hover, .form-segment-navigation__button:focus-visible { background: #f0fdfa; }

.form-segment-navigation__button[aria-disabled="true"] { opacity: .45; cursor: default; }

.form-segment-navigation nav > :first-child { justify-self: start; }
.form-segment-navigation nav > :last-child { justify-self: end; }
@media (max-width: 600px) { .form-segment-navigation nav { gap: .35rem; } .form-segment-navigation__button { padding: .4rem; font-size: .8rem; } }

.form-segment-navigation { scroll-margin-top: 1rem; }

.form-completion { width: 155px; text-align: center; }
.form-completion svg { display: block; width: 110px; height: 128px; margin: 0 auto; }

.form-step__scream { display: inline-block; margin: .25rem 0 .5rem; padding: .15rem .5rem; border-radius: .25rem; color: #92400e; background: #fef3c7; font-weight: 700; font-size: .85rem; }

.kata-fixed-title { display: none; }
@media (min-width: 1400px) {
  .kata-fixed-title {
    display: flex;
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: calc((100vw - 1150px) / 2 - 32px);
    height: 80vh;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    pointer-events: none;
  }
  .kata-fixed-title span {
    display: block;
    max-width: 100%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: pre;
    word-spacing: .6em;
    font-size: min(3.5rem, calc(76vh / (var(--kata-title-characters) * 1.15)));
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: .04em;
    text-align: center;
    overflow-wrap: anywhere;
  }
}

.public-katas__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.public-katas__list a { display: block; padding: 1.25rem; border: 1px solid #dbe3ea; border-radius: .5rem; color: #0f766e; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.public-katas__list a:hover, .public-katas__list a:focus-visible { background: #f0fdfa; border-color: #0f766e; }

.kata-transition-editor { max-width: 1500px; }
.kata-transition-step { border: 1px solid #cbd5e1; background: #f8fafc; border-radius: .5rem; padding: 1rem; margin: 1rem 0; }
.kata-transition-step__heading { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: .75rem; }
.kata-transition-step__heading label { display: block; }
.kata-transition-step textarea { width: 100%; box-sizing: border-box; }
.kata-sequence-entry { display: flex; gap: .75rem; align-items: center; border: 1px solid #cbd5e1; border-radius: .35rem; padding: .75rem; margin: .5rem 0; }
.kata-sequence-entry__name { flex: 1; }
.kata-sequence-entry[hidden], .kata-transition-step[hidden] { display: none; }
.form-pattern__transition-row { background: #f1f5f9; }

.kata-transition-step__curve-builder { display: grid; grid-template-columns: minmax(0, 1fr) 155px; gap: 1rem; align-items: center; padding: .75rem 0; }
.kata-transition-step__curve-builder [data-curve-options] { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.kata-transition-step__curve-builder [hidden] { display: none; }
.form-explicit-curve__arc { fill: none; stroke: currentColor; stroke-width: 3; }
.form-explicit-curve__arrow { fill: currentColor; }
@media (max-width: 600px) { .kata-transition-step__curve-builder { grid-template-columns: 1fr; } }

.transition-instruction-patterns__row { display: flex; gap: .75rem; align-items: center; margin: .5rem 0; }
.transition-instruction-patterns__choice { flex: 1; min-width: 0; }
.transition-instruction-patterns__choice select { max-width: 100%; }
.transition-instruction-patterns__row[hidden] { display: none; }
.form-transition__instructions { list-style: none; margin: .5rem 0; padding: 0; }
.form-transition__instructions > li { display: flex; gap: .6rem; align-items: flex-start; margin: .4rem 0; }
.form-transition__dragon-bullet { width: 1.35rem; height: 1.35rem; flex: 0 0 1.35rem; border-radius: 50%; object-fit: cover; }
.form-transition__instructions p { margin: 0; }

.kata-sequence-entry { display: block; scroll-margin-top: 1rem; }
.kata-sequence-entry__heading { display: flex; gap: .75rem; align-items: center; }
.kata-sequence-entry__details { margin-top: .75rem; }
.kata-sequence-entry__details[hidden], [data-sequence-selection-notice][hidden] { display: none; }
.kata-sequence-entry__details .technique-library__sequence { margin: .5rem 0; }
.kata-sequence-entry__details details > summary { cursor: pointer; color: #0f766e; font-weight: 600; padding: .5rem 0; }
.kata-sequence-entry__details { display: block; }

.form-transition-layout { grid-template-columns: minmax(0, 1fr) 155px 155px; align-items: center; }
.form-transition-layout__instructions { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .form-transition-layout { grid-template-columns: 1fr; } }

.transition-editor__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .5rem 0; }
.transition-editor__step[hidden], .transition-editor__step [hidden] { display: none; }
.transition-editor__step-heading { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; color: #64748b; font-size: .8rem; }
.transition-editor__step .form-transition-layout { align-items: start; }
.transition-editor__free-text { box-sizing: border-box; width: 100%; min-height: 5rem; border: 1px solid #cbd5e1; border-radius: .25rem; padding: .5rem; font: inherit; background: #fff; }
.transition-instruction-patterns__text { border: 0; background: transparent; padding: 0; text-align: left; white-space: pre-line; font: inherit; color: inherit; cursor: pointer; }
.transition-instruction-patterns__text:hover { text-decoration: underline dotted; }
.transition-instruction-patterns__handle { border: 0; background: transparent; color: #64748b; cursor: grab; padding: 0 .15rem; }
.transition-instruction-patterns__remove { border: 0; background: transparent; color: #b91c1c; font-size: 1.2rem; cursor: pointer; }
.transition-instruction-patterns__row.is-dragging { opacity: .45; }
.transition-editor__curve-edit, .transition-editor__add-pattern { font-size: .8rem; margin-top: .4rem; }
.transition-editor__curve-controls { background: #fff; border: 1px solid #cbd5e1; border-radius: .35rem; padding: .5rem; margin-top: .4rem; }
.transition-editor__curve-controls label { display: block; font-size: .8rem; }
.transition-editor__curve-controls select { max-width: 100%; width: 100%; margin-bottom: .4rem; }

.kata-sequence-entry__insert { border-top: 1px solid #e2e8f0; margin-top: .75rem; padding-top: .75rem; }

.kata-sequence-entry__pattern-preview { margin-top: .75rem; }
.kata-sequence-entry__pattern-preview > summary { cursor: pointer; color: #0f766e; font-weight: 600; }

.kata-sequence-entry__transition-preview > summary { cursor: pointer; color: #0f766e; font-weight: 600; padding: .5rem 0; }
.kata-sequence-entry__insert { display: flex; gap: .75rem; align-items: center; }
