*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

body.auth-page,
body.dashboard-page {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background:
    linear-gradient(rgba(239, 45, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.035) 1px, transparent 1px),
    #fffafb;
  background-size: 44px 44px;
}

.dashboard-page form,
.auth-page form,
.dashboard-page main,
.auth-page main,
.dashboard-page section,
.auth-page section,
.dashboard-page article,
.auth-page article,
.dashboard-page div,
.auth-page div {
  min-width: 0;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 16px;
}

.auth-panel {
  width: min(100%, 430px);
  padding: 32px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(190, 18, 60, 0.11);
}

.auth-panel.compact {
  text-align: center;
}

.auth-brand {
  display: inline-flex;
  margin-bottom: 24px;
}

.auth-brand img {
  width: auto;
  height: 58px;
}

.auth-heading p,
.dashboard-hero p {
  margin: 0 0 8px;
  color: #c21854;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-heading h1,
.dashboard-hero h1 {
  margin: 0;
  color: #111827;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.auth-heading span,
.dashboard-hero span {
  display: block;
  margin-top: 10px;
  color: #667085;
  line-height: 1.55;
}

.auth-alert {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  color: #9f1239;
  background: #fff1f2;
  font-weight: 700;
}

.auth-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.auth-form label {
  color: #344054;
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  color: #172033;
  background: #ffffff;
  font: inherit;
}

.auth-form input:focus {
  border-color: #ef2d7a;
  box-shadow: 0 0 0 3px rgba(239, 45, 122, 0.14);
  outline: none;
}

.auth-button,
.logout-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #f8175f, #dc2626);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-button {
  width: 100%;
  margin-top: 8px;
}

.auth-links {
  margin-top: 18px;
  text-align: center;
}

.auth-links a {
  color: #c21854;
  font-weight: 800;
}

.dashboard-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 5vw, 56px);
  border-bottom: 1px solid rgba(248, 205, 218, 0.82);
  background: rgba(255, 255, 255, 0.92);
}

.dashboard-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.dashboard-brand img {
  width: auto;
  height: 54px;
}

.dashboard-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dashboard-nav::-webkit-scrollbar {
  display: none;
}

.dashboard-nav-link {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.is-active {
  border-color: #f8cdda;
  color: #c21854;
  background: #fff5f8;
}

.dashboard-logout-form {
  flex: 0 0 auto;
  margin: 0;
}

.logout-button {
  min-width: 96px;
  padding: 0 18px;
}

.dashboard-shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 44px 0;
}

.dashboard-shell.admin-shell {
  width: min(100% - 32px, 1180px);
}

.admin-form-shell {
  width: min(100% - 32px, 760px);
}

.dashboard-hero {
  padding: 32px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(190, 18, 60, 0.11);
}

