:root {
  --bg: #f4efe6;
  --surface: #fffdf8;
  --surface-alt: #f8f1e4;
  --ink: #1f2a2c;
  --muted: #536266;
  --line: #d7c8af;
  --accent: #006d77;
  --accent-strong: #004e55;
  --danger: #a63446;
  --success: #2a7f62;
  --shadow: 0 20px 60px rgba(31, 42, 44, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 109, 119, 0.08), transparent 28%),
    linear-gradient(180deg, #f2e8d8 0%, var(--bg) 35%, #efe7da 100%);
}

a {
  color: inherit;
}

.hero {
  padding: 3rem 1.5rem 2rem;
}

.hero__inner,
.page,
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero__inner {
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.96), rgba(227, 138, 52, 0.9));
  color: white;
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
  max-width: 12ch;
}

.lede {
  max-width: 46rem;
  font-size: 1.1rem;
  margin: 1rem 0 0;
}

.nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}

.nav a {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.button:hover,
.nav a:hover {
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.button--danger {
  background: var(--danger);
  color: white;
}

.page {
  padding: 0 0 3rem;
}

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

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(215, 200, 175, 0.8);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.stat-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}

.stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.stat-card strong {
  font-size: 2.4rem;
  line-height: 1;
}

h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font-weight: 700;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.assessment-export-row {
  margin-top: 1rem;
}

.table-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.class-pill-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.class-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.class-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.12);
  color: var(--accent-strong);
  font-size: 0.82rem;
}

.class-pill--active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.period-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.period-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}

.period-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.period-card__toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.period-card__toggle input {
  width: auto;
}

.admin-layout {
  display: grid;
  grid-template-areas: "nav main";
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-main {
  display: grid;
  grid-area: main;
  align-self: start;
  margin-top: 0;
}

.admin-nav {
  grid-area: nav;
  position: sticky;
  top: 0;
  align-self: start;
  margin-top: 0;
}

.admin-nav__menu {
  display: grid;
  gap: 0.75rem;
}

.admin-nav__item {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.admin-nav__item--active {
  background: linear-gradient(135deg, rgba(0, 109, 119, 0.12), rgba(227, 138, 52, 0.12));
  border-color: var(--accent);
}

.admin-panel {
  display: none;
}

.admin-panel--active {
  display: block;
}

.admin-panel__header {
  margin-bottom: 1rem;
}

.announcement-form {
  display: grid;
  gap: 0.9rem;
}

.announcement-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.announcement-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.announcement-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}

.announcement-item__body {
  display: grid;
  gap: 0.25rem;
}

.announcement-item__body p {
  margin: 0;
}

.is-hidden {
  display: none !important;
}

.class-pill--active span {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid rgba(215, 200, 175, 0.8);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.9rem;
}

.category-list,
.metric-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.category-list li {
  padding: 0.6rem 0.85rem;
  background: var(--surface-alt);
  border-radius: 999px;
  border: 1px solid var(--line);
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(215, 200, 175, 0.8);
}

.metric-list li:last-child {
  border-bottom: 0;
}

.admin-body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: #dbe7ff;
  background:
    radial-gradient(circle at 16% 12%, rgba(76, 140, 255, 0.14), transparent 18%),
    radial-gradient(circle at 82% 10%, rgba(114, 88, 255, 0.12), transparent 16%),
    linear-gradient(180deg, #121d33 0%, #17243d 28%, #111a2d 100%);
}

.admin-body .hero {
  padding: 1rem 1rem 0.9rem;
}

.admin-body .hero__inner,
.admin-body .page,
.admin-body .footer {
  width: min(1440px, calc(100% - 1.5rem));
}

.admin-body .hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(32, 48, 79, 0.96), rgba(30, 44, 72, 0.96));
  border: 1px solid rgba(93, 127, 191, 0.26);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(5, 10, 20, 0.35);
}

.admin-body .hero h1 {
  max-width: none;
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f6fbff;
  text-transform: uppercase;
}

.admin-body .nav {
  margin-top: 0;
}

.admin-body .nav a,
.admin-body .button {
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(106, 146, 219, 0.24);
  background: linear-gradient(180deg, rgba(36, 56, 94, 0.98), rgba(29, 45, 74, 0.98));
  color: #e6f0ff;
  font-weight: 700;
  box-shadow: none;
}

.admin-body .button--ghost,
.admin-body .nav a {
  background: rgba(26, 40, 67, 0.92);
  color: #dce9ff;
}

.admin-body .button--danger {
  background: linear-gradient(180deg, rgba(183, 69, 92, 0.96), rgba(143, 39, 60, 0.96));
  border-color: rgba(255, 152, 170, 0.24);
}

.admin-body .page {
  padding-top: 1rem;
  padding-bottom: 2.25rem;
}

.admin-body .card,
.admin-body .notice {
  background: linear-gradient(180deg, rgba(33, 48, 79, 0.98), rgba(28, 41, 68, 0.98));
  border: 1px solid rgba(90, 123, 184, 0.18);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(7, 11, 22, 0.28);
}

.admin-body .card {
  padding: 1.25rem;
}

.admin-body h2,
.admin-body h3,
.admin-body h4 {
  color: #f5f8ff;
}

.admin-body .preview-card__eyebrow,
.admin-body .hint,
.admin-body th,
.admin-body .footer {
  color: #8fa5cb;
}

.admin-body .footer {
  padding-bottom: 1.4rem;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  background: rgba(18, 28, 49, 0.96);
  border: 1px solid rgba(98, 131, 190, 0.2);
  color: #ebf2ff;
}

.admin-body input::placeholder,
.admin-body textarea::placeholder {
  color: #6f86ad;
}

.admin-body .grid {
  gap: 1rem;
}

.admin-body .admin-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 1rem;
}

.admin-body .admin-nav {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(30, 45, 74, 0.98), rgba(24, 36, 61, 0.98));
}

.admin-body .admin-nav__menu {
  gap: 0.7rem;
}

.admin-body .admin-nav__item {
  padding: 1rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(88, 122, 181, 0.18);
  background: rgba(24, 35, 58, 0.9);
  color: #dce8ff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-body .admin-nav__item--active {
  background: linear-gradient(135deg, rgba(60, 95, 159, 0.88), rgba(41, 63, 107, 0.96));
  border-color: rgba(123, 166, 243, 0.3);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(176, 209, 255, 0.08);
}

.admin-body .admin-main {
  gap: 1rem;
}

.admin-body .admin-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(74, 101, 156, 0.18);
}

.admin-body .admin-panel__header h2 {
  margin-bottom: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-body .class-pill {
  padding: 0.9rem 1.05rem;
  border-radius: 15px;
  border: 1px solid rgba(93, 126, 187, 0.18);
  background: rgba(24, 36, 60, 0.94);
  color: #e7efff;
}

.admin-body .class-pill span {
  background: rgba(77, 110, 173, 0.22);
  color: #cfe0ff;
}

.admin-body .class-pill--active {
  background: linear-gradient(135deg, rgba(60, 95, 159, 0.88), rgba(43, 66, 110, 0.98));
  border-color: rgba(126, 168, 243, 0.34);
}

.admin-body .class-pill--active span {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.admin-body .student-summary,
.admin-body .period-card,
.admin-body .announcement-item {
  background: rgba(23, 34, 58, 0.92);
  border: 1px solid rgba(84, 115, 171, 0.16);
  border-radius: 18px;
}

.admin-body .period-card,
.admin-body .announcement-item,
.admin-body .student-summary {
  box-shadow: inset 0 0 0 1px rgba(143, 179, 255, 0.04);
}

.admin-body .period-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-body table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.admin-body thead th {
  background: rgba(20, 30, 51, 0.92);
  color: #9fb3d7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
}

.admin-body th,
.admin-body td {
  padding: 0.95rem 0.8rem;
  border-bottom: 1px solid rgba(76, 105, 161, 0.16);
}

.admin-body tbody tr {
  background: rgba(28, 41, 69, 0.62);
}

.admin-body tbody tr:nth-child(even) {
  background: rgba(24, 36, 60, 0.82);
}

.admin-body tbody tr:hover {
  background: rgba(40, 58, 96, 0.78);
}

.admin-body code {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border-radius: 10px;
  background: rgba(15, 24, 42, 0.88);
  color: #d4e4ff;
}

.admin-body .announcement-form__grid,
.admin-body .period-grid {
  gap: 1rem;
}

.admin-body .announcement-list {
  margin-top: 1rem;
}

.admin-body .success {
  background: rgba(28, 143, 107, 0.14);
  color: #8ff3cf;
  border: 1px solid rgba(66, 212, 161, 0.18);
}

.admin-body .error {
  background: rgba(167, 54, 75, 0.16);
  color: #ffb4c0;
  border: 1px solid rgba(226, 111, 132, 0.16);
}

.admin-body .modal-overlay {
  background: rgba(8, 14, 27, 0.78);
  backdrop-filter: blur(6px);
}

.admin-body .modal-card {
  background: linear-gradient(180deg, rgba(23, 34, 58, 0.985), rgba(18, 28, 49, 0.985));
  border: 1px solid rgba(93, 127, 191, 0.24);
  border-radius: 24px;
  box-shadow: 0 28px 64px rgba(4, 8, 18, 0.52);
}

.admin-body .modal-card--sheet {
  width: min(1320px, 100%);
  padding: 1.35rem;
}

.admin-body .modal-card__header {
  padding: 0.2rem 0 1rem;
  margin-bottom: 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(74, 101, 156, 0.22);
}

.admin-body .modal-card__header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f5f8ff;
}

.admin-body .admin-sheet-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 0.75rem;
  align-items: end;
  margin-left: auto;
}

