.entry-journey {
  --entry-canvas: var(--rostra-canvas, #030507);
  --entry-surface: var(--rostra-surface, #0b0f14);
  --entry-raised: var(--rostra-surface-raised, #11161d);
  --entry-inset: var(--rostra-surface-inset, #070a0f);
  --entry-control: var(--rostra-surface-control, #151b23);
  --entry-selected: var(--rostra-surface-selected, #121a26);
  --entry-text: var(--rostra-text-primary, #ffffff);
  --entry-text-secondary: var(--rostra-text-secondary, #c7ced8);
  --entry-text-muted: var(--rostra-text-muted, #87919f);
  --entry-border: var(--rostra-border, #242a33);
  --entry-border-strong: var(--rostra-border-strong, #38414d);
  --entry-focus: var(--rostra-focus, #6da8ff);
  --entry-success: var(--rostra-success, #42c67a);
  --entry-success-text: color-mix(in srgb, var(--entry-success) 68%, var(--entry-text));
  --entry-danger: var(--rostra-danger, #ff6b5f);
  --entry-warning: var(--rostra-warning, #f2b84b);
  --entry-radius-sm: var(--rostra-radius-sm, 4px);
  --entry-radius-md: var(--rostra-radius-md, 6px);
  --entry-radius-lg: var(--rostra-radius-lg, 6px);
  width: 100%;
  min-height: 100%;
  padding: 28px;
  background: var(--entry-canvas);
  color: var(--entry-text);
  font-family: var(--font-sans, "Avenir Next", "Segoe UI", sans-serif);
}

.entry-journey,
.entry-journey * {
  box-sizing: border-box;
}

.entry-journey h1,
.entry-journey h2,
.entry-journey h3,
.entry-journey p {
  margin: 0;
}

.entry-journey button,
.entry-journey input,
.entry-journey select,
.entry-journey textarea {
  font: inherit;
}

.entry-journey button,
.entry-journey select,
.entry-journey input,
.entry-journey textarea {
  color: inherit;
}

.entry-journey .entry-journey__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.entry-journey .entry-journey__eyebrow {
  color: var(--entry-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry-journey .entry-journey__section {
  display: grid;
  gap: 16px;
  width: 100%;
}

.entry-journey .entry-journey__section + .entry-journey__section {
  margin-top: 32px;
}

.entry-journey .entry-journey__section-header,
.entry-journey .entry-journey__page-header,
.entry-journey .entry-journey__class-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.entry-journey .entry-journey__section-header h2,
.entry-journey .entry-journey__page-header h1,
.entry-journey .entry-journey__class-topbar h1 {
  color: var(--entry-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-weight: 760;
  letter-spacing: -0.025em;
}

.entry-journey .entry-journey__section-header h2 {
  font-size: clamp(20px, 2vw, 28px);
}

.entry-journey .entry-journey__page-header h1,
.entry-journey .entry-journey__class-topbar h1 {
  font-size: clamp(28px, 3vw, 40px);
}

.entry-journey .entry-journey__section-header p {
  margin-top: 4px;
  color: var(--entry-text-muted);
  font-size: 13px;
}

.entry-journey .entry-journey__actions,
.entry-journey .entry-journey__form-actions,
.entry-journey .entry-journey__roster-footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.entry-journey .entry-journey__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: var(--entry-control);
  color: var(--entry-text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.entry-journey .entry-journey__button:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--entry-focus) 65%, var(--entry-border-strong));
  background: color-mix(in srgb, var(--entry-control) 82%, var(--entry-focus));
  color: var(--entry-text);
}

.entry-journey .entry-journey__button:active:not(:disabled) {
  transform: translateY(1px);
}

.entry-journey .entry-journey__button:focus-visible,
.entry-journey input:focus-visible,
.entry-journey select:focus-visible,
.entry-journey textarea:focus-visible,
.entry-journey .entry-journey__table-scroll:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--entry-focus) 75%, transparent);
  outline-offset: 2px;
}

.entry-journey .entry-journey__button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.entry-journey .entry-journey__button--primary {
  border-color: color-mix(in srgb, var(--entry-success) 72%, var(--entry-border));
  background: var(--entry-success);
  color: #04110a;
}

.entry-journey .entry-journey__button--primary:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--entry-success) 82%, white);
  background: color-mix(in srgb, var(--entry-success) 86%, white);
  color: #04110a;
}

.entry-journey .entry-journey__button--danger {
  border-color: color-mix(in srgb, var(--entry-danger) 55%, var(--entry-border));
  background: color-mix(in srgb, var(--entry-danger) 12%, var(--entry-control));
  color: var(--entry-danger);
}

.entry-journey .entry-journey__button--selected {
  border-color: var(--entry-focus);
  background: color-mix(in srgb, var(--entry-focus) 18%, var(--entry-control));
  color: var(--entry-text);
}

.entry-journey .entry-journey__button--quiet {
  border-color: transparent;
  background: transparent;
}

.entry-journey .entry-journey__button--square {
  width: 44px;
  flex: 0 0 44px;
  padding: 0;
}

.entry-journey .entry-journey__button--square > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.entry-journey .entry-journey__button-icon,
.entry-journey .entry-journey__class-icon,
.entry-journey .entry-journey__activity-icon,
.entry-journey .entry-journey__launch-icon,
.entry-journey .entry-journey__recent-icon,
.entry-journey .entry-journey__membership-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.entry-journey .entry-journey__button-icon {
  width: 18px;
  height: 18px;
}

.entry-journey .entry-journey__button-icon > svg,
.entry-journey .entry-journey__class-icon > svg,
.entry-journey .entry-journey__activity-icon > svg,
.entry-journey .entry-journey__launch-icon > svg,
.entry-journey .entry-journey__recent-icon > svg,
.entry-journey .entry-journey__membership-icon > svg {
  width: 100%;
  height: 100%;
}

.entry-journey .entry-journey__class-list {
  display: grid;
  gap: 10px;
}

.entry-journey.entry-journey--dashboard-populated {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  overflow: auto;
  background: var(--entry-canvas);
}

.entry-journey .entry-journey__workspace-header,
.entry-journey .entry-journey__dashboard-header {
  display: flex;
  width: 100%;
  min-height: 76px;
  flex: 0 0 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.entry-journey .entry-journey__workspace-heading {
  display: grid;
  min-width: 0;
  height: 64px;
  grid-template-rows: 37px 24px;
  align-content: center;
  gap: 3px;
}

.entry-journey .entry-journey__workspace-title,
.entry-journey .entry-journey__dashboard-header h1 {
  overflow: hidden;
  color: var(--entry-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__workspace-subtitle {
  overflow: hidden;
  color: var(--entry-text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__workspace-subtitle.is-placeholder {
  visibility: hidden;
}

.entry-journey .entry-journey__workspace-header > .entry-journey__button,
.entry-journey .entry-journey__dashboard-header > .entry-journey__button {
  width: 120px;
  min-width: 120px;
  min-height: 48px;
  padding: 0;
  border-radius: 8px;
  font-size: 16px;
}

@media (min-width: 901px) {
  .entry-journey.entry-journey--dashboard {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-list {
    width: 100%;
    gap: 14px;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-card-shell {
    height: 88px;
    grid-template-columns: minmax(0, 1fr) 180px 40px;
    column-gap: 24px;
    align-items: center;
    padding: 18px 24px;
    border-radius: 12px;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-card {
    display: grid;
    height: 52px;
    grid-column: 1 / 3;
    grid-template-columns: subgrid;
    align-items: center;
    gap: inherit;
    padding: 0;
    border-radius: 0;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-copy {
    height: 52px;
    gap: 4px;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-name {
    font-size: 21px;
    line-height: 28px;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-roster,
  .entry-journey.entry-journey--dashboard .entry-journey__class-session {
    font-size: 15px;
    line-height: 20px;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-session {
    width: 180px;
    text-align: right;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-menu {
    width: 40px;
    height: 40px;
    grid-column: 3;
  }

  .entry-journey.entry-journey--dashboard .entry-journey__class-menu > summary {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 0;
    color: var(--entry-success);
    font-size: 22px;
    line-height: 40px;
  }
}

.entry-journey.entry-journey--dashboard-populated .entry-journey__class-list {
  width: 100%;
  gap: 14px;
}

.entry-journey .entry-journey__class-card-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 88px;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--entry-border);
  border-radius: 12px;
  background: var(--entry-raised);
}

.entry-journey .entry-journey__class-card {
  appearance: none;
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  overflow: hidden;
  border: 0;
  border-radius: 11px 0 0 11px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 100ms ease;
}

.entry-journey .entry-journey__class-card:focus-visible,
.entry-journey .entry-journey__archive-trigger:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--entry-focus) 75%, transparent);
  outline-offset: 2px;
}

.entry-journey .entry-journey__class-copy {
  display: flex;
  min-width: 0;
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.entry-journey .entry-journey__class-menu {
  position: relative;
  display: block;
  height: 100%;
}

.entry-journey .entry-journey__class-menu > summary {
  display: grid;
  min-width: 48px;
  height: 100%;
  place-items: center;
  border: 0;
  border-radius: 0 11px 11px 0;
  background: transparent;
  color: var(--entry-text-secondary);
  cursor: pointer;
  list-style: none;
}

.entry-journey .entry-journey__class-menu > summary:hover {
  color: var(--entry-text);
}

.entry-journey .entry-journey__class-menu > summary::-webkit-details-marker {
  display: none;
}

.entry-journey .entry-journey__class-menu > summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--entry-focus) 75%, transparent);
  outline-offset: 2px;
}

.entry-journey .entry-journey__class-menu-popover {
  position: absolute;
  z-index: 12;
  top: calc(100% + 6px);
  right: 0;
  width: max-content;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: var(--entry-raised);
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
}

.entry-journey .entry-journey__class-menu-popover button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--entry-danger);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.entry-journey .entry-journey__class-menu-popover button:hover {
  background: color-mix(in srgb, var(--entry-danger) 10%, transparent);
}

.entry-journey .entry-journey__class-name {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--entry-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__class-roster {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--entry-text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__class-session {
  display: block;
  width: 230px;
  overflow: hidden;
  color: var(--entry-success-text);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__archive-trigger {
  appearance: none;
  display: grid;
  width: min(100%, 700px);
  min-height: 60px;
  flex: 0 0 60px;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--entry-border);
  border-radius: 8px;
  background: var(--entry-surface);
  color: var(--entry-text-secondary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.entry-journey .entry-journey__pulse-section {
  padding-top: 2px;
}

.entry-journey .entry-journey__pulse-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.entry-journey .entry-journey__pulse-card {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--entry-border);
  border-radius: 8px;
  background: var(--entry-surface);
}

.entry-journey .entry-journey__pulse-card > span,
.entry-journey .entry-journey__pulse-card > p {
  color: var(--entry-text-muted);
  font-size: 12px;
}

.entry-journey .entry-journey__pulse-card > strong {
  color: var(--entry-success);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 26px;
  font-weight: 600;
}

.entry-journey .entry-journey__archive-trigger:hover {
  border-color: color-mix(in srgb, var(--entry-focus) 52%, var(--entry-border));
  background: color-mix(in srgb, var(--entry-surface) 92%, var(--entry-focus));
}

.entry-journey .entry-journey__archive-trigger > span:first-child {
  overflow: hidden;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__archive-trigger > span:last-child {
  overflow: hidden;
  color: var(--entry-text-secondary);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey .entry-journey__class-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: var(--entry-control);
  color: var(--entry-focus);
}

.entry-journey .entry-journey__class-icon > svg {
  width: 24px;
  height: 24px;
}

.entry-journey .entry-journey__activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.entry-journey .entry-journey__activity-default-grid {
  grid-template-columns: repeat(2, minmax(0, 408px));
  justify-content: center;
}

.entry-journey .entry-journey__activity-tile {
  display: grid;
  min-height: 142px;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--entry-border);
  border-radius: var(--entry-radius-lg);
  background: var(--entry-surface);
  text-align: center;
}

.entry-journey .entry-journey__activity-icon {
  width: 54px;
  height: 54px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: var(--entry-control);
  color: var(--entry-text-secondary);
}

.entry-journey .entry-journey__activity-icon > svg {
  width: 30px;
  height: 30px;
}

.entry-journey .entry-journey__activity-tile h3 {
  color: var(--entry-text);
  font-size: 15px;
}

.entry-journey .entry-journey__activity-default-card {
  width: 100%;
  height: 132px;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) 124px;
  place-items: initial;
  align-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-align: left;
}

.entry-journey .entry-journey__activity-default-card h3 {
  font-family: var(--font-sans, "Inter", "Avenir Next", "Segoe UI", sans-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 28px;
  text-transform: none;
}

.entry-journey .entry-journey__activity-default-copy {
  display: flex;
  align-content: start;
  min-width: 0;
  height: 100px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
}

.entry-journey .entry-journey__activity-default-heading {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  overflow: hidden;
}

.entry-journey .entry-journey__activity-default-copy p,
.entry-journey .entry-journey__page-intro {
  color: var(--entry-text-muted);
}

.entry-journey .entry-journey__activity-default-meta {
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 16px;
  text-transform: uppercase;
}

.entry-journey .entry-journey__activity-default-copy p {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  color: var(--entry-text-secondary);
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.entry-journey .entry-journey__activity-default-meta {
  width: 100%;
  color: var(--entry-success);
}

.entry-journey .entry-journey__activity-default-card > .entry-journey__button {
  width: 124px;
  min-width: 124px;
  height: 44px;
  min-height: 44px;
  padding-inline: 12px;
}

.entry-journey.entry-journey--activities {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
}

.entry-journey .entry-journey__empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 24px;
  border: 1px dashed var(--entry-border-strong);
  border-radius: var(--entry-radius-lg);
  color: var(--entry-text-muted);
  text-align: center;
}

.entry-journey .entry-journey__empty strong {
  color: var(--entry-text-secondary);
}

.entry-journey.entry-journey--new-class {
  display: grid;
  align-content: start;
  gap: 28px;
}

.entry-journey .entry-journey__page-header > div > p {
  margin-top: 4px;
  color: var(--entry-text-secondary);
  font-size: 14px;
}

.entry-journey .entry-journey__form-card {
  display: grid;
  width: min(100%, 620px);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--entry-border);
  border-radius: var(--entry-radius-lg);
  background: var(--entry-surface);
}

.entry-journey .entry-journey__form-card > h2 {
  color: var(--entry-text);
  font-size: 18px;
  font-weight: 600;
}

.entry-journey .entry-journey__field,
.entry-journey .entry-journey__compact-field,
.entry-journey .entry-journey__paste-field {
  display: grid;
  gap: 8px;
  color: var(--entry-text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.entry-journey .entry-journey__field input,
.entry-journey .entry-journey__compact-field select,
.entry-journey .entry-journey__paste-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: var(--entry-inset);
  color: var(--entry-text);
}

.entry-journey .entry-journey__field input,
.entry-journey .entry-journey__compact-field select {
  padding: 0 12px;
}

.entry-journey .entry-journey__paste-field textarea {
  min-height: 64px;
  padding: 10px 12px;
  resize: vertical;
}

.entry-journey .entry-journey__field input[aria-invalid="true"] {
  border-color: var(--entry-danger);
}

.entry-journey .entry-journey__field-error {
  color: var(--entry-danger);
  font-size: 12px;
}

.entry-journey .entry-journey__form-actions {
  justify-content: flex-end;
  padding-top: 4px;
}

.entry-journey.entry-journey--load-roster {
  display: grid;
  height: 100%;
  min-height: 640px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding-bottom: 0;
  overflow: hidden;
}

.entry-journey .entry-journey__page-header--roster {
  min-height: 68px;
}

.entry-journey .entry-journey__roster-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.entry-journey .entry-journey__roster-surface {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--entry-border);
  border-radius: var(--entry-radius-lg) var(--entry-radius-lg) 0 0;
  background: var(--entry-surface);
}

.entry-journey .entry-journey__roster-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--entry-border);
  background: var(--entry-raised);
}

.entry-journey .entry-journey__compact-field {
  width: min(240px, 100%);
}

.entry-journey .entry-journey__filter-group {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.entry-journey .entry-journey__filter-group legend {
  padding: 0;
  color: var(--entry-text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.entry-journey .entry-journey__filter-group > div {
  display: flex;
  gap: 4px;
}

.entry-journey .entry-journey__filter-group .entry-journey__button {
  min-height: 36px;
  padding: 0 12px;
}

.entry-journey .entry-journey__table-scroll {
  min-height: 0;
  overflow: auto;
}

.entry-journey .entry-journey__roster-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.entry-journey .entry-journey__roster-table th,
.entry-journey .entry-journey__roster-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--entry-border);
  text-align: left;
  vertical-align: middle;
}

.entry-journey .entry-journey__roster-table thead th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: var(--entry-inset);
  color: var(--entry-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry-journey .entry-journey__roster-table th:nth-child(1) {
  width: 8%;
}

.entry-journey .entry-journey__roster-table th:nth-child(2) {
  width: 44%;
}

.entry-journey .entry-journey__roster-table th:nth-child(3) {
  width: 25%;
}

.entry-journey .entry-journey__roster-table th:nth-child(4) {
  width: 23%;
  text-align: right;
}

.entry-journey .entry-journey__roster-table td:last-child {
  text-align: right;
}

.entry-journey .entry-journey__roster-row--ignored {
  background: color-mix(in srgb, var(--entry-danger) 4%, transparent);
}

.entry-journey .entry-journey__roster-row--draft {
  background: color-mix(in srgb, var(--entry-focus) 6%, var(--entry-surface));
}

.entry-journey .entry-journey__roster-row--draft > th,
.entry-journey .entry-journey__roster-row--draft > td {
  border-bottom-color: color-mix(in srgb, var(--entry-focus) 38%, var(--entry-border));
}

.entry-journey .entry-journey__roster-row--add {
  background: color-mix(in srgb, var(--entry-raised) 76%, transparent);
}

.entry-journey .entry-journey__roster-row--add > td {
  padding: 8px 10px;
}

.entry-journey .entry-journey__roster-add-row {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px dashed var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: transparent;
  color: var(--entry-text-secondary);
  cursor: pointer;
  opacity: 0.58;
  text-align: left;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, opacity 140ms ease;
}

.entry-journey .entry-journey__roster-add-row:hover,
.entry-journey .entry-journey__roster-add-row:focus-visible {
  border-color: var(--entry-focus);
  background: color-mix(in srgb, var(--entry-focus) 7%, transparent);
  color: var(--entry-text);
  opacity: 1;
}

.entry-journey .entry-journey__roster-add-row:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--entry-focus) 52%, transparent);
  outline-offset: 2px;
}

.entry-journey .entry-journey__roster-add-row > span {
  display: grid;
  gap: 2px;
}

.entry-journey .entry-journey__roster-add-row strong {
  font-size: 13px;
}

.entry-journey .entry-journey__roster-add-row small {
  color: var(--entry-text-muted);
  font-size: 11px;
}

.entry-journey .entry-journey__roster-add-row-icon {
  width: 18px;
  height: 18px;
  color: var(--entry-focus);
}

.entry-journey .entry-journey__student-name {
  color: var(--entry-text);
  font-size: 14px;
  font-weight: 700;
}

.entry-journey .entry-journey__roster-ordinal {
  color: var(--entry-text-muted);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.entry-journey .entry-journey__roster-draft-icon {
  width: 16px;
  height: 16px;
  color: var(--entry-focus);
}

.entry-journey .entry-journey__roster-name-input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--entry-focus);
  border-radius: var(--entry-radius-md);
  background: var(--entry-inset);
  color: var(--entry-text);
}

.entry-journey .entry-journey__roster-name-input::placeholder {
  color: var(--entry-text-muted);
}

.entry-journey .entry-journey__roster-draft-hint {
  display: block;
  margin-top: 5px;
  color: var(--entry-text-muted);
  font-size: 11px;
  font-weight: 500;
}

.entry-journey .entry-journey__roster-draft-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.entry-journey .entry-journey__membership {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: var(--entry-radius-sm);
  font-size: 11px;
  font-weight: 800;
}

.entry-journey .entry-journey__membership--active {
  color: var(--entry-focus);
}

.entry-journey .entry-journey__membership--ignored {
  color: var(--entry-danger);
}

.entry-journey .entry-journey__membership-icon {
  width: 13px;
  height: 13px;
}

.entry-journey .entry-journey__roster-row .entry-journey__button {
  min-height: 36px;
  padding: 0 12px;
}

.entry-journey .entry-journey__empty--table {
  min-height: 180px;
  border: 0;
}

.entry-journey .entry-journey__roster-footer {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--entry-border-strong);
  border-bottom: 0;
  background: color-mix(in srgb, var(--entry-raised) 96%, transparent);
}

.entry-journey .entry-journey__roster-footer-actions {
  justify-content: flex-end;
}

.entry-journey .entry-journey__roster-footer-copy {
  display: grid;
  gap: 3px;
  color: var(--entry-text-muted);
  font-size: 12px;
}

.entry-journey .entry-journey__roster-footer-copy strong {
  color: var(--entry-text-secondary);
  font-size: 13px;
}

.entry-journey .entry-journey__status {
  min-height: 16px;
  grid-column: 1 / -1;
  color: var(--entry-text-muted);
  font-size: 12px;
}

.entry-journey.entry-journey--class-start {
  display: grid;
  gap: 24px;
  align-content: start;
}

.entry-journey.entry-journey--class-start-content {
  display: grid;
  min-height: 100%;
  align-content: start;
  gap: 18px;
  padding: 0;
}

.entry-journey.entry-journey--class-start-content .entry-journey__section + .entry-journey__section,
.entry-journey.entry-journey--class-start .entry-journey__section + .entry-journey__section {
  margin-top: 0;
}

.entry-journey .entry-journey__class-topbar {
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-lg);
  background: var(--entry-raised);
}

.entry-journey .entry-journey__launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.entry-journey .entry-journey__class-start-section {
  --entry-class-start-accent: var(--entry-focus);
  padding: 18px;
  border: 1px solid var(--entry-border);
  border-radius: var(--entry-radius-lg);
  background: var(--entry-surface);
  box-shadow: inset 0 3px color-mix(in srgb, var(--entry-class-start-accent) 62%, transparent);
}

.entry-journey .entry-journey__class-start-section--activities {
  --entry-class-start-accent: var(--entry-success);
}

.entry-journey .entry-journey__class-start-section--stats {
  --entry-class-start-accent: var(--entry-focus);
  background: color-mix(in srgb, var(--entry-raised) 82%, var(--entry-surface));
}

.entry-journey .entry-journey__class-start-section > .entry-journey__section-header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--entry-border);
}

.entry-journey .entry-journey__launch-card {
  display: grid;
  min-height: 88px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--entry-border);
  border-radius: var(--entry-radius-lg);
  background: var(--entry-surface);
}

.entry-journey .entry-journey__launch-card h3 {
  color: var(--entry-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.entry-journey .entry-journey__launch-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  background: var(--entry-control);
  color: var(--entry-text-secondary);
}

.entry-journey .entry-journey__launch-icon > svg {
  width: 26px;
  height: 26px;
}

.entry-journey .entry-journey__recent {
  min-height: 0;
}

.entry-journey .entry-journey__recent-value {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--entry-border);
  border-radius: var(--entry-radius-md);
  background: var(--entry-inset);
}

.entry-journey .entry-journey__recent-session {
  display: grid;
  gap: 4px;
  color: var(--entry-text-secondary);
  font-size: 15px;
}

.entry-journey .entry-journey__recent-session b {
  color: var(--entry-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: 20px;
  line-height: 1.15;
}

.entry-journey .entry-journey__recent-session small {
  color: var(--entry-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry-journey .entry-journey__recent-value strong {
  color: var(--entry-success);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 18px;
}

.entry-journey .entry-journey__recent-empty {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed var(--entry-border-strong);
  border-radius: var(--entry-radius-md);
  color: var(--entry-text-muted);
}

.entry-journey .entry-journey__recent-icon {
  width: 30px;
  height: 30px;
}

.entry-journey .entry-journey__pro-session-section {
  padding: 18px;
  border: 1px solid var(--entry-border);
  border-radius: 8px;
  background: var(--entry-surface);
}

.entry-journey .entry-journey__pro-session-plan,
.entry-journey .entry-journey__session-template-row {
  display: grid;
  min-height: 126px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--entry-border);
  border-radius: 8px;
  background: var(--entry-inset);
}

.entry-journey .entry-journey__pro-session-plan > div,
.entry-journey .entry-journey__session-template-row > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.entry-journey .entry-journey__pro-session-plan h3,
.entry-journey .entry-journey__session-template-row h2 {
  color: var(--entry-text);
  font-size: 20px;
  font-weight: 600;
}

.entry-journey .entry-journey__pro-session-plan p,
.entry-journey .entry-journey__session-template-row p,
.entry-journey .entry-journey__page-note {
  color: var(--entry-text-secondary);
  font-size: 14px;
}

.entry-journey .entry-journey__pro-session-plan small {
  overflow: hidden;
  color: var(--entry-text-muted);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-journey.entry-journey--sessions {
  display: grid;
  align-content: start;
  gap: 18px;
}

.entry-journey .entry-journey__session-template-row > strong {
  color: var(--entry-success);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.entry-journey .entry-journey__page-note {
  max-width: 620px;
}

@media (max-width: 900px) {
  .entry-journey {
    padding: 20px;
  }

  .entry-journey .entry-journey__activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-journey .entry-journey__activity-default-grid {
    grid-template-columns: 1fr;
  }

  .entry-journey .entry-journey__pulse-grid {
    grid-template-columns: 1fr;
  }

  .entry-journey .entry-journey__launch-card {
    min-height: 88px;
  }

  .entry-journey .entry-journey__roster-footer {
    grid-template-columns: 1fr;
  }

  .entry-journey .entry-journey__status {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .entry-journey {
    padding: 16px;
  }

  .entry-journey .entry-journey__section-header,
  .entry-journey .entry-journey__page-header,
  .entry-journey .entry-journey__roster-toolbar,
  .entry-journey .entry-journey__recent-value {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-journey .entry-journey__actions,
  .entry-journey .entry-journey__form-actions,
  .entry-journey .entry-journey__roster-footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-journey .entry-journey__button {
    width: 100%;
  }

  .entry-journey .entry-journey__button--square {
    width: 44px;
  }

  .entry-journey .entry-journey__class-card {
    height: auto;
    min-height: 104px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .entry-journey .entry-journey__class-card-shell {
    height: auto;
    min-height: 104px;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .entry-journey .entry-journey__class-menu > summary {
    min-width: 44px;
    height: 100%;
  }

  .entry-journey .entry-journey__class-copy {
    height: auto;
  }

  .entry-journey .entry-journey__class-session {
    width: 100%;
  }

  .entry-journey .entry-journey__archive-trigger {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 10px;
  }

  .entry-journey .entry-journey__activity-grid,
  .entry-journey .entry-journey__launch-grid {
    grid-template-columns: 1fr;
  }

  .entry-journey .entry-journey__pro-session-plan,
  .entry-journey .entry-journey__session-template-row {
    grid-template-columns: 1fr;
  }

  .entry-journey .entry-journey__launch-card {
    min-height: 84px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .entry-journey .entry-journey__launch-icon {
    width: 40px;
    height: 40px;
  }

  .entry-journey .entry-journey__launch-icon > svg {
    width: 22px;
    height: 22px;
  }

  .entry-journey .entry-journey__launch-card h3 {
    font-size: 18px;
  }

  .entry-journey .entry-journey__launch-card .entry-journey__button {
    width: auto;
    min-width: 72px;
    padding-inline: 12px;
  }

  .entry-journey .entry-journey__activity-default-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .entry-journey .entry-journey__activity-default-card > .entry-journey__button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .entry-journey .entry-journey__activity-tile {
    min-height: 118px;
  }

  .entry-journey.entry-journey--load-roster {
    min-height: 720px;
  }

  .entry-journey .entry-journey__roster-header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .entry-journey .entry-journey__roster-header-actions > .entry-journey__button {
    width: 100%;
  }

  .entry-journey .entry-journey__filter-group > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .entry-journey .entry-journey__filter-group .entry-journey__button {
    padding-inline: 8px;
  }

  .entry-journey .entry-journey__roster-table {
    min-width: 620px;
  }

  .entry-journey .entry-journey__recent-value strong {
    font-size: 16px;
  }
}