.dashboard-hero.admin {
  background: linear-gradient(135deg, #ffffff, #fff5f8);
}

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

.dashboard-alert {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  color: #9f1239;
  background: #fff1f2;
  font-weight: 700;
  line-height: 1.5;
}

.dashboard-alert.success {
  border-color: #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

.dashboard-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.dashboard-grid article {
  min-height: 128px;
  padding: 22px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.dashboard-grid strong,
.dashboard-grid span {
  display: block;
}

.dashboard-grid strong {
  color: #111827;
}

.dashboard-grid span {
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: #667085;
  font-weight: 700;
}

.admin-stats article {
  min-height: 104px;
}

.admin-stats span {
  color: #c21854;
  font-size: 1.65rem;
  line-height: 1;
}

.admin-stats-text span {
  font-size: 1rem;
  line-height: 1.25;
}

.admin-stats-text small {
  display: block;
  margin-top: 8px;
  color: #667085;
  font-weight: 800;
  line-height: 1.35;
}

.admin-panel,
.admin-form-panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.admin-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-section-header p {
  margin: 0 0 6px;
  color: #c21854;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-section-header h2 {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.admin-section-header > span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #f8cdda;
  border-radius: 999px;
  color: #c21854;
  background: #fff5f8;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-hero-actions,
.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-hero-actions {
  justify-content: flex-end;
}

.admin-quick-links {
  margin-top: 18px;
}

.admin-primary-link,
.admin-secondary-link,
.admin-filter-button,
.admin-action-link,
.admin-action-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.admin-primary-link,
.admin-filter-button {
  border: 0;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f8175f, #dc2626);
}

.admin-secondary-link,
.admin-action-link {
  border: 1px solid #f8cdda;
  padding: 0 14px;
  color: #c21854;
  background: #ffffff;
}

.dashboard-back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: #c21854;
  font-weight: 800;
  text-decoration: none;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(140px, 160px) minmax(140px, 160px) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.attempt-filters {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) minmax(112px, 136px) minmax(112px, 136px) auto auto;
}

.admin-filter-field,
.admin-form-field {
  display: grid;
  gap: 8px;
}

.admin-filter-field label,
.admin-form-field label {
  color: #344054;
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-filter-field input,
.admin-filter-field select,
.admin-form-field input,
.admin-form-field select,
.admin-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  color: #172033;
  background: #ffffff;
  font: inherit;
}

.admin-form-field textarea {
  min-height: 112px;
  padding: 12px;
  line-height: 1.55;
  resize: vertical;
}

.admin-filter-field input:focus,
.admin-filter-field select:focus,
.admin-form-field input:focus,
.admin-form-field select:focus,
.admin-form-field textarea:focus {
  border-color: #ef2d7a;
  box-shadow: 0 0 0 3px rgba(239, 45, 122, 0.14);
  outline: none;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #fde2ea;
  border-radius: 8px;
}

.admin-user-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: #ffffff;
}

.tryout-table {
  min-width: 1040px;
}

.attempts-table {
  min-width: 1180px;
}

.analytics-table {
  min-width: 900px;
}

.question-difficulty-table {
  min-width: 1080px;
}

.question-table {
  min-width: 760px;
}

.admin-user-table th,
.admin-user-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #fde2ea;
  text-align: left;
  vertical-align: middle;
}

.admin-user-table th {
  color: #667085;
  background: #fff5f8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-user-table td {
  color: #344054;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.admin-user-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #475467;
  background: #f2f4f7;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-pill.role {
  color: #9f1239;
  background: #fff1f2;
}

.admin-pill.active {
  color: #166534;
  background: #dcfce7;
}

.admin-pill.inactive {
  color: #854d0e;
  background: #fef3c7;
}

.admin-pill.draft {
  color: #475467;
  background: #f2f4f7;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions form {
  margin: 0;
}

.admin-action-button {
  border: 1px solid transparent;
  padding: 0 12px;
}

.admin-action-button.danger {
  color: #b42318;
  border-color: #fecdca;
  background: #fff5f5;
}

.admin-action-button.success {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-empty-state {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 28px;
  border: 1px dashed #f8cdda;
  border-radius: 8px;
  color: #667085;
  background: #fffafb;
}

.admin-empty-state strong {
  color: #111827;
}

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

.admin-form-field.span-2 {
  grid-column: 1 / -1;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.admin-submit-button {
  width: auto;
  min-width: 150px;
  margin-top: 0;
  padding: 0 18px;
}

.student-tryout-panel {
  margin-top: 18px;
}

.student-account-strip .student-info-row {
  min-height: 92px;
}

.student-progress-grid,
.analytics-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
}

.student-progress-grid article,
.analytics-summary-grid article {
  min-height: 102px;
}

.student-progress-grid span,
.analytics-summary-grid span {
  color: #c21854;
  font-size: 1.45rem;
  line-height: 1;
}

.student-tryout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.student-tryout-card {
  display: grid;
  min-height: 260px;
  gap: 18px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #ffffff;
}

.student-tryout-card h3 {
  margin: 14px 0 8px;
  color: #111827;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.student-tryout-card p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #667085;
  line-height: 1.55;
}

.tryout-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.tryout-meta-list.compact div {
  padding: 10px 12px;
}

.tryout-meta-list div {
  padding: 12px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #fffafb;
}

.tryout-meta-list dt,
.tryout-meta-list dd {
  margin: 0;
}

.tryout-meta-list dt {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tryout-meta-list dd {
  margin-top: 6px;
  color: #111827;
  font-weight: 800;
}

.tryout-shell {
  width: min(100% - 32px, 900px);
}

.tryout-hero {
  margin-bottom: 18px;
}

.tryout-answer-form,
.question-stack,
.answer-review-list {
  display: grid;
  gap: 16px;
}

.question-card,
.answer-review-card,
.tryout-submit-panel {
  padding: 22px;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.question-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.question-heading span,
.explanation-box span,
.answer-comparison span {
  color: #c21854;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.question-heading strong {
  color: #667085;
  font-size: 0.86rem;
}

.question-card > p,
.answer-review-card > p {
  margin: 0 0 16px;
  overflow-wrap: anywhere;
  color: #111827;
  font-weight: 700;
  line-height: 1.6;
}

.option-list {
  display: grid;
  gap: 10px;
}

.option-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  color: #344054;
  background: #fffafb;
  line-height: 1.5;
  cursor: pointer;
}

.option-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.option-row input {
  margin-top: 4px;
  accent-color: #ef2d7a;
}

.option-row:focus-within {
  border-color: #ef2d7a;
  box-shadow: 0 0 0 3px rgba(239, 45, 122, 0.14);
}

.tryout-submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tryout-submit-panel strong,
.tryout-submit-panel span {
  display: block;
}

.tryout-submit-panel strong {
  color: #111827;
}

.tryout-submit-panel span {
  margin-top: 4px;
  color: #667085;
}

.result-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.answer-review-panel {
  margin-top: 18px;
}

.result-history-list,
.analytics-card-list,
.weakness-list,
.score-progress-list {
  display: grid;
  gap: 12px;
}

.result-history-card,
.analytics-performance-card,
.weakness-card,
.score-progress-item {
  padding: 18px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #ffffff;
}

.result-history-card {
  display: grid;
  gap: 14px;
}

.result-history-card.compact {
  gap: 12px;
  padding: 14px;
}

.result-history-card h3,
.analytics-performance-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.result-history-card span,
.analytics-performance-card span,
.score-progress-top span {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.45;
}

.result-history-main,
.score-progress-top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.result-history-main > strong,
.score-progress-top b {
  flex: 0 0 auto;
  color: #c21854;
  font-size: 1.35rem;
  line-height: 1;
}

.result-meta-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-link {
  min-height: 34px;
}

.analytics-empty-state {
  margin-top: 18px;
}

.analytics-performance-card {
  display: grid;
  gap: 14px;
}

.score-progress-item {
  display: grid;
  gap: 12px;
}

.score-progress-top strong {
  display: block;
  overflow-wrap: anywhere;
  color: #111827;
  line-height: 1.35;
}

.score-bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff1f2;
}

.score-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #f8175f, #dc2626);
}

.weakness-card > p {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  color: #111827;
  font-weight: 700;
  line-height: 1.55;
}

.answer-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.answer-comparison div,
.explanation-box {
  padding: 14px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #fffafb;
}

.answer-comparison strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #111827;
  line-height: 1.5;
}

