﻿/* Student workspace: shared visual language for learning, email and account setup. */
:root {
  --portal-ink: #202c42;
  --portal-muted: #68758a;
  --portal-line: #e5e9f0;
  --portal-bg: #f6f7fb;
  --portal-blue: #365bd8;
  --portal-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.student-portal,
.portal-auth {
  color: var(--portal-ink);
  font-family: var(--portal-font);
  background: var(--portal-bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.student-portal {
  --student-primary: #365bd8;
  --student-primary-dark: #2948af;
  --student-bg: #f6f7fb;
  --student-text: #202c42;
  --student-text-light: #68758a;
}
.portal-auth {
  margin: 0;
}
.portal-auth *,
.portal-auth *::before,
.portal-auth *::after {
  box-sizing: border-box;
}
.student-portal a,
.portal-auth a {
  text-decoration: none;
}
.student-portal button,
.portal-auth button,
.portal-auth input {
  font-family: inherit;
}
.student-portal h1,
.student-portal h2,
.student-portal h3,
.portal-auth h1,
.portal-auth h2,
.portal-auth h3 {
  color: inherit;
  font-family: inherit;
}
.student-portal :focus-visible,
.portal-auth :focus-visible {
  outline: 3px solid #93adff;
  outline-offset: 4px;
}
.student-portal [hidden],
.portal-auth [hidden] {
  display: none !important;
}
.student-skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  background: white;
  color: var(--portal-blue);
  border: 1px solid;
  border-radius: 8px;
}
.student-skip-link:focus {
  top: 12px;
}
.student-navbar {
  padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--portal-line);
  box-shadow: none;
}
.student-navbar__inner {
  max-width: 1280px;
  min-height: 80px;
  height: auto;
  gap: 24px;
}
.student-navbar__brand {
  height: 38px;
  background: none;
  -webkit-text-fill-color: initial;
  flex-shrink: 0;
}
.student-navbar__brand img {
  object-fit: contain;
  filter: none;
}
.student-navbar__menu {
  align-self: stretch;
  align-items: center;
  gap: 2px;
}
.student-navbar__link {
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  color: #657087;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.student-navbar__link i {
  font-size: 13px;
  opacity: 0.85;
}
.student-navbar__link:hover {
  color: var(--portal-blue);
  background: #f4f6fc;
}
.student-navbar__link.active {
  background: #edf1ff;
  color: #365bd8;
  border: 0;
  font-weight: 600;
}
.student-navbar__user {
  gap: 12px;
}
.student-navbar__school {
  max-width: 165px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--portal-muted);
  overflow-wrap: anywhere;
}
.student-navbar__school a {
  display: block;
  color: var(--portal-blue);
  font-weight: 500;
}
.student-navbar__avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: #ecf0fa;
  color: #3d527b;
  font-size: 13px;
  border: 1px solid #dce3f2;
}
.student-logout {
  border: 1px solid var(--portal-line);
  background: #fff;
  color: #677185;
  padding: 8px 10px;
  border-radius: 7px;
  font: 500 12px var(--portal-font);
  cursor: pointer;
  white-space: nowrap;
}
.student-logout i {
  margin-right: 4px;
}
.student-logout:hover {
  color: #b13b45;
  background: #fff7f7;
  border-color: #f2dadd;
}
.student-container {
  max-width: 1240px;
  padding: 38px 32px 16px;
  min-height: calc(100vh - 180px);
}
.student-footer {
  display: flex;
  gap: 20px;
  max-width: 1176px;
  margin: 34px auto 0;
  padding: 23px 0;
  border-top: 1px solid var(--portal-line);
  color: #8690a1;
  font-size: 11px;
  text-align: left;
  background: transparent;
}
.student-footer > span:first-child {
  color: #566279;
  font-weight: 600;
}
.student-footer__year {
  margin-left: auto;
}
.portal-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.portal-eyebrow {
  margin: 0 0 10px;
  color: #727f94;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
}
.portal-page-heading h1 {
  margin: 0;
  font-size: clamp(25px, 2.5vw, 32px);
  letter-spacing: -1px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.portal-page-heading p:last-child {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--portal-muted);
}
.portal-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  min-height: 44px;
  border: 1px solid #365bd8;
  border-radius: 8px;
  background: #365bd8;
  color: #fff;
  font: 600 13px/1.4 var(--portal-font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.portal-button:hover {
  background: #294bbf;
  border-color: #294bbf;
  color: #fff;
}
.portal-button--secondary {
  background: white;
  border-color: #dfe4ed;
  color: #35435d;
}
.portal-button--secondary:hover {
  background: #f6f8ff;
  color: #365bd8;
  border-color: #b8c6ee;
}
.portal-button--light {
  background: #fff;
  color: #263d74;
  border-color: #fff;
}
.portal-button--light:hover {
  background: #eaf0ff;
  border-color: #eaf0ff;
  color: #263d74;
}
.portal-button--small {
  padding: 9px 12px;
  min-height: 38px;
  font-size: 12px;
}
.portal-button--plain {
  color: #637087;
  background: transparent;
  border-color: transparent;
}
.portal-button--plain:hover {
  color: #365bd8;
  background: #f2f5fc;
  border-color: transparent;
}
.portal-button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.portal-button i {
  font-size: 12px;
}
.portal-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #365bd8;
}
.portal-text-link:hover {
  color: #294bbf;
  text-decoration: underline;
}
.portal-text-link i {
  font-size: 10px;
}
.portal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f1f4f9;
  color: #71809a;
  font-size: 17px;
}
.portal-icon--blue {
  background: #e8edff;
  color: #4264cf;
}
.portal-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  overflow: hidden;
}
.portal-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid #edf0f5;
}
.portal-panel h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.35px;
}
.portal-panel__heading p {
  margin: 5px 0 0;
  color: #7c8799;
  font-size: 12px;
}
.panel-heading-icon {
  font-size: 18px;
  color: #b69a64;
}
.portal-empty {
  padding: 42px 24px;
  text-align: center;
}
.portal-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  border: 1px solid #e8edf5;
  background: #f7f9fc;
  color: #8190ab;
  font-size: 23px;
  margin-bottom: 18px;
}
.portal-empty h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.portal-empty p {
  max-width: 340px;
  margin: 9px auto 20px;
  color: var(--portal-muted);
  font-size: 12px;
  line-height: 1.85;
}
.portal-badge {
  padding: 5px 9px;
  border: 1px solid #e5e9f0;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  background: #f7f8fa;
  color: #778196;
  white-space: nowrap;
}
.portal-badge--success {
  background: #eff8f3;
  color: #3b7c59;
  border-color: #dceee3;
}
.portal-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  margin: 0 0 20px;
  border: 1px solid #e2e7f2;
  background: #f1f5ff;
  color: #4d638c;
  border-radius: 8px;
  font-size: 12px;
}
.portal-notice > i {
  margin-top: 3px;
  flex-shrink: 0;
}
.portal-notice p {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.portal-notice--error {
  background: #fff5f5;
  border-color: #f3dfe1;
  color: #a3434b;
}
.portal-notice--success {
  background: #f0f9f4;
  border-color: #d9ede1;
  color: #367052;
}
/* Dashboard */
.dashboard-feature-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 22px;
}
.learning-feature {
  padding: 28px 32px 20px;
  color: #fff;
  background: #23355a;
  border-radius: 12px;
}
.learning-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.feature-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d6e2ff;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.feature-label i {
  padding: 8px;
  background: #ffffff10;
  border: 1px solid #ffffff20;
  border-radius: 6px;
  font-size: 13px;
}
.feature-category {
  font-size: 10px;
  color: #bac6dd;
}
.learning-feature h2 {
  color: #fff;
  font-size: clamp(25px, 2.7vw, 35px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -1.15px;
  margin: 0;
}
.learning-feature > p {
  color: #b6c4de;
  font-size: 12px;
  line-height: 1.9;
  max-width: 410px;
  margin: 16px 0 23px;
}
.learning-feature__footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  margin-top: 26px;
  border-top: 1px solid #ffffff16;
  font-size: 10px;
  color: #9bacca;
}
.learning-feature__footer > span:last-child {
  letter-spacing: 1px;
  font-size: 9px;
}
.studio-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid #dce3f1;
  border-radius: 12px;
  background: #eef2fb;
  color: #25385c;
}
.studio-feature .portal-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid #d6dff6;
  background: #e2e9fb;
}
.studio-feature .portal-eyebrow {
  color: #6b7fa7;
  font-size: 9px;
  margin-bottom: 10px;
}
.studio-feature h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 600;
}
.studio-feature p:last-child {
  max-width: 240px;
  font-size: 12px;
  color: #6c7c98;
  line-height: 1.8;
  margin-bottom: 25px;
}
.studio-feature__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  color: #4564a8;
  margin-top: auto;
}
.studio-feature:hover {
  background: #e9eefb;
  color: #25385c;
  border-color: #c3d0ec;
}
.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0 28px;
  padding: 22px 0;
  background: #fff;
  border: 1px solid var(--portal-line);
  border-radius: 12px;
}
.summary-item {
  padding: 0 24px;
  border-right: 1px solid var(--portal-line);
}
.summary-item:last-child {
  border: 0;
}
.summary-item > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #738198;
  font-size: 12px;
}
.summary-item i {
  color: #8b9ab5;
  font-size: 13px;
}
.summary-item strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin-top: 9px;
}
.dashboard-content-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: start;
  gap: 22px;
}
.dashboard-side-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.dashboard-project {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  color: inherit;
  border-bottom: 1px solid #edf0f5;
}
.dashboard-project:last-child {
  border-bottom: 0;
}
.dashboard-project:hover {
  color: inherit;
  background: #fafbfe;
}
.dashboard-project__info {
  flex: 1;
  min-width: 0;
}
.dashboard-project__info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dashboard-project__info > span {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 4px;
  color: #79869a;
  overflow-wrap: anywhere;
}
.dashboard-quiz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #edf0f5;
}
.dashboard-quiz:last-child {
  border: 0;
}
.dashboard-quiz h3,
.quiz-empty h3 {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dashboard-quiz p,
.quiz-empty p {
  font-size: 11px;
  margin: 5px 0 0;
  color: #7b879a;
  overflow-wrap: anywhere;
}
.quiz-empty {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 24px;
}
.quiz-empty__dot {
  width: 8px;
  height: 8px;
  background: #c5cedf;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.dashboard-mail-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  color: var(--portal-ink);
}
.dashboard-mail-link > span:nth-child(2) {
  flex: 1;
}
.dashboard-mail-link strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.dashboard-mail-link > span > span {
  display: block;
  color: #7b879a;
  font-size: 11px;
  margin-top: 3px;
}
.dashboard-mail-link > i {
  color: #7e90ae;
  font-size: 12px;
}
.dashboard-mail-link:hover {
  color: var(--portal-blue);
  border-color: #bcc9ed;
}
/* Shared form controls */
.portal-field {
  margin-bottom: 22px;
}
.portal-field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #35435b;
  margin-bottom: 8px;
}
.portal-field input,
.portal-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #dce2ec;
  border-radius: 7px;
  background: #fff;
  color: #25334a;
  font: 400 14px/1.5 var(--portal-font);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.portal-field input::placeholder,