.admin-body .admin-sheet-switcher label {
  display: grid;
  gap: 0.35rem;
}

.admin-body .admin-sheet-switcher span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #90a6cb;
}

.admin-body .admin-sheet-switcher select {
  min-width: 0;
}

.admin-body .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: #dbe7ff;
  background: rgba(27, 41, 68, 0.92);
  border: 1px solid rgba(93, 127, 191, 0.22);
}

.admin-body .student-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1rem;
}

.admin-body .student-summary p {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(18, 28, 49, 0.9);
  border: 1px solid rgba(82, 114, 172, 0.16);
}

.admin-body .modal-sheet__table {
  margin-top: 1.1rem;
  padding: 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 41, 69, 0.9), rgba(22, 33, 56, 0.94));
  border: 1px solid rgba(86, 118, 176, 0.18);
}

.admin-body .modal-sheet__table h4 {
  margin-bottom: 1rem;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
}

.confirm-screen {
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem;
}

.confirm-screen__dialog {
  width: min(860px, 100%);
}

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

.confirm-screen__warning {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 126, 147, 0.22);
  background: linear-gradient(180deg, rgba(79, 17, 34, 0.34), rgba(53, 13, 24, 0.46));
  color: #ffd5dd;
}

.confirm-screen__warning p {
  margin: 0;
}

.confirm-screen__actions {
  margin-top: 1rem;
  justify-content: flex-end;
}

.confirm-screen__actions form {
  margin: 0;
}

.admin-body .confirm-screen__details p {
  background: rgba(18, 28, 49, 0.9);
  border: 1px solid rgba(82, 114, 172, 0.16);
}

.admin-body .sheet-phase {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(78, 108, 166, 0.18);
}

.admin-body .sheet-phase__header {
  border-color: rgba(86, 118, 176, 0.18);
  background: linear-gradient(180deg, rgba(19, 30, 50, 0.95), rgba(16, 25, 43, 0.98));
}

.admin-body .sheet-phase[open] .sheet-phase__header {
  box-shadow: inset 0 0 0 1px rgba(138, 176, 245, 0.08);
}

.admin-body .sheet-phase__empty {
  background: rgba(16, 25, 42, 0.62);
  border-color: rgba(86, 118, 176, 0.18);
}

.admin-body .preview-grid--sheet {
  gap: 1rem;
}

.admin-body .preview-card--sheet {
  justify-items: start;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(83, 116, 173, 0.18);
  background: linear-gradient(180deg, rgba(22, 33, 57, 0.96), rgba(17, 26, 44, 0.98));
}

.admin-body .preview-card__viewer--sheet {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  border-color: rgba(82, 114, 172, 0.18);
  background: rgba(255, 255, 255, 0.98);
}

.admin-body .preview-card__viewer--sheet .preview-media,
.admin-body .preview-card__viewer--sheet .preview-video {
  display: block;
  width: auto;
  max-width: min(100%, 320px);
  height: auto;
  max-height: 180px;
}

.admin-body .preview-card__viewer--sheet .preview-frame {
  display: block;
  width: min(320px, 100%);
  height: 180px;
}

.admin-body .assessment-phase-group {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(86, 118, 176, 0.18);
  background: linear-gradient(180deg, rgba(24, 36, 60, 0.95), rgba(19, 29, 49, 0.98));
}

.admin-body .assessment-phase-group__header h5 {
  color: #f3f7ff;
}

.admin-body .assessment-phase-toggle {
  border-color: rgba(93, 127, 191, 0.22);
  background: rgba(24, 36, 60, 0.94);
  color: #dce9ff;
}

.admin-body .assessment-phase-toggle--active {
  background: linear-gradient(135deg, rgba(60, 95, 159, 0.88), rgba(43, 66, 110, 0.98));
  border-color: rgba(126, 168, 243, 0.34);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(176, 209, 255, 0.08);
}

.admin-body .assessment-phase-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(84, 115, 171, 0.18);
  background: linear-gradient(180deg, rgba(22, 33, 57, 0.96), rgba(17, 26, 44, 0.98));
}

.admin-body .assessment-form__meta {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.admin-body .level-option {
  min-height: 154px;
  border-color: rgba(88, 122, 181, 0.18);
  background: rgba(14, 23, 40, 0.92);
}

.admin-body .level-option:has(input:checked) {
  border-color: rgba(124, 170, 247, 0.52);
  box-shadow: 0 0 0 2px rgba(88, 142, 233, 0.14);
}

.admin-body .level-pill {
  background: rgba(77, 110, 173, 0.2);
  border-color: rgba(118, 153, 217, 0.22);
  color: #d7e6ff;
}

.admin-body .level-copy {
  color: #d8e4fa;
}

.admin-body .chart-container {
  border-color: rgba(84, 115, 171, 0.18);
  background: rgba(12, 20, 35, 0.82);
}

.admin-body .assessment-cycle-card {
  width: 100%;
  max-width: none;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(84, 115, 171, 0.18);
  background: linear-gradient(180deg, rgba(22, 33, 57, 0.96), rgba(17, 26, 44, 0.98));
}

.admin-body .assessment-history li {
  background: rgba(15, 24, 42, 0.9);
}

.admin-body .assessment-history li {
  grid-template-columns: 12px minmax(120px, 0.95fr) minmax(82px, auto) minmax(98px, auto) minmax(0, 1.45fr) auto;
  column-gap: 0.7rem;
}

.admin-body .assessment-history__delete {
  justify-self: end;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}

.admin-body .assessment-export-row {
  margin-top: 0.85rem;
}

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

  .admin-body .admin-sheet-switcher {
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }
}

.student-login-body .student-shell {
  max-width: 34rem;
  margin: 0 auto;
}

.student-login-body .student-card {
  padding: 1.6rem;
}

.student-login-body .student-card p {
  color: #a6bbde;
}

.notice {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.success {
  background: rgba(42, 127, 98, 0.14);
  color: var(--success);
  border: 1px solid rgba(42, 127, 98, 0.3);
}

.error {
  background: rgba(166, 52, 70, 0.12);
  color: var(--danger);
  border: 1px solid rgba(166, 52, 70, 0.22);
}

.footer {
  padding: 0 0 2rem;
  color: var(--muted);
}

.student-shell {
  max-width: 34rem;
  margin: 0 auto;
}

.student-card {
  padding: 2rem;
}

.student-body .hero__inner {
  background: linear-gradient(135deg, rgba(24, 84, 117, 0.96), rgba(35, 130, 93, 0.88));
}

.student-body--portal {
  background:
    radial-gradient(circle at top right, rgba(43, 210, 255, 0.14), transparent 18%),
    radial-gradient(circle at 15% 15%, rgba(0, 133, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #020816 0%, #071226 36%, #050d1c 100%);
  color: #dce8f6;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  position: relative;
}

.student-body--portal::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(27, 90, 150, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 90, 150, 0.08) 1px, transparent 1px);
  background-size: 100% 32px, 32px 100%;
  opacity: 0.22;
}

.student-body--portal .hero__inner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 18, 34, 0.98), rgba(5, 25, 46, 0.95)),
    linear-gradient(90deg, rgba(0, 255, 240, 0.12), transparent);
  border: 1px solid rgba(79, 212, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(45, 190, 255, 0.08), 0 24px 80px rgba(0, 0, 0, 0.45);
  border-radius: 18px;
  clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.student-body--portal .hero__inner::before,
.student-body--portal .hero__inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.student-body--portal .hero__inner::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(61, 212, 255, 0.16), transparent 18%, transparent 82%, rgba(61, 212, 255, 0.16)),
    linear-gradient(180deg, rgba(61, 212, 255, 0.14), transparent 24%, transparent 76%, rgba(61, 212, 255, 0.14));
  opacity: 0.55;
}