.explanation-box {
  margin-top: 12px;
}

.explanation-box p {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  color: #344054;
  line-height: 1.6;
}

.review-correct {
  color: #166534 !important;
}

.review-wrong {
  color: #b42318 !important;
}

body.student-app-page {
  background:
    linear-gradient(180deg, #fff7fa 0%, #ffffff 42%, #fff7fa 100%);
}

.student-dashboard-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom-color: rgba(248, 205, 218, 0.72);
  backdrop-filter: blur(14px);
}

.student-header-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.student-header-copy strong {
  overflow: hidden;
  color: #111827;
  font-size: 0.96rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-header-copy span {
  overflow: hidden;
  color: #667085;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-bottom-nav {
  display: none;
}

.student-home-shell {
  width: min(100% - 32px, 1120px);
  padding: 24px 0 48px;
}

.student-list-shell,
.student-more-shell {
  width: min(100% - 32px, 1040px);
}

.student-coming-shell {
  width: min(100% - 32px, 720px);
}

.student-home-hero,
.student-page-hero,
.student-section-card,
.student-coming-card {
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(190, 18, 60, 0.08);
}

.student-home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 248, 0.95));
}

.student-home-hero h1,
.student-page-hero h1,
.student-coming-card h1 {
  margin: 6px 0 0;
  color: #111827;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.student-home-hero p,
.student-page-hero p,
.student-coming-card p {
  max-width: 660px;
  margin: 10px 0 0;
  color: #667085;
  line-height: 1.55;
}

.student-kicker,
.student-section-heading span,
.student-status-pill,
.student-coming-badge {
  color: #c21854;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.student-hero-action,
.student-card-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #f8175f, #dc2626);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.student-hero-action {
  flex: 0 0 auto;
  padding: 0 16px;
}

.student-card-action {
  padding: 0 14px;
}

.student-search-form {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.student-search-form label {
  color: #344054;
  font-size: 0.86rem;
  font-weight: 900;
}

.student-search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(190, 18, 60, 0.07);
}

.student-search-control input {
  min-width: 0;
  border: 0;
  padding: 0 14px;
  color: #172033;
  background: transparent;
  font: inherit;
}

.student-search-control input:focus {
  outline: none;
}

.student-search-control:focus-within {
  border-color: #ef2d7a;
  box-shadow: 0 0 0 3px rgba(239, 45, 122, 0.14);
}

.student-search-control button {
  border: 0;
  padding: 0 16px;
  color: #ffffff;
  background: #c21854;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.student-search-alert {
  margin-bottom: 14px;
}

.student-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.student-quick-card {
  display: grid;
  min-height: 116px;
  align-content: start;
  gap: 7px;
  padding: 16px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  text-decoration: none;
}

.student-quick-card span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 900;
}