.portal-field textarea::placeholder {
  color: #9aa5b6;
}
.portal-field input:focus,
.portal-field textarea:focus {
  outline: 0;
  border-color: #7392ec;
  box-shadow: 0 0 0 3px #365bd810;
}
.portal-field [aria-invalid='true'] {
  border-color: #cf7b83;
}
.portal-field textarea {
  resize: vertical;
  min-height: 220px;
  line-height: 1.9;
}
.portal-field-hint {
  color: #7b8798;
  font-size: 12px;
  margin: -2px 0 10px;
}
.portal-field-error {
  color: #b0454c;
  font-size: 12px;
  margin: 7px 0 0;
}
.field-required {
  color: #8995a9;
}
.portal-form-status {
  font-size: 12px;
  color: #65758e;
  margin: 0;
}
.portal-form-status:not(:empty) {
  margin-top: 12px;
}
/* Mail workspace */
.mail-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border: 1px solid #e0e5ef;
  border-radius: 12px;
  background: white;
  min-height: 570px;
  overflow: hidden;
  box-shadow: 0 4px 18px #233b6403;
}
.mail-sidebar {
  background: #fafbfe;
  border-right: 1px solid #e5e9f2;
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  gap: 24px;
  min-width: 0;
}
.mail-sidebar__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 4px;
}
.mail-sidebar__title .portal-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 14px;
  background: transparent;
}
.mail-compose-button {
  width: 100%;
  gap: 10px;
  box-shadow: 0 2px 4px #365bd81c;
}
.mail-folders {
  margin-top: -5px;
}
.mail-folder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: #64738d;
  font-size: 12px;
  font-weight: 500;
  border-radius: 7px;
}
.mail-folder.is-active {
  color: #365bd8;
  background: #eaf0ff;
}
.mail-folder:hover {
  background: #edf1fa;
  color: #365bd8;
}
.mail-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #dce4f6;
}
.mail-sidebar__account {
  margin-top: auto;
  padding: 22px 4px 0;
  border-top: 1px solid var(--portal-line);
}
.mail-account-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #94a0b3;
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}
.mail-sidebar__account strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 500;
  color: #5e6f8c;
}
.mail-sidebar__account p {
  color: #8d99ac;
  font-size: 10px;
  margin: 7px 0 0;
}
.mail-main {
  min-width: 0;
}
.mail-main__heading {
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.mail-main__heading h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 600;
  margin: 0;
}
.mail-main__heading p {
  margin: 6px 0 0;
  color: #7d899c;
  font-size: 12px;
}
.mail-main > .portal-notice {
  margin: 0 28px 18px;
}
.mail-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 28px 20px;
  border-bottom: 1px solid var(--portal-line);
}
.mail-filters {
  display: flex;
  gap: 4px;
}
.mail-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  background: transparent;
  border: 1px solid transparent;
  color: #8290a6;
  font: 500 11px var(--portal-font);
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
}
.mail-filters button.is-active {
  color: #3c5483;
  background: #f0f3fa;
  border-color: #e5eaf4;
}
.mail-filters button span {
  font-size: 9px;
  opacity: 0.8;
}
.mail-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e7f0;
  background: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  color: #98a4b7;
  min-width: 0;
  margin: 0;
}
.mail-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  width: 140px;
  color: #485c7d;
  font: 400 11px var(--portal-font);
  background: transparent;
}
.mail-search i {
  font-size: 11px;
}
.mail-search:focus-within {
  border-color: #94a9e6;
  box-shadow: 0 0 0 3px #365bd80a;
}
.mail-search input:focus-visible {
  outline: 0;
}
.mail-message-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mail-message-list li {
  border-bottom: 1px solid #edf0f6;
}
.mail-message {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 28px;
  color: #4b5a72;
  border-left: 3px solid transparent;
}
.mail-message:hover {
  background: #f7f9fe;
  color: #304d84;
}
.mail-message.is-unread {
  border-left-color: #7894e4;
  background: #f7f9ff;
}
.mail-sender-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef1f7;
  color: #6a7b99;
  font-size: 13px;
  font-weight: 600;
}
.mail-message.is-unread .mail-sender-avatar {
  background: #e9eefd;
  color: #5272b3;
}
.mail-message__content {
  flex: 1;
  min-width: 0;
}
.mail-message__from {
  display: block;
  font-size: 12px;
  color: #7c899f;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 5px;
}
.mail-message__subject {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.mail-message.is-unread .mail-message__subject {
  font-weight: 600;
  color: #2a3c5e;
}
.mail-message__meta {
  align-self: flex-start;
  text-align: right;
  font-size: 10px;
  color: #8c99ac;
  flex-shrink: 0;
}
.mail-unread-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #6882bc;
  font-size: 9px;
  margin-top: 9px;
}
.mail-unread-indicator > span {
  display: block;
  width: 5px;
  height: 5px;
  background: #6484d4;
  border-radius: 50%;
}
.mail-list-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 28px;
  font-size: 10px;
  color: #94a0b3;
}
.mail-empty {
  padding-top: 90px;
  padding-bottom: 100px;
}
.mail-search-empty {
  padding-top: 55px;
  padding-bottom: 55px;
}
.mail-compose-form {
  padding: 0 28px 24px;
}
.mail-from {
  display: flex;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--portal-line);
  border-bottom: 1px solid var(--portal-line);
  padding: 17px 0;
  margin-bottom: 24px;
  font-size: 12px;
  color: #8793a6;
}
.mail-from strong {
  color: #566681;
  font-weight: 500;
  display: inline-block;
  margin-right: 10px;
}
.mail-from > span:last-child {
  overflow-wrap: anywhere;
}
.mail-from > span:last-child > span {
  font-size: 11px;
}
.mail-editor-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8d99ac;
  font-size: 10px;
  margin-top: 9px;
}
.mail-compose-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.mail-compose-hint {
  margin-left: auto;
  font-size: 10px;
  color: #8d99ac;
}
.mail-compose-hint i {
  margin-right: 5px;
  color: #9aa6ba;
}
.mail-reader__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--portal-line);
}
.mail-reader__heading {
  padding: 28px;
  border-bottom: 1px solid #edf0f5;
}
.mail-reader__label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #8d9ab1;
  margin-bottom: 12px;
}
.mail-reader h2 {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
  margin: 0 0 22px;
}
.mail-reader__sender {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mail-reader dl {
  margin: 0;
  font-size: 11px;
  min-width: 0;
}
.mail-reader dl > div {
  display: flex;
  gap: 14px;
  margin-bottom: 4px;
}
.mail-reader dt {
  flex: 0 0 45px;
  color: #99a3b4;
  font-weight: 400;
}
.mail-reader dd {
  margin: 0;
  color: #63748f;
  overflow-wrap: anywhere;
  min-width: 0;
}
.mail-reader__body {
  padding: 28px;
}
.mail-body-frame {
  width: 100%;
  height: 480px;
  display: block;
  border: 0;
  background: white;
}
.mail-reader__footer {
  border-top: 1px solid var(--portal-line);
  padding: 22px 28px;
}
/* Required password change has no links into the locked learning workspace. */
.password-brand {
  max-width: 990px;
  margin: 38px auto 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.password-brand img {
  object-fit: contain;
}
.password-brand > span {
  color: #96a0b1;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
}
.password-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  max-width: 940px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid #e1e6f0;
  background: white;
  overflow: hidden;
  box-shadow: 0 16px 40px #263b6206;
}
.password-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 36px 26px;
  background: #23355a;
  color: #fff;
}
.password-intro__symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #c6d4f2;
  border: 1px solid #ffffff25;
  border-radius: 11px;
  background: #ffffff07;
  font-size: 20px;
  margin-bottom: 42px;
}
.password-intro .portal-eyebrow {
  color: #a9badb;
  font-size: 9px;
  margin-bottom: 16px;
}
.password-intro h2 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 0 0 18px;
  font-weight: 600;
}
.password-intro > div > p:last-child {
  color: #b7c5dd;
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
}
.password-tips {
  width: 100%;
  padding-top: 30px;
  margin-top: 32px;
  border-top: 1px solid #ffffff16;
}
.password-tips h3 {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 18px;
  color: #d2ddf2;
}
.password-tips p,
.password-intro .password-tips p:last-child {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  color: #a7b8d7;
  margin: 0 0 12px;
  line-height: 1.8;
}
.password-tips i {
  font-size: 9px;
  margin-top: 5px;
  color: #879fc5;
}
.password-intro__footer {
  margin-top: auto;
  padding-top: 45px;
  color: #7f97c0;
  font-size: 9px;
  letter-spacing: 0.3px;
}
.password-form-panel {
  padding: 36px 44px 24px;
  min-width: 0;
}
.password-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  margin-bottom: 32px;
  color: #8a98b0;
}
.password-progress__done {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7e8da4;
}
.password-progress__done i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #4b8c6e;
  background: #edf6f1;
  border-radius: 50%;
  font-size: 9px;
}
.password-progress__line {
  width: 35px;
  height: 1px;
  background: #e1e7f0;
}
.password-progress__current {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5b73af;
  font-weight: 500;
}
.password-progress__current b {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #d8e2fa;
  background: #eef3ff;
}
.password-form-panel h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.35;
  margin: 0 0 10px;
}
.password-form-panel header > p {
  color: #7b879c;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 28px;
}
.password-form-panel .portal-field {
  margin-bottom: 20px;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 48px;
  height: 46px;
}
.password-input > button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  color: #96a2b6;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}
.password-input > button:hover {
  color: #365bd8;
  background: #f5f7fd;
}
.password-form-divider {
  border-top: 1px solid #edf0f5;
  margin: 25px 0;
}
.password-requirement {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8d98ab;
  font-size: 11px;
  margin: 8px 0 0;
}
.password-requirement i {
  font-size: 9px;
}
.password-requirement.is-valid {
  color: #3b8765;
}
.password-requirement.is-mismatch {
  color: #b85a62;
}
.password-save {
  width: 100%;
  justify-content: space-between;
  margin-top: 7px;
}
.password-form-footer {
  border-top: 1px solid #edf0f5;
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #98a3b4;
}
.password-form-footer i {
  font-size: 9px;
}
.password-form-footer > span > i {
  margin-right: 5px;
}
.password-form-footer button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: #70809d;
  cursor: pointer;
  font-size: 10px;
  padding: 4px 0;
}
.password-form-footer button:hover {
  color: #365bd8;
}
.password-page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 940px;
  padding: 0 2px;
  margin: 22px auto 34px;
  color: #96a1b3;
  font-size: 10px;
}
@media (max-width: 1180px) {
  .student-navbar__inner {
    flex-wrap: wrap;
    gap: 0 20px;
    padding-top: 16px;
  }
  .student-navbar__user {
    margin-left: auto;
  }
  .student-navbar__school {
    max-width: 260px;
  }
  .student-navbar__menu {
    order: 3;
    width: 100%;
    padding: 15px 0 12px;
    gap: 5px;
  }
  .student-navbar__link {
    padding: 9px 14px;
  }
  .student-footer {
    margin-left: 32px;
    margin-right: 32px;
  }
}
@media (max-width: 940px) {
  .portal-page-heading {
    align-items: flex-start;
  }
  .dashboard-feature-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
  }
  .learning-feature {
    padding: 26px;
  }
  .feature-category {
    display: none;
  }
  .studio-feature {
    padding: 25px;
  }
  .studio-feature h2 {
    font-size: 26px;
  }
  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side-stack {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
  .summary-item {
    padding: 0 20px;
  }
  .summary-item > div {
    font-size: 10px;
  }
  .mail-workspace {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .mail-sidebar {
    padding: 22px 14px;
  }
  .mail-main__heading,
  .mail-reader__heading,
  .mail-reader__body {
    padding: 24px;
  }
  .mail-toolbar {
    flex-wrap: wrap;
    padding: 0 24px 18px;
  }
  .mail-search {
    flex: 1;
  }
  .mail-search input {
    width: 100%;
  }
  .mail-compose-hint {
    display: none;
  }
  .password-brand {
    margin-top: 28px;
    padding: 0 28px;
  }
  .password-layout,
  .password-page-footer {
    margin-left: 24px;
    margin-right: 24px;
  }
  .password-intro {
    padding: 36px 28px 25px;
  }
  .password-intro h2 {
    font-size: 29px;
  }
  .password-form-panel {
    padding: 32px 30px 24px;
  }
}
@media (max-width: 700px) {
  .student-navbar {
    padding: 0 20px;
  }
  .student-container {
    padding: 28px 20px 10px;
  }
  .portal-page-heading {
    gap: 16px;
    margin-bottom: 23px;
  }
  .portal-page-heading p:last-child {
    font-size: 12px;
  }
  .portal-page-heading > .portal-button {
    font-size: 11px;
    padding: 9px 12px;
    flex-shrink: 0;
  }
  .dashboard-feature-grid {
    grid-template-columns: 1fr;
  }
  .studio-feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 16px;
    padding: 22px;
  }
  .studio-feature .portal-icon {
    width: 42px;
    height: 42px;
    margin: 0;
  }
  .studio-feature h2 {
    font-size: 21px;
    margin-bottom: 8px;
  }
  .studio-feature h2 br {
    display: none;
  }
  .studio-feature .portal-eyebrow {
    margin-bottom: 7px;
  }
  .studio-feature p:last-child {
    max-width: none;
    margin-bottom: 0;
  }
  .studio-feature__link {
    grid-column: 2;
    font-size: 12px;
  }
  .dashboard-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }
  .summary-item {
    padding: 20px;
    border-bottom: 1px solid var(--portal-line);
  }
  .summary-item:nth-child(2) {
    border-right: 0;
  }
  .summary-item:nth-child(3),
  .summary-item:last-child {
    border-bottom: 0;
  }
  .summary-item > div {
    font-size: 12px;
  }
  .dashboard-side-stack {
    grid-template-columns: 1fr;
  }
  .student-footer {
    margin-left: 20px;
    margin-right: 20px;
  }
  .mail-workspace {
    grid-template-columns: 1fr;
  }
  .mail-sidebar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--portal-line);
  }
  .mail-sidebar__title {
    display: none;
  }
  .mail-compose-button {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
    min-height: 40px;
    padding: 10px 14px;
  }
  .mail-folders {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  .mail-folder {
    padding: 9px 11px;
    max-width: 190px;
  }
  .mail-sidebar__account {
    grid-column: 1/-1;
    border-top: 0;
    padding: 0 2px;
  }
  .mail-account-label,
  .mail-sidebar__account p {
    display: none;
  }
  .mail-sidebar__account strong {
    font-size: 11px;
  }
  .mail-main__heading {
    padding: 24px 20px;
  }
  .mail-main__heading h2 {
    font-size: 18px;
  }
  .mail-main__heading .portal-button {
    font-size: 11px;
  }
  .mail-main > .portal-notice {
    margin-left: 20px;
    margin-right: 20px;
  }
  .mail-empty {
    padding: 65px 24px;
  }
  .mail-toolbar {
    padding: 0 20px 18px;
  }
  .mail-search {
    flex-basis: 100%;
  }
  .mail-search input {
    font-size: 12px;
    padding: 3px 0;
  }
  .mail-message {
    padding: 19px 17px;
    gap: 12px;
  }
  .mail-message__meta {
    font-size: 9px;
  }
  .mail-unread-indicator {
    font-size: 8px;
  }
  .mail-list-footer {
    padding: 17px 20px;
    font-size: 9px;
  }
  .mail-compose-form {
    padding: 0 20px 24px;
  }
  .mail-editor-caption > span:first-child {
    display: none;
  }
  .mail-editor-caption {
    justify-content: flex-end;
  }
  .mail-reader__toolbar {
    padding: 15px 16px;
  }
  .mail-reader__heading {
    padding: 24px 20px;
  }
  .mail-reader h2 {
    font-size: 21px;
  }
  .mail-reader__body {
    padding: 20px 16px;
  }
  .mail-reader__footer {
    padding: 20px;
  }
  .password-layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .password-brand {
    max-width: 570px;
    margin-bottom: 24px;
  }
  .password-intro {
    display: none;
  }
  .password-page-footer {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2px;
  }
  .password-form-panel {
    padding: 32px 32px 24px;
  }
}
@media (max-width: 540px) {
  .student-navbar {
    padding: 0 16px;
  }
  .student-navbar__inner {
    padding-top: 13px;
  }
  .student-navbar__brand {
    height: 32px;
  }
  .student-navbar__school {
    max-width: 140px;
    font-size: 10px;
  }
  .student-navbar__avatar {
    display: none;
  }
  .student-logout {
    padding: 7px 9px;
    font-size: 11px;
  }
  .student-navbar__user {
    gap: 8px;
  }
  .student-navbar__menu {
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 2px;
    padding-top: 13px;
  }
  .student-navbar__menu > li {
    flex-shrink: 0;
  }
  .student-navbar__link {
    font-size: 11px;
    gap: 6px;
    padding: 9px 10px;
  }
  .student-navbar__link i {
    font-size: 11px;
  }
  .student-container {
    padding: 25px 16px 8px;
  }
  .portal-page-heading {
    flex-wrap: wrap;
    gap: 14px;
  }
  .portal-page-heading h1 {
    font-size: 25px;
  }
  .portal-page-heading > .portal-button {
    display: none;
  }
  .portal-page-heading .portal-eyebrow {
    font-size: 9px;
  }
  .learning-feature {
    padding: 24px 23px 18px;
  }
  .learning-feature h2 {
    font-size: 27px;
  }
  .learning-feature > p {
    font-size: 12px;
  }
  .learning-feature__footer {
    font-size: 9px;
  }
  .learning-feature__footer > span:last-child {
    font-size: 8px;
  }
  .portal-panel__heading {
    padding: 20px;
  }
  .portal-panel__heading .portal-text-link {
    font-size: 10px;
    gap: 5px;
  }
  .dashboard-project {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .dashboard-project__info {
    flex-basis: calc(100% - 54px);
  }
  .dashboard-project .portal-badge {
    margin-left: 54px;
  }
  .portal-empty {
    padding: 35px 20px;
  }
  .portal-empty h3 {
    font-size: 14px;
  }
  .student-footer {
    margin: 30px 16px 0;
    gap: 8px 14px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .student-footer > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .mail-sender-avatar {
    width: 30px;
    height: 30px;
    font-size: 11px;
    border-radius: 8px;
  }
  .mail-message__from {
    font-size: 10px;
  }
  .mail-message__subject {
    font-size: 12px;
  }
  .mail-message__meta {
    max-width: 90px;
  }
  .mail-from {
    gap: 14px;
  }
  .mail-from strong {
    display: block;
  }
  .mail-reader__sender {
    gap: 10px;
  }
  .mail-reader dl {
    font-size: 10px;
  }
  .mail-reader dl > div {
    gap: 8px;
  }
  .mail-reader dt {
    flex-basis: 38px;
  }
  .password-brand {
    padding: 0 20px;
    margin: 22px auto;
  }
  .password-brand img {
    width: 96px;
    height: 40px;
  }
  .password-brand > span {
    font-size: 8px;
  }
  .password-layout {
    margin: 0 16px;
    border-radius: 12px;
  }
  .password-form-panel {
    padding: 28px 22px 24px;
  }
  .password-form-panel h1 {
    font-size: 23px;
  }
  .password-progress {
    margin-bottom: 28px;
  }
  .password-form-footer {
    font-size: 9px;
    gap: 9px;
  }
  .password-page-footer {
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 20px 28px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .student-portal *,
  .portal-auth * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