.student-body--portal .hero__inner::after {
  right: 1.2rem;
  top: 1rem;
  width: 180px;
  height: 12px;
  background: linear-gradient(90deg, rgba(0, 255, 240, 0.2), rgba(0, 184, 255, 0.85));
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 184, 255, 0.35);
}

.student-body--portal .hero {
  display: none;
}

.student-body--portal .hero h1 {
  max-width: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.student-body--portal .page,
.student-body--portal .hero__inner,
.student-body--portal .footer {
  width: min(1320px, calc(100% - 2rem));
}

.student-body--portal .page {
  padding-top: 0.75rem;
}

.student-body--portal .card,
.student-body--portal .notice {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(4, 18, 33, 0.94), rgba(3, 12, 23, 0.97));
  border: 1px solid rgba(90, 193, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.08), 0 18px 48px rgba(0, 0, 0, 0.34);
}

.student-body--portal .card::before,
.student-body--portal .notice::before,
.hud-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(58, 177, 242, 0.12);
  pointer-events: none;
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.student-body--portal input,
.student-body--portal select,
.student-body--portal textarea {
  background: rgba(7, 14, 25, 0.88);
  border-color: rgba(109, 162, 210, 0.22);
  color: #eaf4ff;
}

.student-body--portal .button,
.student-body--portal .nav a {
  background: linear-gradient(135deg, #00b8d9, #005fbd);
  color: white;
}

.student-body--portal .button--ghost,
.student-body--portal .nav a {
  background: rgba(8, 36, 63, 0.8);
  border-color: rgba(69, 181, 239, 0.3);
  color: #d8f7ff;
}

.student-body--portal .hint,
.student-body--portal th,
.student-body--portal .preview-card__eyebrow,
.student-body--portal .footer {
  color: #8ea7bf;
}

.student-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.student-header__identity {
  position: relative;
  display: grid;
  grid-template-columns: 205px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  min-height: 228px;
  height: 100%;
  border-radius: 18px;
}

.student-avatar-form {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.55rem;
  margin: 0;
  width: 205px;
}

.student-avatar-trigger {
  position: relative;
  display: grid;
  gap: 0.65rem;
  justify-items: stretch;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}

.student-avatar-trigger__text {
  display: block;
  width: 100%;
  color: #88b9dd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  text-align: center;
}

.student-avatar-submit {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.student-avatar-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.student-avatar-submit {
  pointer-events: none;
}

.student-avatar-ring {
  position: relative;
  display: block;
  width: 205px;
  height: 252px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(99, 182, 255, 0.2);
  background: linear-gradient(180deg, rgba(5, 16, 29, 0.92), rgba(7, 26, 46, 0.72));
  box-shadow: inset 0 0 0 1px rgba(0, 255, 240, 0.08), 0 0 24px rgba(0, 174, 255, 0.1);
}

.student-header__text {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0.45rem;
}

.student-header__text h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.8rem);
  line-height: 0.96;
  color: #f4fbff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  max-width: 12ch;
}

.student-header__text p:last-child {
  margin: 0;
  color: #8bc8ef;
  font-size: 1.02rem;
}

.student-header__cycle {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.55rem;
  justify-items: stretch;
  min-width: 0;
  width: 100%;
  height: 100%;
}

.student-header__charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 205px)) 64px;
  gap: 1rem;
  align-items: stretch;
  justify-content: start;
  flex: none;
  min-width: 0;
  width: max-content;
  margin-left: 0;
}

.student-header__cycle p {
  margin: 0;
  color: #8bc8ef;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  text-align: center;
}

.student-header__cycle-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  height: 252px;
  padding: 0.25rem;
  border-radius: 22px;
  border: 1px solid rgba(99, 182, 255, 0.2);
  background: linear-gradient(180deg, rgba(5, 16, 29, 0.92), rgba(7, 26, 46, 0.72));
  box-shadow: inset 0 0 0 1px rgba(0, 255, 240, 0.08), 0 0 24px rgba(0, 174, 255, 0.1);
}

.student-header__action {
  display: flex;
  align-items: stretch;
}

.student-header__action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 252px;
  border-radius: 18px;
  border: 1px solid rgba(255, 112, 112, 0.28);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 84, 84, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(33, 9, 14, 0.94), rgba(50, 10, 18, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 182, 182, 0.08), 0 0 22px rgba(255, 73, 73, 0.16);
  text-decoration: none;
  color: #ffe3e3;
}

.student-header__action-link span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-size: 0.88rem;
}

.student-header__action-link--disabled {
  opacity: 0.45;
  cursor: default;
}

.student-header__cycle-chart--design {
  border-color: rgba(196, 120, 255, 0.28);
  background:
    radial-gradient(circle at 50% 45%, rgba(182, 80, 255, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(17, 10, 31, 0.94), rgba(28, 12, 45, 0.82));
  box-shadow: inset 0 0 0 1px rgba(224, 167, 255, 0.1), 0 0 28px rgba(183, 94, 255, 0.2);
}

.student-header__cycle--design p {
  color: #efccff;
}

.student-header__cycle-chart--technology {
  border-color: rgba(196, 120, 255, 0.28);
  background:
    radial-gradient(circle at 50% 45%, rgba(182, 80, 255, 0.16), transparent 56%),
    linear-gradient(180deg, rgba(17, 10, 31, 0.94), rgba(28, 12, 45, 0.82));
  box-shadow: inset 0 0 0 1px rgba(224, 167, 255, 0.1), 0 0 28px rgba(183, 94, 255, 0.2);
}

.student-header__cycle--technology p {
  color: #efccff;
}

.student-header__cycle-chart--announcements {
  align-items: stretch;
  justify-content: stretch;
  border-color: rgba(255, 216, 102, 0.34);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 214, 10, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(34, 25, 7, 0.94), rgba(49, 35, 8, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 230, 158, 0.1), 0 0 28px rgba(255, 208, 65, 0.2);
}

.student-header__cycle--announcements p {
  color: #ffe9a6;
}

.student-announcements-card {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  width: 100%;
  height: 100%;
  padding: 0.95rem;
  border-radius: 20px;
}

.student-announcements-card__item {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 224, 138, 0.18);
  background: linear-gradient(180deg, rgba(68, 50, 10, 0.54), rgba(33, 24, 6, 0.54));
  box-shadow: inset 0 0 0 1px rgba(255, 241, 192, 0.04);
}