.student-quick-card strong {
  overflow-wrap: anywhere;
  color: #c21854;
  font-size: 1.35rem;
  line-height: 1;
}

.student-quick-card small {
  color: #667085;
  font-size: 0.84rem;
  line-height: 1.35;
}

.student-section {
  margin-top: 18px;
}

.student-section-card,
.student-coming-card {
  padding: 20px;
}

.student-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.student-section-heading h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.student-section-heading > a {
  flex: 0 0 auto;
  color: #c21854;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.student-count-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid #f8cdda;
  border-radius: 999px;
  padding: 0 10px;
  color: #c21854;
  background: #fff5f8;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

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

.student-feature-card,
.student-feature-row {
  border: 1px solid #fde2ea;
  border-radius: 8px;
  color: #172033;
  background: #ffffff;
  text-decoration: none;
}

.student-feature-card {
  position: relative;
  display: grid;
  min-height: 142px;
  align-content: start;
  gap: 7px;
  padding: 14px;
}

.student-feature-card.is-active,
.student-feature-row.is-active {
  border-color: #f8b4c9;
  background: #fff7fa;
}

.student-feature-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #c21854;
  background: #fff1f2;
  font-size: 0.78rem;
  font-weight: 900;
}

.student-feature-card strong,
.student-feature-row strong {
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 0.96rem;
  line-height: 1.25;
}

.student-feature-card small,
.student-feature-row small {
  color: #667085;
  font-size: 0.8rem;
  line-height: 1.35;
}

.student-feature-card em,
.student-feature-row em {
  color: #c21854;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.student-feature-card.is-coming-soon em,
.student-feature-row.is-coming-soon em {
  color: #854d0e;
}

.student-home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}

.student-tryout-list,
.student-result-list,
.student-recommendation-list,
.student-feature-list {
  display: grid;
  gap: 10px;
}

.student-tryout-card {
  display: grid;
  min-height: 0;
  gap: 12px;
  align-content: space-between;
  padding: 16px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.student-tryout-card-copy {
  display: grid;
  gap: 8px;
}

.student-status-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: #166534;
  background: #dcfce7;
  font-size: 0.7rem;
}

.student-tryout-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 1rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.student-tryout-card p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.45;
}

.student-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.student-card-meta div {
  padding: 9px 10px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #fffafb;
}

.student-card-meta dt,
.student-card-meta dd {
  margin: 0;
}

.student-card-meta dt {
  color: #667085;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.student-card-meta dd {
  margin-top: 4px;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 900;
}

.student-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #ffffff;
}

.student-result-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 0.94rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.student-result-card span {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 0.78rem;
  line-height: 1.35;
}

.student-result-card strong {
  color: #c21854;
  font-size: 1.08rem;
  line-height: 1;
  white-space: nowrap;
}

.student-result-card a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f8cdda;
  border-radius: 8px;
  padding: 0 10px;
  color: #c21854;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.student-empty-state {
  display: grid;
  gap: 9px;
  justify-items: start;
  padding: 18px;
  border: 1px dashed #f8cdda;
  border-radius: 8px;
  color: #667085;
  background: #fffafb;
}

.student-empty-state strong {
  color: #111827;
}

.student-empty-state span {
  line-height: 1.45;
}

.student-recommendation {
  padding: 18px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  background: #ffffff;
}

.student-recommendation-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-recommendation-list a {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #fde2ea;
  border-radius: 8px;
  color: inherit;
  background: #fffafb;
  text-decoration: none;
}

.student-recommendation-list strong {
  color: #111827;
  line-height: 1.25;
}

.student-recommendation-list span {
  color: #667085;
  font-size: 0.86rem;
  line-height: 1.4;
}

.student-page-hero {
  padding: 24px;
}

.student-tryout-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.student-coming-card {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 28px;
}

.student-coming-card h1,
.student-coming-card p {
  margin-top: 0;
}

.student-coming-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff1f2;
}

.student-feature-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
}