.student-announcements-card__eyebrow {
  margin: 0;
  color: rgba(255, 234, 170, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.student-announcements-card h3 {
  margin: 0;
  color: #fff2c4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.student-announcements-card__text {
  margin: 0;
  color: #f5df95;
  line-height: 1.45;
  font-size: 0.98rem;
  font-weight: 600;
}

.student-avatar {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  border: 0;
  background: rgba(4, 12, 22, 0.9);
  box-shadow: none;
}

.student-header__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.student-metric {
  min-width: 118px;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(72, 179, 235, 0.22);
  background: linear-gradient(180deg, rgba(8, 30, 50, 0.82), rgba(5, 17, 31, 0.92));
}

.student-metric strong,
.student-metric span {
  display: block;
}

.student-metric strong {
  font-size: 1.3rem;
  color: #86efff;
}

.student-metric span:last-child {
  margin-top: 0.2rem;
  color: #7d9ebd;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}


.student-panel__head h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #effaff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.student-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.student-nav {
  position: sticky;
  top: 0;
  align-self: start;
  border-radius: 18px;
  margin-top: 0;
}

.student-nav__menu {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.student-nav__item {
  display: block;
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  color: #cfeaff;
  border: 1px solid rgba(99, 182, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 185, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  font-weight: 700;
  appearance: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}

.student-nav__item--active {
  background: linear-gradient(135deg, rgba(0, 184, 217, 0.28), rgba(0, 95, 189, 0.22));
  border-color: rgba(106, 214, 255, 0.5);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 240, 0.14), 0 0 24px rgba(0, 174, 255, 0.16);
}

.student-nav__item--submitted.student-nav__item--active {
  background: linear-gradient(135deg, rgba(191, 91, 18, 0.34), rgba(118, 51, 9, 0.34));
  border-color: rgba(255, 186, 114, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 212, 165, 0.16), 0 0 26px rgba(255, 138, 41, 0.22);
}

.student-nav__item--submitted {
  border-color: rgba(255, 165, 92, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 136, 46, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 180, 113, 0.05), 0 0 16px rgba(255, 140, 52, 0.1);
}

.student-nav__item--upload {
  border-color: rgba(255, 108, 108, 0.3);
  background:
    linear-gradient(90deg, rgba(255, 72, 72, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 142, 142, 0.05), 0 0 18px rgba(255, 72, 72, 0.12);
}

.student-nav__item--upload.student-nav__item--active {
  background: linear-gradient(135deg, rgba(171, 28, 28, 0.42), rgba(93, 12, 12, 0.34));
  border-color: rgba(255, 164, 164, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 205, 0.16), 0 0 26px rgba(255, 72, 72, 0.24);
  color: #fff1f1;
}

.student-nav__item--reflection {
  border-color: rgba(240, 212, 78, 0.26);
  background:
    linear-gradient(90deg, rgba(240, 201, 52, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 128, 0.04), 0 0 16px rgba(233, 196, 56, 0.1);
}

.student-nav__item--reflection.student-nav__item--active {
  background: linear-gradient(135deg, rgba(130, 102, 10, 0.4), rgba(82, 60, 9, 0.34));
  border-color: rgba(255, 232, 137, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 188, 0.16), 0 0 24px rgba(233, 196, 56, 0.22);
  color: #fff8db;
}

.student-nav__item--growth {
  border-color: rgba(72, 201, 116, 0.26);
  background:
    linear-gradient(90deg, rgba(40, 184, 93, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(112, 224, 145, 0.04), 0 0 16px rgba(49, 182, 96, 0.1);
}

.student-nav__item--growth.student-nav__item--active {
  background: linear-gradient(135deg, rgba(23, 121, 63, 0.4), rgba(10, 69, 31, 0.34));
  border-color: rgba(122, 233, 155, 0.44);
  box-shadow: inset 0 0 0 1px rgba(173, 255, 196, 0.16), 0 0 24px rgba(49, 182, 96, 0.22);
  color: #e9fff0;
}

.student-nav__item--collaboration {
  border-color: rgba(132, 118, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(108, 95, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(157, 144, 255, 0.05), 0 0 18px rgba(104, 92, 255, 0.12);
}

.student-nav__item--collaboration.student-nav__item--active {
  background: linear-gradient(135deg, rgba(68, 52, 164, 0.42), rgba(36, 24, 103, 0.36));
  border-color: rgba(176, 166, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(210, 204, 255, 0.16), 0 0 28px rgba(108, 95, 255, 0.24);
  color: #efedff;
}

.student-nav__item--sources {
  border-color: rgba(182, 110, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(162, 83, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(200, 145, 255, 0.05), 0 0 18px rgba(149, 76, 255, 0.12);
}

.student-nav__item--sources.student-nav__item--active {
  background: linear-gradient(135deg, rgba(110, 46, 170, 0.42), rgba(63, 22, 105, 0.34));
  border-color: rgba(220, 171, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(236, 208, 255, 0.14), 0 0 24px rgba(162, 83, 255, 0.22);
  color: #f7ebff;
}


.student-nav__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(62, 152, 212, 0.18);
  color: #88b9dd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.student-nav__logout {
  margin-top: 1rem;
}

.student-nav__logout .button {
  width: 100%;
}

.student-status-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #6df4ff;
  box-shadow: 0 0 14px rgba(109, 244, 255, 0.8);
}

.student-content-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.student-main {
  min-width: 0;
  display: grid;
  align-self: start;
  margin-top: 0;
}

.student-content-panel {
  display: none;
  border-radius: 18px;
  width: 100%;
  margin-top: 0;
}

.student-content-panel--active {
  display: block;
  animation: studentPanelIn 180ms ease-out;
}

.student-body--portal .student-content-panel--submitted {
  border-color: rgba(255, 165, 92, 0.34);
  background:
    radial-gradient(circle at top right, rgba(255, 162, 72, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(58, 30, 9, 0.96), rgba(11, 18, 36, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 199, 142, 0.12), 0 0 34px rgba(255, 138, 41, 0.18);
}

.student-body--portal .student-content-panel[data-section-panel="upload"] {
  border-color: rgba(255, 108, 108, 0.34);
  background:
    radial-gradient(circle at top right, rgba(255, 82, 82, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(58, 12, 12, 0.96), rgba(18, 18, 32, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 166, 166, 0.1), 0 0 34px rgba(255, 72, 72, 0.16);
}

.student-body--portal .student-content-panel[data-section-panel="upload"] .student-content-card__header h2 {
  color: #ffe1e1;
}

.student-body--portal .student-content-panel--techcards {
  border-color: rgba(89, 161, 255, 0.34);
  background:
    radial-gradient(circle at top right, rgba(72, 137, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(9, 28, 56, 0.96), rgba(14, 19, 34, 0.96));
  box-shadow: inset 0 0 0 1px rgba(138, 188, 255, 0.1), 0 0 32px rgba(72, 137, 255, 0.16);
}

.student-body--portal .student-content-panel--techcards .student-content-card__header h2 {
  color: #dcebff;
}

.student-body--portal .student-content-panel--collaboration {
  border-color: rgba(132, 118, 255, 0.32);
  background:
    radial-gradient(circle at top right, rgba(108, 95, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(20, 18, 61, 0.9), rgba(5, 16, 29, 0.96));
  box-shadow: inset 0 0 0 1px rgba(157, 145, 255, 0.08), 0 0 30px rgba(108, 95, 255, 0.14);
}

.student-body--portal .student-content-panel--sources {
  border-color: rgba(182, 110, 255, 0.3);
  background:
    radial-gradient(circle at top right, rgba(162, 83, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(36, 14, 64, 0.92), rgba(7, 16, 31, 0.98));
  box-shadow: inset 0 0 0 1px rgba(199, 145, 255, 0.08), 0 0 30px rgba(149, 76, 255, 0.14);
}

.student-body--portal .student-content-panel--sources .student-content-card__header h2 {
  color: #f0ddff;
}

.student-body--portal .student-content-panel--submitted .student-content-card__header h2 {
  color: #ffebd7;
}

.student-body--portal .student-content-panel[data-section-panel="growth"] {
  border-color: rgba(72, 201, 116, 0.32);
  background:
    radial-gradient(circle at top right, rgba(53, 191, 104, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(10, 43, 23, 0.92), rgba(7, 16, 31, 0.98));
  box-shadow: inset 0 0 0 1px rgba(127, 227, 157, 0.08), 0 0 30px rgba(49, 182, 96, 0.14);
}

.student-body--portal .student-content-panel[data-section-panel="growth"] .student-content-card__header h2 {
  color: #e1ffe9;
}

.student-body--portal .student-content-panel--submitted > .button-row {
  margin-top: 2.25rem;
  padding-top: 0.35rem;
}

.student-body--portal .student-content-panel[data-section-panel="upload"] .student-periods__button,
.student-body--portal .student-content-panel[data-section-panel="upload"] .button--ghost,
.student-body--portal .student-content-panel[data-section-panel="upload"] .collaboration-project-card,
.student-body--portal .student-content-panel[data-section-panel="upload"] .announcement-form input,
.student-body--portal .student-content-panel[data-section-panel="upload"] .announcement-form select,
.student-body--portal .student-content-panel[data-section-panel="upload"] .announcement-form textarea {
  border-color: rgba(255, 112, 112, 0.24);
}

.student-body--portal .student-content-panel[data-section-panel="upload"] .student-periods__button,
.student-body--portal .student-content-panel[data-section-panel="upload"] .button--ghost,
.student-body--portal .student-content-panel[data-section-panel="upload"] .collaboration-project-card {
  background:
    radial-gradient(circle at top right, rgba(255, 88, 88, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(39, 10, 10, 0.92), rgba(15, 16, 28, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 150, 150, 0.06), 0 0 18px rgba(255, 72, 72, 0.08);
}

.student-body--portal .student-content-panel[data-section-panel="upload"] .student-periods__button--active {
  background: linear-gradient(135deg, rgba(171, 28, 28, 0.42), rgba(93, 12, 12, 0.34));
  border-color: rgba(255, 164, 164, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 205, 0.16), 0 0 26px rgba(255, 72, 72, 0.24);
}

.student-body--portal .student-content-panel--submitted .student-periods__button,
.student-body--portal .student-content-panel--submitted .preview-card,
.student-body--portal .student-content-panel--submitted .sheet-phase__header,
.student-body--portal .student-content-panel--submitted .sheet-phase__empty,
.student-body--portal .student-content-panel--submitted .button--ghost {
  border-color: rgba(255, 165, 92, 0.24);
}

.student-body--portal .student-content-panel--submitted .student-periods__button,
.student-body--portal .student-content-panel--submitted .preview-card,
.student-body--portal .student-content-panel--submitted .sheet-phase__header,
.student-body--portal .student-content-panel--submitted .sheet-phase__empty,
.student-body--portal .student-content-panel--submitted .button--ghost {
  background:
    radial-gradient(circle at top right, rgba(255, 156, 64, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(45, 22, 8, 0.92), rgba(15, 16, 28, 0.96));
}

.student-body--portal .student-content-panel--submitted .student-periods__button--active {
  background: linear-gradient(135deg, rgba(191, 91, 18, 0.34), rgba(118, 51, 9, 0.34));
  border-color: rgba(255, 186, 114, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 212, 165, 0.16), 0 0 26px rgba(255, 138, 41, 0.22);
}

.student-body--portal .student-content-panel[data-section-panel="growth"] .assessment-cycle-card,
.student-body--portal .student-content-panel[data-section-panel="growth"] .assessment-phase-card,
.student-body--portal .student-content-panel[data-section-panel="growth"] .assessment-history li,
.student-body--portal .student-content-panel[data-section-panel="growth"] .chart-container,
.student-body--portal .student-content-panel[data-section-panel="growth"] .button--ghost {
  border-color: rgba(72, 201, 116, 0.24);
  background:
    radial-gradient(circle at top right, rgba(61, 203, 112, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(8, 30, 17, 0.92), rgba(8, 16, 22, 0.96));
}

.student-body--portal .student-content-panel[data-section-panel="growth"] .assessment-export-row .button {
  border-color: rgba(122, 233, 155, 0.3);
  color: #e1ffe9;
}

.student-body--portal .student-content-panel--techcards .student-badge-category,
.student-body--portal .student-content-panel--techcards .student-badge-card,
.student-body--portal .student-content-panel--techcards .button--ghost {
  border-color: rgba(89, 161, 255, 0.24);
}

.student-body--portal .student-content-panel--techcards .student-badge-card,
.student-body--portal .student-content-panel--techcards .student-badge-category,
.student-body--portal .student-content-panel--techcards .button--ghost {
  background:
    radial-gradient(circle at top right, rgba(72, 137, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(10, 27, 56, 0.92), rgba(10, 16, 28, 0.96));
}

.student-body--portal .student-content-panel--collaboration .collaboration-project-card,
.student-body--portal .student-content-panel--collaboration .collaboration-document-card,
.student-body--portal .student-content-panel--collaboration .collaboration-member-picker,
.student-body--portal .student-content-panel--collaboration .collaboration-member-option,
.student-body--portal .student-content-panel--collaboration .collaboration-member-pill,
.student-body--portal .student-content-panel--collaboration .button--ghost {
  border-color: rgba(132, 118, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(108, 95, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(20, 18, 61, 0.92), rgba(10, 15, 30, 0.96));
}

.student-body--portal .student-content-panel--sources .source-tile,
.student-body--portal .student-content-panel--sources .source-tile__domain,
.student-body--portal .student-content-panel--sources .source-tile__thumb,
.student-body--portal .student-content-panel--sources .button--ghost {
  border-color: rgba(182, 110, 255, 0.24);
}

.student-body--portal .student-content-panel--sources .source-tile,
.student-body--portal .student-content-panel--sources .source-tile__domain,
.student-body--portal .student-content-panel--sources .source-tile__thumb,
.student-body--portal .student-content-panel--sources .button--ghost {
  background:
    radial-gradient(circle at top right, rgba(162, 83, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(36, 14, 64, 0.92), rgba(10, 15, 30, 0.96));
}


.student-growth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  justify-items: start;
}

.student-growth-grid > * {
  width: min(100%, 430px);
  max-width: 430px;
}

.student-periods {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.student-upload-switches {
  margin-bottom: 1.15rem;
}

.student-upload-panel {
  display: none;
}

.student-upload-panel--active {
  display: block;
}

.student-upload-files {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.student-upload-files__row {
  display: block;
}

.student-upload-files__row input[type="file"] {
  width: 100%;
}

.student-upload-files__add {
  margin-bottom: 1rem;
}

.student-periods__button {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(99, 182, 255, 0.18);
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.72), rgba(5, 16, 29, 0.9));
  color: #cfeaff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.student-periods__button--active {
  background: linear-gradient(135deg, rgba(0, 184, 217, 0.28), rgba(0, 95, 189, 0.22));
  border-color: rgba(106, 214, 255, 0.5);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 240, 0.14), 0 0 24px rgba(0, 174, 255, 0.16);
}

.student-period-panel {
  display: none;
}

.student-period-panel--active {
  display: block;
}

@keyframes studentPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.student-portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.student-sheet-card {
  max-width: none;
}

.upload-card--compact {
  margin-bottom: 1.25rem;
}

.print-card {
  max-width: 60rem;
  margin: 0 auto;
}

.no-print {
  margin-bottom: 1rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.collaboration-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.collaboration-project-card,
.collaboration-document-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(97, 130, 190, 0.18);
  background: linear-gradient(180deg, rgba(23, 34, 58, 0.96), rgba(16, 24, 41, 0.98));
}

.collaboration-project-card h3,
.collaboration-document-card h4 {
  margin: 0;
}

.collaboration-create-card {
  margin-bottom: 1rem;
}

.collaboration-create-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.collaboration-modal {
  width: min(1080px, 100%);
}

.collaboration-document-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.collaboration-member-picker {
  display: grid;
  gap: 0.8rem;
}

.collaboration-member-picker__controls {
  display: grid;
}

.collaboration-member-picker__results,
.collaboration-member-picker__selected {
  display: grid;
  gap: 0.7rem;
}

.collaboration-member-option,
.collaboration-member-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(69, 181, 239, 0.16);
  background: linear-gradient(180deg, rgba(8, 30, 50, 0.84), rgba(5, 17, 31, 0.94));
  color: #eaf4ff;
  text-align: left;
  cursor: pointer;
}

.collaboration-member-option strong,
.collaboration-member-pill strong {
  color: #8fdfff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.collaboration-member-pill span {
  min-width: 0;
}

.student-body--portal .collaboration-project-card,
.student-body--portal .collaboration-document-card,
.student-body--portal .collaboration-create-card {
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.82), rgba(5, 16, 29, 0.92));
  border-color: rgba(69, 181, 239, 0.24);
}

.student-body--portal .collaboration-modal {
  position: relative;
  width: min(1040px, 100%);
  background:
    radial-gradient(circle at top right, rgba(116, 220, 255, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(118, 84, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(4, 18, 33, 0.97), rgba(3, 12, 23, 0.99));
  border: 1px solid rgba(90, 193, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.08), 0 18px 48px rgba(0, 0, 0, 0.34);
}

.student-body--portal .collaboration-modal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(58, 177, 242, 0.12);
  pointer-events: none;
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.student-body--portal .collaboration-modal .modal-card__header,
.student-body--portal .collaboration-modal .announcement-form,
.student-body--portal .collaboration-modal .student-summary,
.student-body--portal .collaboration-modal .modal-sheet__table,
.student-body--portal .collaboration-modal .collaboration-document-list {
  position: relative;
  z-index: 1;
}

.student-body--portal .collaboration-modal .modal-card__header {
  align-items: center;
  padding-bottom: 0.95rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(90, 193, 255, 0.14);
}

.student-body--portal .collaboration-modal .modal-card__header h3 {
  color: #f0fbff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.student-body--portal .collaboration-modal .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: #d8f7ff;
  background: rgba(8, 36, 63, 0.88);
  border: 1px solid rgba(69, 181, 239, 0.24);
}

.student-body--portal .collaboration-modal .student-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.student-body--portal .collaboration-modal .student-summary p {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(69, 181, 239, 0.16);
  background: linear-gradient(180deg, rgba(8, 30, 50, 0.9), rgba(5, 17, 31, 0.96));
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.05);
}

.student-body--portal .collaboration-modal .modal-sheet__table {
  margin-top: 1rem;
  padding: 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(69, 181, 239, 0.16);
  background:
    linear-gradient(180deg, rgba(10, 24, 42, 0.94), rgba(5, 16, 29, 0.98));
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.05);
}

.student-body--portal .collaboration-modal .modal-sheet__table h4 {
  margin: 0 0 0.95rem;
  color: #e8fbff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.student-body--portal .collaboration-modal .announcement-form {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(69, 181, 239, 0.16);
  background: linear-gradient(180deg, rgba(8, 30, 50, 0.84), rgba(5, 17, 31, 0.94));
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.05);
}

.student-body--portal .collaboration-modal .announcement-form label {
  color: #ccecff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
}

.student-body--portal .collaboration-modal .announcement-form .hint,
.student-body--portal .collaboration-modal .modal-sheet__table .hint {
  color: #8ea7bf;
}

.student-body--portal .collaboration-modal .metric-list li {
  border-bottom-color: rgba(69, 181, 239, 0.12);
}

.student-body--portal .collaboration-modal .collaboration-document-card {
  border-color: rgba(69, 181, 239, 0.16);
  background:
    linear-gradient(180deg, rgba(11, 23, 40, 0.94), rgba(5, 14, 27, 0.98));
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.05);
}

.student-body--portal .collaboration-modal .collaboration-document-card__viewer {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(69, 181, 239, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  min-height: 0;
}

.student-body--portal .collaboration-modal .collaboration-document-card__viewer .preview-media,
.student-body--portal .collaboration-modal .collaboration-document-card__viewer .preview-video {
  display: block;
  width: auto;
  max-width: min(100%, 320px);
  height: auto;
  max-height: 180px;
}

.student-body--portal .collaboration-modal .collaboration-document-card__viewer .preview-frame {
  display: block;
  width: min(320px, 100%);
  height: 180px;
}

.student-body--portal .collaboration-modal .collaboration-document-card__meta {
  display: grid;
  gap: 0.35rem;
}

.student-body--portal .collaboration-modal .collaboration-document-card__meta p {
  margin: 0;
}

.student-body--portal .collaboration-modal .button-row {
  justify-content: flex-start;
}

.student-body--portal .confirm-screen__details {
  gap: 0.8rem;
}

.student-body--portal .confirm-screen__details p {
  background: rgba(7, 21, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.student-body--portal .confirm-screen__warning {
  border-color: rgba(255, 214, 120, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 184, 77, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(41, 23, 4, 0.76), rgba(24, 15, 5, 0.86));
  color: #ffe9b0;
}

.admin-body .collaboration-modal .collaboration-document-card {
  border-color: rgba(118, 150, 205, 0.18);
  background: linear-gradient(180deg, rgba(25, 38, 66, 0.96), rgba(17, 27, 46, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.admin-body .collaboration-modal .collaboration-document-card__viewer {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(118, 150, 205, 0.2);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  min-height: 0;
}

.admin-body .collaboration-modal .collaboration-document-card__viewer .preview-media,
.admin-body .collaboration-modal .collaboration-document-card__viewer .preview-video {
  display: block;
  width: auto;
  max-width: min(100%, 320px);
  height: auto;
  max-height: 180px;
}

.admin-body .collaboration-modal .collaboration-document-card__viewer .preview-frame {
  display: block;
  width: min(320px, 100%);
  height: 180px;
}

.admin-body .collaboration-modal .collaboration-document-card__meta {
  display: grid;
  gap: 0.35rem;
}

.admin-body .collaboration-modal .collaboration-document-card__meta p {
  margin: 0;
}

.admin-body .collaboration-modal .button-row {
  justify-content: flex-start;
}

.admin-body .collaboration-member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.admin-body .collaboration-member-row form {
  margin: 0;
}

.student-body--portal .collaboration-member-option:hover,
.student-body--portal .collaboration-member-pill:hover {
  border-color: rgba(106, 214, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 240, 0.08), 0 0 18px rgba(0, 174, 255, 0.12);
}

.admin-badge-grid,
.student-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.source-form {
  margin-bottom: 1.25rem;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.source-tile {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(101, 140, 214, 0.18);
  background: linear-gradient(180deg, rgba(21, 31, 55, 0.96), rgba(14, 22, 38, 0.98));
}

.source-tile__link {
  color: inherit;
  text-decoration: none;
  display: grid;
  gap: 0.75rem;
}

.source-tile__thumb {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(117, 158, 228, 0.18);
  background: linear-gradient(135deg, rgba(19, 30, 55, 0.98), rgba(10, 16, 29, 0.98));
  aspect-ratio: 16 / 10;
}

.source-tile__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-tile__domain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(117, 158, 228, 0.18);
  background: linear-gradient(135deg, rgba(19, 30, 55, 0.98), rgba(10, 16, 29, 0.98));
  text-align: center;
  color: #dce9ff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-tile__meta {
  display: grid;
  gap: 0.2rem;
}

.source-tile__meta h3,
.admin-source-row h3 {
  margin: 0;
}

.source-tile__meta p,
.admin-source-row p {
  margin: 0;
}

.source-tile__delete {
  margin: 0;
}

.student-body--portal .source-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.student-body--portal .source-tile {
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 16px;
}

.student-body--portal .source-tile__domain {
  min-height: 72px;
  border-radius: 12px;
  padding: 0.8rem;
}

.student-body--portal .source-tile__thumb {
  border-radius: 12px;
}

.student-body--portal .source-tile__meta h3 {
  font-size: 0.92rem;
}

.student-body--portal .source-tile__meta p {
  font-size: 0.78rem;
}

.student-body--portal .source-tile .hint {
  font-size: 0.72rem;
}

@media (max-width: 1400px) {
  .student-body--portal .source-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .student-body--portal .source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .student-body--portal .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-source-list {
  display: grid;
  gap: 0.85rem;
}

.admin-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(101, 140, 214, 0.16);
  background: linear-gradient(180deg, rgba(21, 31, 55, 0.96), rgba(14, 22, 38, 0.98));
}

.admin-source-row form {
  margin: 0;
}

.admin-badge-card,
.student-badge-card {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(97, 130, 190, 0.18);
  background: linear-gradient(180deg, rgba(23, 34, 58, 0.96), rgba(16, 24, 41, 0.98));
}

.admin-badge-card__image,
.student-badge-card__image {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 14, 27, 0.9);
  border: 1px solid rgba(97, 130, 190, 0.16);
}

.admin-badge-card__image img,
.student-badge-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-badge-card h3,
.student-badge-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.admin-badge-card__form {
  display: grid;
  gap: 0.55rem;
}

.admin-badge-card__form .button {
  width: 100%;
}

.admin-badge-awards {
  display: grid;
  gap: 0.75rem;
}

.admin-badge-award {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(86, 118, 176, 0.18);
  background: rgba(20, 31, 53, 0.92);
}

.admin-badge-award p {
  margin: 0;
}

.admin-badge-award p + p {
  margin-top: 0.3rem;
}

.admin-body .student-badge-category .admin-badge-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
}

.admin-body .student-badge-category .admin-badge-card {
  gap: 0.25rem;
  padding: 0.28rem;
  border-radius: 10px;
}

.admin-body .student-badge-category .admin-badge-card__image {
  aspect-ratio: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem;
  border-radius: 8px;
}

.admin-body .student-badge-category .admin-badge-card__image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.admin-body .student-badge-category .admin-badge-card form {
  margin: 0;
}

.admin-body .student-badge-category .admin-badge-card .button {
  width: 100%;
  padding: 0.42rem 0.55rem;
  font-size: 0.72rem;
}

.student-badge-card {
  border-color: rgba(255, 202, 76, 0.24);
  background: linear-gradient(180deg, rgba(28, 22, 7, 0.94), rgba(10, 15, 28, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 111, 0.06), 0 0 22px rgba(255, 194, 74, 0.08);
}

.student-badge-card__image {
  border-color: rgba(255, 202, 76, 0.2);
  aspect-ratio: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.student-badge-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
}

.student-badge-card {
  gap: 0.25rem;
  padding: 0.28rem;
  border-radius: 10px;
}

.student-badge-card h3 {
  font-size: 0.86rem;
  line-height: 1.25;
}

.student-badge-card__date {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.2;
  text-align: center;
  color: #b7c8df;
  letter-spacing: 0.04em;
}

.student-badge-card__image {
  border-radius: 8px;
  padding: 0.12rem;
}

.student-badge-card__image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.student-badge-card__link {
  display: block;
  text-decoration: none;
}

.student-badge-modal {
  width: min(980px, 100%);
}

.student-body--portal .student-badge-modal {
  background:
    radial-gradient(circle at top right, rgba(255, 194, 74, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(4, 18, 33, 0.96), rgba(3, 12, 23, 0.98));
  border: 1px solid rgba(90, 193, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.08), 0 18px 48px rgba(0, 0, 0, 0.34);
}

.student-body--portal .student-badge-modal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(58, 177, 242, 0.12);
  pointer-events: none;
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.student-body--portal .student-badge-modal .modal-card__header {
  position: relative;
  z-index: 1;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(90, 193, 255, 0.14);
}

.student-body--portal .student-badge-modal .modal-card__header h3 {
  color: #ffefc0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.student-body--portal .student-badge-modal > .hint,
.student-body--portal .student-badge-peer-list {
  position: relative;
  z-index: 1;
}

.student-badge-peer-list {
  display: grid;
  gap: 1rem;
}

.student-badge-peer {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(90, 193, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(11, 23, 40, 0.94), rgba(5, 14, 27, 0.98));
  box-shadow: inset 0 0 0 1px rgba(50, 160, 225, 0.05);
}

.student-badge-peer h4 {
  margin: 0 0 0.2rem;
  color: #f3f8ff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.student-badge-peer .hint {
  margin: 0 0 0.7rem;
  color: #91a8cf;
}

.student-badge-peer__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #dfeaff;
}

.student-badge-peer__list li {
  line-height: 1.4;
}

.student-badge-category + .student-badge-category {
  margin-top: 1.15rem;
}

.student-badge-category h3 {
  margin: 0;
  color: #ffefc0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

@media (max-width: 1000px) {
  .student-badge-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .student-badge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.preview-card {
  display: grid;
  gap: 0.9rem;
}

.preview-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.preview-card h4 {
  margin: 0;
  font-size: 1rem;
}

.preview-card__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-card__meta p {
  margin: 0.35rem 0 0;
}

.preview-card__viewer-link {
  text-decoration: none;
  color: inherit;
}

.preview-card__viewer {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-card__viewer--sheet {
  min-height: 180px;
}

.preview-media,
.preview-video,
.preview-frame {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  background: #fff;
}

.preview-media {
  object-fit: contain;
}

.preview-audio {
  width: calc(100% - 1.5rem);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 44, 0.78);
  padding: 2rem 1rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-overlay:target {
  display: flex;
}

.modal-card {
  width: min(900px, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  background: var(--surface);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.modal-card--sheet {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  display: block;
}

.modal-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.modal-card__header h3 {
  margin: 0;
}

.modal-close {
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
  color: var(--muted);
}

.modal-card__viewer {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  min-height: 240px;
}

.collaboration-document-preview-modal {
  width: min(1100px, 100%);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.collaboration-document-preview-modal .modal-card__viewer {
  background:
    radial-gradient(circle at 50% 30%, rgba(84, 194, 255, 0.08), transparent 42%),
    rgba(7, 15, 29, 0.98);
  border-color: rgba(118, 150, 205, 0.22);
  min-height: 0;
  max-height: 58vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: auto;
  overflow-y: auto;
}

.collaboration-document-preview-modal .preview-media,
.collaboration-document-preview-modal .preview-video {
  display: block;
  width: auto;
  max-width: min(100%, 680px);
  height: auto;
  max-height: 54vh;
}

.collaboration-document-preview-modal .preview-frame {
  display: block;
  width: min(720px, 100%);
  height: 56vh;
  background: rgba(7, 15, 29, 0.98);
}

.modal-sheet__table {
  margin-top: 1rem;
}

.modal-sheet__table h4 {
  margin: 0 0 0.75rem;
}

.assessment-phase-stack {
  display: grid;
  gap: 1rem;
}

.assessment-phase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.assessment-phase-group {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(122, 159, 194, 0.35);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(239, 245, 251, 0.92));
  margin-bottom: 1rem;
}

.assessment-phase-group__header h5 {
  margin: 0;
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #24384d;
}

.assessment-phase-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 18px;
  border: 2px solid rgba(122, 159, 194, 0.45);
  background: linear-gradient(180deg, rgba(242, 247, 252, 0.92), rgba(228, 238, 248, 0.92));
  color: #2d4761;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.assessment-phase-toggle--active {
  background: linear-gradient(180deg, rgba(205, 224, 241, 0.98), rgba(228, 238, 248, 0.98));
  box-shadow: inset 0 0 0 2px rgba(110, 149, 185, 0.35);
}

.assessment-phase-card {
  display: none;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}

.assessment-phase-card--active {
  display: grid;
}

.assessment-phase-card__header h5 {
  margin: 0;
  font-size: 1rem;
}

.assessment-phase-card__header .hint {
  margin-top: 0.35rem;
}

.assessment-phase-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: start;
}

.assessment-cycle-wrap {
  margin-top: 1rem;
}

.assessment-cycle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.assessment-cycle-grid .assessment-cycle-wrap {
  margin-top: 0;
}

.assessment-cycle-card {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  width: min(100%, 430px);
  max-width: 430px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}

.assessment-cycle-card--compact {
  padding: 0.75rem;
  gap: 0.55rem;
}

.assessment-cycle-card--student {
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.82), rgba(5, 16, 29, 0.92));
  border-color: rgba(69, 181, 239, 0.24);
  justify-items: stretch;
  justify-self: start;
}

.assessment-cycle-card .assessment-phase-card__header {
  margin: 0;
  padding-left: 0.1rem;
  width: 100%;
}

.assessment-cycle-card .assessment-phase-card__header h5 {
  margin-top: 0;
}

.chart-card {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 250px;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 109, 119, 0.16);
  background: rgba(255, 255, 255, 0.4);
}

.chart-container--compact {
  min-height: 190px;
  padding: 0.35rem;
}

.radar-chart {
  width: min(100%, 240px);
  height: 240px;
  display: block;
}

.assessment-cycle-card .radar-chart {
  width: 100%;
  max-width: 390px;
  height: auto;
}

.assessment-cycle-card--compact .radar-chart {
  width: min(100%, 190px);
}

.assessment-history {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.assessment-history li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto auto minmax(0, 1.2fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.assessment-history--legend li {
  grid-template-columns: 12px minmax(88px, 0.85fr) minmax(64px, auto) minmax(84px, auto) minmax(0, 1.3fr);
  font-size: 0.84rem;
  column-gap: 0.45rem;
}

.assessment-history--legend li strong {
  font-weight: 500;
  white-space: nowrap;
}

.assessment-history--legend li > span:nth-of-type(2) {
  padding-left: 0.3rem;
}

.assessment-history--legend li span:last-child {
  line-height: 1.35;
  font-size: 0.84rem;
}

.assessment-history__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.assessment-history__delete {
  color: var(--danger);
  font-size: 0.9rem;
  text-decoration: none;
  justify-self: end;
}

.assessment-form {
  display: grid;
  gap: 0.7rem;
}

.assessment-form__meta {
  display: grid;
  grid-template-columns: auto minmax(180px, 240px);
  gap: 1rem;
  align-items: end;
}

.assessment-form__date {
  display: grid;
  gap: 0.35rem;
}

.assessment-form__note {
  display: grid;
  gap: 0.35rem;
}

.student-body--portal .assessment-cycle-card,
.student-body--portal .assessment-phase-card,
.student-body--portal .assessment-history li,
.student-body--portal .chart-container {
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.82), rgba(5, 16, 29, 0.92));
  border-color: rgba(69, 181, 239, 0.24);
}

.score-category {
  margin: 0;
  padding: 0;
  border: 0;
}

.score-category legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.score-options {
  display: grid;
  gap: 0.75rem;
}

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

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

.level-option {
  position: relative;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 118px;
  padding: 0.75rem;
  border: 2px solid rgba(0, 109, 119, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.level-option input {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 18px;
  height: 18px;
  margin: 0;
}

.level-pill {
  font-size: 0.86rem;
}

.level-copy {
  font-size: 0.8rem;
  line-height: 1.35;
}

.level-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 109, 119, 0.08);
}

.level-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.1);
  color: var(--accent);
  font-weight: 700;
  border: 1px solid rgba(0, 109, 119, 0.14);
}

.level-copy {
  padding-right: 1.4rem;
  line-height: 1.45;
  font-size: 0.92rem;
}

.preview-grid--sheet {
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: start;
  gap: 0.85rem;
}

.student-body--portal .preview-card {
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(62, 158, 220, 0.18);
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.78), rgba(5, 16, 29, 0.92));
}

.student-body--portal .preview-card .button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.student-body--portal .preview-card .button-row .button {
  width: 100%;
  font-size: 0.88rem;
  padding: 0.72rem 0.75rem;
}

.student-body--portal .preview-card__viewer {
  background:
    radial-gradient(circle at 50% 30%, rgba(57, 188, 255, 0.12), transparent 45%),
    rgba(0, 8, 18, 0.96);
  border-color: rgba(84, 194, 255, 0.22);
}

.preview-card--sheet .preview-media,
.preview-card--sheet .preview-video,
.preview-card--sheet .preview-frame {
  height: 180px;
}

.sheet-phase {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(50, 164, 230, 0.22);
}

.sheet-phase:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sheet-phase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(66, 167, 230, 0.18);
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.72), rgba(5, 16, 29, 0.9));
}

.sheet-phase__header::-webkit-details-marker {
  display: none;
}

.sheet-phase__header::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
  color: #85edff;
}

.sheet-phase[open] .sheet-phase__header {
  margin-bottom: 0.85rem;
}

.sheet-phase[open] .sheet-phase__header::after {
  content: "-";
}

.sheet-phase__empty {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(66, 167, 230, 0.18);
  background: rgba(6, 22, 40, 0.42);
}

.sheet-phase__header h4 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f2fbff;
}

.student-body--portal .self-reflection-section {
  background:
    radial-gradient(circle at top right, rgba(248, 215, 76, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(51, 41, 8, 0.82), rgba(5, 16, 29, 0.94));
  border-color: rgba(240, 212, 78, 0.3);
  box-shadow: inset 0 0 0 1px rgba(242, 219, 111, 0.08), 0 0 28px rgba(222, 185, 43, 0.12);
}

.student-body--portal .self-reflection-section .student-content-card__header h2,
.student-body--portal .self-reflection-section .preview-card__eyebrow {
  color: #fff5c9;
}

.student-body--portal .self-reflection-section .student-periods__button {
  border-color: rgba(240, 212, 78, 0.22);
  background: linear-gradient(180deg, rgba(48, 40, 10, 0.76), rgba(27, 21, 7, 0.94));
  color: #fff5c9;
  box-shadow: inset 0 0 0 1px rgba(255, 225, 110, 0.06);
}

.student-body--portal .self-reflection-period {
  transition: box-shadow 140ms ease, border-color 140ms ease, background 140ms ease, opacity 140ms ease;
}

.student-body--portal .self-reflection-period--active {
  background: linear-gradient(135deg, rgba(130, 102, 10, 0.4), rgba(82, 60, 9, 0.34));
  border-color: rgba(255, 232, 137, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 188, 0.16), 0 0 24px rgba(233, 196, 56, 0.22);
  color: #fff8db;
}

.student-body--portal .self-reflection-period--locked {
  border-color: rgba(99, 182, 255, 0.18);
  background: linear-gradient(180deg, rgba(7, 26, 46, 0.72), rgba(5, 16, 29, 0.9));
  color: #9fc4df;
  box-shadow: none;
  opacity: 0.78;
  cursor: not-allowed;
}

.student-body--portal .self-reflection-group {
  border-color: rgba(240, 212, 78, 0.26);
  background:
    linear-gradient(180deg, rgba(28, 23, 6, 0.96), rgba(14, 11, 4, 0.98)),
    radial-gradient(circle at top right, rgba(248, 215, 76, 0.08), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(242, 219, 111, 0.05);
}

.student-body--portal .self-reflection-group .assessment-phase-group__header h5 {
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #fff5c9;
}

.student-body--portal .self-reflection-nav .assessment-phase-toggle {
  border-color: rgba(240, 212, 78, 0.24);
  background: linear-gradient(180deg, rgba(50, 42, 11, 0.94), rgba(28, 22, 8, 0.98));
  color: #fff5c9;
}

.student-body--portal .self-reflection-nav .assessment-phase-toggle--active {
  background: linear-gradient(180deg, rgba(130, 102, 10, 0.98), rgba(82, 60, 9, 0.98));
  box-shadow: inset 0 0 0 2px rgba(255, 232, 137, 0.24), 0 0 22px rgba(233, 196, 56, 0.18);
  border-color: rgba(255, 232, 137, 0.44);
  color: #fff8db;
}

.student-body--portal .self-reflection-stack .assessment-phase-card,
.student-body--portal .self-reflection-stack .assessment-history li {
  background:
    radial-gradient(circle at top right, rgba(248, 215, 76, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(42, 34, 9, 0.9), rgba(17, 14, 8, 0.96));
  border-color: rgba(240, 212, 78, 0.22);
}

.student-body--portal .self-reflection-stack .level-option {
  border-color: rgba(240, 212, 78, 0.24);
  background:
    radial-gradient(circle at top right, rgba(248, 215, 76, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(46, 39, 12, 0.98), rgba(22, 18, 8, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 232, 137, 0.05), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.student-body--portal .self-reflection-stack .level-option:has(input:checked) {
  border-color: #d1a322;
  box-shadow: inset 0 0 0 1px rgba(255, 238, 173, 0.1), 0 0 0 2px rgba(209, 163, 34, 0.16), 0 0 24px rgba(209, 163, 34, 0.14);
}

.student-body--portal .self-reflection-stack .level-pill {
  background: rgba(209, 163, 34, 0.16);
  border-color: rgba(255, 221, 111, 0.24);
  color: #fff2bb;
}

.student-body--portal .self-reflection-stack .level-copy {
  color: #fff8dd;
  text-shadow: none;
  font-weight: 600;
}

.student-body--portal .self-reflection-stack .level-option input {
  accent-color: #d1a322;
}

.student-body--portal .self-reflection-stack .assessment-history li {
  grid-template-columns: 12px minmax(88px, auto) minmax(112px, auto) minmax(112px, auto) minmax(108px, auto) minmax(0, 1fr) auto;
  column-gap: 0.75rem;
}

.student-body--portal .self-reflection-stack .assessment-history__delete {
  white-space: nowrap;
  justify-self: end;
  text-align: right;
}

.student-content-card h2,
.student-content-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.student-body--portal .button--danger {
  background: linear-gradient(135deg, #a22e60, #7b163d);
}

.student-body--portal .footer {
  color: #6483a1;
}

code {
  font-family: "Courier New", monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

@media print {
  body {
    background: white;
  }

  .hero,
  .footer,
  .no-print {
    display: none;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  .card {
    box-shadow: none;
    border: 0;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-areas:
      "nav"
      "main";
    grid-template-columns: 1fr;
  }

  .student-header,
  .student-layout,
  .student-portfolio-hero {
    grid-template-columns: 1fr;
  }

  .student-header__identity {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

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

  .assessment-cycle-grid {
    grid-template-columns: 1fr;
  }

  .student-scanlines {
    display: none;
  }

  .student-body--portal .page,
  .student-body--portal .hero__inner,
  .student-body--portal .footer {
    width: min(100% - 1rem, 1320px);
  }

  .stats,
  .grid,
  .grid--three {
    grid-template-columns: 1fr;
  }

  .preview-grid--sheet {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .assessment-phase-card__grid,
  .score-options {
    grid-template-columns: 1fr;
  }

  .assessment-form__meta {
    grid-template-columns: 1fr;
  }

  .assessment-history li {
    grid-template-columns: 12px 1fr;
  }

  .hero {
    padding: 1rem 1rem 1.5rem;
  }

  .hero__inner,
  .page,
  .footer {
    width: min(100% - 1rem, 1180px);
  }
}