.student-feature-row > span:not(.student-feature-icon) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

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

  .admin-filter-field.search {
    grid-column: 1 / -1;
  }

  .result-summary,
  .answer-comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.auth-page,
  body.dashboard-page {
    background-size: 34px 34px;
  }

  .auth-shell {
    min-height: 100dvh;
    padding: 18px 12px;
  }

  .auth-panel,
  .dashboard-hero {
    padding: 18px;
  }

  .auth-panel {
    padding: 22px;
  }

  .auth-brand {
    margin-bottom: 18px;
  }

  .auth-brand img {
    height: 48px;
  }

  .auth-heading h1,
  .dashboard-hero h1 {
    font-size: clamp(1.32rem, 6vw, 1.55rem);
    line-height: 1.15;
  }

  .auth-heading span,
  .dashboard-hero span {
    margin-top: 8px;
    line-height: 1.45;
  }

  .auth-form {
    gap: 8px;
    margin-top: 20px;
  }

  .auth-form input {
    min-height: 44px;
  }

  .dashboard-header {
    min-height: 0;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
  }

  .dashboard-brand img {
    height: 38px;
  }

  .dashboard-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 6px;
    padding-bottom: 2px;
  }

  .dashboard-nav-link {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .dashboard-logout-form {
    margin-left: auto;
  }

  .logout-button {
    min-width: 82px;
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  .dashboard-shell,
  .dashboard-shell.admin-shell,
  .admin-form-shell,
  .tryout-shell {
    width: min(100% - 20px, 100%);
    padding: 16px 0 24px;
  }

  .student-shell {
    padding-top: 12px;
  }

  .dashboard-back-link {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  .student-hero {
    padding: 16px;
  }

  .dashboard-alert {
    margin-top: 12px;
    padding: 11px 12px;
    font-size: 0.92rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .dashboard-grid article {
    min-height: 0;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  }

  .student-progress-grid,
  .analytics-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-progress-grid article,
  .analytics-summary-grid article {
    padding: 12px;
  }

  .student-progress-grid strong,
  .analytics-summary-grid strong {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .student-progress-grid span,
  .analytics-summary-grid span {
    margin-top: 7px;
    font-size: 1.15rem;
  }

  .student-account-strip {
    gap: 8px;
  }

  .student-account-strip .student-info-row {
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
  }

  .student-account-strip strong,
  .student-account-strip span {
    margin: 0;
    font-size: 0.9rem;
  }

  .student-account-strip span {
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .admin-hero,
  .admin-section-header,
  .admin-form-actions,
  .tryout-submit-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-hero-actions,
  .admin-quick-links {
    width: 100%;
    flex-direction: column;
  }

  .admin-primary-link,
  .admin-secondary-link,
  .admin-filter-button,
  .admin-submit-button {
    width: 100%;
  }

  .admin-panel,
  .admin-form-panel {
    margin-top: 12px;
    padding: 14px;
  }

  .admin-section-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .student-tryout-panel .admin-section-header,
  .answer-review-panel .admin-section-header {
    align-items: center;
    flex-direction: row;
  }

  .admin-section-header h2 {
    font-size: 1.08rem;
  }

  .admin-section-header > span,
  .admin-pill {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .admin-filters,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-field.search,
  .admin-form-field.span-2 {
    grid-column: auto;
  }

  .tryout-meta-list,
  .result-summary,
  .answer-comparison {
    grid-template-columns: 1fr;
  }

  .result-meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-card,
  .answer-review-card,
  .tryout-submit-panel {
    padding: 14px;
  }

  .question-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
  }

  .student-tryout-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .student-tryout-card {
    min-height: 0;
    gap: 12px;
    padding: 14px;
  }

  .student-tryout-card h3 {
    margin: 10px 0 6px;
    font-size: 1rem;
  }

  .student-tryout-card p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .tryout-meta-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tryout-meta-list div,
  .tryout-meta-list.compact div {
    padding: 9px 10px;
  }

  .tryout-meta-list dt {
    font-size: 0.68rem;
  }

  .tryout-meta-list dd {
    margin-top: 4px;
    font-size: 0.86rem;
  }

  .tryout-answer-form,
  .question-stack,
  .answer-review-list {
    gap: 12px;
  }

  .question-card > p,
  .answer-review-card > p {
    margin-bottom: 12px;
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .option-list {
    gap: 8px;
  }

  .option-row {
    min-height: 44px;
    gap: 9px;
    padding: 10px 11px;
    line-height: 1.42;
  }

  .option-row input {
    margin-top: 3px;
  }

  .tryout-submit-panel {
    gap: 10px;
  }

  .take-tryout-shell .tryout-sticky-submit {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-right: -10px;
    margin-left: -10px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -10px 24px rgba(190, 18, 60, 0.13);
  }

  .result-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-summary article {
    padding: 12px;
  }

  .result-summary span {
    margin-top: 6px;
    font-size: 1.2rem;
  }

  .answer-comparison {
    gap: 8px;
    margin-top: 10px;
  }

  .answer-comparison div,
  .explanation-box {
    padding: 11px;
  }

  .result-history-card,
  .analytics-performance-card,
  .weakness-card,
  .score-progress-item {
    padding: 12px;
  }

  .result-history-main,
  .score-progress-top {
    gap: 10px;
  }

  .result-history-main > strong,
  .score-progress-top b {
    font-size: 1.08rem;
  }

  .result-history-card h3,
  .analytics-performance-card h3 {
    font-size: 0.96rem;
  }

  .explanation-box {
    margin-top: 8px;
  }

  .explanation-box p {
    line-height: 1.5;
  }

  .admin-table-wrap {
    overflow: visible;
    border: 0;
  }

  .admin-user-table,
  .admin-user-table thead,
  .admin-user-table tbody,
  .admin-user-table tr,
  .admin-user-table th,
  .admin-user-table td {
    display: block;
  }

  .admin-user-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
    background: transparent;
  }

  .admin-user-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .admin-user-table tr {
    border: 1px solid #fde2ea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  }

  .admin-user-table td {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #fde2ea;
  }

  .admin-user-table td::before {
    content: attr(data-label);
    color: #667085;
    font-weight: 800;
  }

  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions form,
  .admin-action-link,
  .admin-action-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .auth-shell {
    padding: 12px 10px;
  }

  .auth-panel {
    padding: 18px;
  }

  .auth-brand img {
    height: 42px;
  }

  .dashboard-header {
    min-height: 0;
    padding: 7px 10px;
  }

  .dashboard-brand img {
    height: 34px;
  }

  .dashboard-nav-link {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.76rem;
  }

  .logout-button {
    min-width: 76px;
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .dashboard-shell,
  .dashboard-shell.admin-shell,
  .admin-form-shell,
  .tryout-shell {
    width: min(100% - 16px, 100%);
    padding: 12px 0 20px;
  }

  .dashboard-hero,
  .student-hero,
  .admin-panel,
  .admin-form-panel,
  .question-card,
  .answer-review-card {
    padding: 12px;
  }

  .auth-heading h1,
  .dashboard-hero h1 {
    font-size: 1.25rem;
  }

  .auth-heading p,
  .dashboard-hero p,
  .admin-section-header p,
  .question-heading span,
  .explanation-box span,
  .answer-comparison span {
    font-size: 0.7rem;
  }

  .dashboard-hero span {
    font-size: 0.9rem;
  }

  .student-account-strip .student-info-row {
    padding: 9px 10px;
  }

  .student-account-strip strong,
  .student-account-strip span {
    font-size: 0.84rem;
  }

  .student-tryout-card {
    gap: 10px;
    padding: 12px;
  }

  .tryout-meta-list {
    gap: 6px;
  }

  .tryout-meta-list div,
  .tryout-meta-list.compact div {
    padding: 8px;
  }

  .admin-primary-link,
  .admin-secondary-link,
  .admin-filter-button,
  .admin-action-link,
  .admin-action-button {
    min-height: 38px;
    font-size: 0.84rem;
  }

  .option-row {
    min-height: 46px;
    padding: 10px;
    font-size: 0.92rem;
  }

  .tryout-submit-panel {
    padding: 12px;
  }

  .tryout-submit-panel strong {
    font-size: 0.94rem;
  }

  .tryout-submit-panel span {
    font-size: 0.84rem;
  }

  .result-summary {
    gap: 8px;
  }

  .result-summary article {
    padding: 10px;
  }

  .result-summary strong {
    font-size: 0.78rem;
  }

  .result-summary span {
    font-size: 1.08rem;
  }

  .answer-comparison {
    grid-template-columns: 1fr;
  }

  .admin-user-table td {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 11px;
    font-size: 0.86rem;
  }
}

@media (max-width: 768px) {
  body.student-app-page {
    padding-bottom: 76px;
  }

  body.student-no-bottom-nav {
    padding-bottom: 0;
  }

  .student-dashboard-header {
    display: grid;
    min-height: 54px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
  }

  .student-dashboard-header .dashboard-brand img {
    height: 32px;
  }

  .student-dashboard-header .dashboard-nav {
    display: none;
  }

  .student-dashboard-header .dashboard-logout-form {
    margin-left: 0;
  }

  .student-dashboard-header .logout-button {
    min-width: 0;
    min-height: 32px;
    border: 1px solid #f8cdda;
    padding: 0 10px;
    color: #c21854;
    background: #ffffff;
    font-size: 0.74rem;
  }

  .student-header-copy strong {
    font-size: 0.84rem;
  }

  .student-header-copy span {
    font-size: 0.72rem;
  }

  .student-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #fde2ea;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 28px rgba(190, 18, 60, 0.12);
  }

  .student-bottom-nav-link {
    display: grid;
    min-width: 0;
    min-height: 48px;
    align-content: center;
    justify-items: center;
    gap: 3px;
    border-radius: 8px;
    color: #667085;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  .student-bottom-icon {
    display: inline-flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #c21854;
    background: #fff1f2;
    font-size: 0.58rem;
    font-weight: 900;
  }

  .student-bottom-nav-link.is-active {
    color: #c21854;
    background: #fff5f8;
  }

  .student-bottom-nav-link.is-active .student-bottom-icon {
    color: #ffffff;
    background: linear-gradient(135deg, #f8175f, #dc2626);
  }

  .student-home-shell,
  .student-list-shell,
  .student-more-shell,
  .student-coming-shell {
    width: min(100% - 16px, 100%);
    padding: 12px 0 18px;
  }

  .student-home-hero,
  .student-page-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .student-home-hero h1,
  .student-page-hero h1,
  .student-coming-card h1 {
    font-size: 1.28rem;
    line-height: 1.14;
  }

  .student-home-hero p,
  .student-page-hero p,
  .student-coming-card p {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .student-hero-action {
    width: 100%;
    min-height: 40px;
  }

  .student-search-form {
    margin-top: 12px;
  }

  .student-search-control {
    min-height: 44px;
  }

  .student-search-control input {
    padding: 0 11px;
    font-size: 0.9rem;
  }

  .student-search-control button {
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .student-quick-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .student-quick-card {
    min-height: 0;
    gap: 5px;
    padding: 12px;
  }

  .student-quick-card strong {
    font-size: 1.12rem;
  }

  .student-section {
    margin-top: 12px;
  }

  .student-section-card,
  .student-recommendation,
  .student-coming-card {
    padding: 12px;
  }

  .student-section-heading {
    gap: 10px;
    margin-bottom: 10px;
  }

  .student-section-heading h2 {
    font-size: 1.05rem;
  }

  .student-section-heading > a,
  .student-count-badge {
    font-size: 0.78rem;
  }

  .student-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .student-feature-card {
    min-height: 118px;
    gap: 5px;
    padding: 10px;
  }

  .student-feature-icon {
    width: 32px;
    height: 32px;
    font-size: 0.68rem;
  }

  .student-feature-card strong,
  .student-feature-row strong {
    font-size: 0.86rem;
  }

  .student-feature-card small,
  .student-feature-row small {
    font-size: 0.74rem;
    line-height: 1.28;
  }

  .student-feature-card em,
  .student-feature-row em {
    font-size: 0.68rem;
  }

  .student-home-columns {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .student-tryout-list,
  .student-result-list,
  .student-recommendation-list,
  .student-feature-list {
    gap: 8px;
  }

  .student-tryout-card {
    gap: 10px;
    padding: 12px;
  }

  .student-tryout-card h3 {
    font-size: 0.96rem;
  }

  .student-tryout-card p {
    font-size: 0.84rem;
  }

  .student-card-meta {
    gap: 7px;
  }

  .student-card-meta div {
    padding: 8px;
  }

  .student-result-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding: 11px;
  }

  .student-result-card a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .student-recommendation-list {
    grid-template-columns: 1fr;
  }

  .student-recommendation-list a {
    padding: 11px;
  }

  .student-tryout-page-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .student-feature-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
  }

  .student-feature-row em {
    grid-column: 2;
  }

  .take-tryout-shell {
    padding-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .student-dashboard-header {
    padding: 6px 8px;
  }

  .student-dashboard-header .dashboard-brand img {
    height: 30px;
  }

  .student-dashboard-header .logout-button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .student-header-copy strong {
    font-size: 0.8rem;
  }

  .student-header-copy span {
    font-size: 0.68rem;
  }

  .student-bottom-nav {
    padding-right: 6px;
    padding-left: 6px;
  }

  .student-bottom-nav-link {
    min-height: 46px;
    font-size: 0.64rem;
  }

  .student-bottom-icon {
    width: 22px;
    height: 22px;
  }

  .student-home-shell,
  .student-list-shell,
  .student-more-shell,
  .student-coming-shell {
    width: min(100% - 14px, 100%);
  }

  .student-home-hero,
  .student-page-hero,
  .student-section-card,
  .student-recommendation,
  .student-coming-card {
    padding: 10px;
  }

  .student-home-hero h1,
  .student-page-hero h1,
  .student-coming-card h1 {
    font-size: 1.18rem;
  }

  .student-kicker,
  .student-section-heading span,
  .student-status-pill,
  .student-coming-badge {
    font-size: 0.66rem;
  }

  .student-search-control {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .student-search-control button {
    padding: 0;
  }

  .student-feature-grid {
    gap: 7px;
  }

  .student-feature-card {
    min-height: 112px;
    padding: 9px;
  }

  .student-feature-card small {
    font-size: 0.7rem;
  }

  .student-card-action {
    width: 100%;
    min-height: 38px;
  }
}
