:root {
  color-scheme: light;
  --color-primary: #1f3a5f;
  --color-primary-hover: #172d4a;
  --color-text: #202733;
  --color-muted: #667085;
  --color-border: #d9dee7;
  --color-surface: #fff;
  --color-surface-soft: #f4f6f9;
  --color-danger: #b3261e;
  --radius-control: 6px;
  --radius-card: 10px;
  --shadow-card: 0 2px 8px rgb(16 24 40 / 6%);
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  background: var(--color-primary);
  color: #fff;
  padding: 12px clamp(16px, 3vw, 32px);
}

.nav a {
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp {
  flex: 1;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 24px;
}

.card {
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  line-height: 1.25;
}

h1 {
  font-size: 2rem;
  margin: 0 0 20px;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 14px;
}

h4 {
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.stat {
  font-size: 2rem;
  font-weight: 700;
}

table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  background: var(--color-surface);
  scrollbar-width: thin;
}

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

table th {
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

input,
select,
textarea {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  width: 100%;
  margin: 5px 0 14px;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: 0;
  margin: 0 6px 0 0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(31 58 95 / 28%);
  outline-offset: 2px;
}

label {
  display: block;
  font-weight: 600;
}

button,
.btn {
  min-height: 40px;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  padding: 9px 16px;
  border-radius: var(--radius-control);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font: inherit;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease;
}

button:hover,
.btn:hover {
  background: var(--color-primary-hover);
}

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

.alert {
  background: #fff3cd;
  border: 1px solid #f2d98d;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  margin-bottom: 16px;
}

.inline {
  display: inline;
  width: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.row > * {
  flex: 1 1 220px;
  min-width: 0;
}

.login-home {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.wrap:has(.login-home) {
  display: grid;
  place-items: center;
  max-width: none;
  min-height: calc(100vh - 42px);
  margin: 0;
  padding: 24px;
}

.login-home h1 {
  margin: 0 0 20px;
}

.login-home p {
  margin-top: 24px;
  color: #555;
}

.nav-public {
  justify-content: center;
  text-align: center;
}

.nav-brand {
  font-size: 1rem;
}

.nav-public .nav-brand {
  max-width: 100%;
  font-size: 1.1rem;
}

.login-dialog {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid #d6dbe1;
  border-radius: 12px;
  background: #fff;
  color: #222;
}

.login-dialog::backdrop {
  background: rgb(15 23 42 / 45%);
}

.login-dialog h2 {
  margin: 0 0 20px;
}

.login-dialog form button {
  width: 100%;
  margin-top: 4px;
}

.demo-account {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e3e8e7;
  border-radius: 10px;
  background: #f7f8f6;
}

.demo-account > h3 {
  margin: 0;
  font-size: 1rem;
}

.demo-account-instructions {
  margin: 4px 0 10px;
  color: #687581;
  font-size: .82rem;
  line-height: 1.4;
}

.demo-account-list {
  display: grid;
  gap: 8px;
}

.demo-account-entry {
  padding: 9px 10px;
  border: 1px solid #e3e8e7;
  border-radius: 7px;
  background: #fff;
}

.demo-account-entry h4 {
  margin: 0 0 5px;
  color: #687581;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.demo-account-entry dl {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
  font-size: .82rem;
}

.demo-account-entry dl div {
  min-width: 0;
}

.demo-account-entry dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.login-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 4px 8px;
  background: transparent;
  color: #555;
  font-size: 1.5rem;
  line-height: 1;
}

.login-dialog-close:hover {
  background: #f1f2f4;
  color: #222;
}

@media print {
  .nav,
  .noprint {
    display: none;
  }

  body {
    background: #fff;
  }

  .card {
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 8px 12px;
    padding: 12px 16px;
  }

  .nav:not(.nav-public) .nav-brand {
    flex-basis: 100%;
  }

  .nav:not(.nav-public) .sp {
    display: none;
  }

  .wrap {
    margin: 20px auto;
    padding: 0 16px;
  }

  .card {
    padding: 18px;
  }

  .grid {
    gap: 14px;
  }

  table th,
  table td {
    padding: 10px 12px;
  }

  .wrap:has(.login-home) {
    padding: 20px;
  }

  .login-dialog {
    padding: 24px 20px;
  }
}

body:has(.landing-page) {
  --color-primary: #70212e;
  --color-primary-hover: #571823;
  --color-text: #202b36;
  --color-muted: #687581;
  --color-border: #e3e8e7;
  --color-surface-soft: #f7f8f6;
  background: #fff;
}

.nav-homepage {
  position: sticky;
  z-index: 10;
  top: 0;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgb(32 43 54 / 7%);
  background: rgb(255 255 255 / 94%);
  color: var(--color-text);
  backdrop-filter: blur(14px);
}

.nav-homepage .nav-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--color-text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.public-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.public-nav-links > a {
  position: relative;
  padding: 9px 0;
  color: #48545f;
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .18s ease;
}

.public-nav-links > a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: #70212e;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.public-nav-links > a:hover,
.public-nav-links > a:focus-visible {
  color: #70212e;
}

.public-nav-links > a:hover::after,
.public-nav-links > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-homepage .nav-login {
  min-height: 42px;
  padding: 9px 20px;
  border-radius: 8px;
  background: #70212e;
  color: #fff;
  font-size: .9rem;
  transition: background-color .18s ease, transform .18s ease;
}

.nav-homepage .nav-login:hover {
  background: #571823;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.landing-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing-page {
  overflow: hidden;
}

.landing-hero,
.landing-section,
.landing-footer {
  width: min(100% - 48px, 1120px);
  margin-right: auto;
  margin-left: auto;
}

.landing-hero {
  display: grid;
  min-height: 580px;
  grid-template-columns: 1fr .92fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding-top: 64px;
  padding-bottom: 76px;
}

.landing-hero-copy {
  max-width: 570px;
  padding: 22px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #70212e;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .12em;
}

.eyebrow-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b47d58;
  box-shadow: 0 0 0 4px #b47d581c;
}

.landing-hero h1 {
  max-width: 590px;
  margin: 22px 0 18px;
  color: #202b36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6vw, 5.05rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.landing-hero h1 span {
  color: #70212e;
  font-style: italic;
}

.hero-description {
  max-width: 490px;
  margin: 0;
  color: #687581;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions button,
.hero-actions a {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 19px;
  border-radius: 8px;
  font-size: .91rem;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.hero-actions .button-light {
  background: #70212e;
  color: #fff;
}

.hero-actions .button-light:hover {
  background: #571823;
  transform: translateY(-2px);
}

.hero-actions .button-outline {
  border: 1px solid #d9dfde;
  background: #fff;
  color: #35424d;
}

.hero-actions .button-outline:hover {
  border-color: #70212e;
  color: #70212e;
  transform: translateY(-2px);
}

.hero-note {
  margin: 20px 0 0;
  color: #89939a;
  font-size: .81rem;
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: -2;
  width: min(100%, 410px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6e9e3 0, #f5eeea 48%, #f8f7f4 71%);
  content: "";
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(112 33 46 / 13%);
  border-radius: 50%;
}

.orbit-one {
  width: 112%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 126%;
  aspect-ratio: 1;
  border-color: rgb(112 33 46 / 8%);
}

.evaluation-preview {
  width: min(100%, 370px);
  padding: 25px;
  border: 1px solid rgb(32 43 54 / 8%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 65px rgb(50 37 35 / 13%);
  transform: rotate(-2deg);
}

.preview-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b9294;
  font-size: .63rem;
  font-weight: 750;
  letter-spacing: .09em;
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a77753;
}

.preview-menu {
  margin-left: auto;
  font-size: 1.2rem;
  letter-spacing: .08em;
}

.evaluation-preview h2 {
  margin: 22px 0 6px;
  color: #26323b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.evaluation-preview > p {
  margin: 0 0 20px;
  color: #778187;
  font-size: .82rem;
}

.preview-rating {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #eef0ee;
  color: #4c575d;
  font-size: .76rem;
}

.rating-stars {
  flex: 0 0 auto;
  color: #b17b55;
  letter-spacing: .08em;
}

.preview-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  padding: 11px;
  border-radius: 8px;
  background: #f6f6f1;
  color: #647167;
  font-size: .7rem;
}

.status-check,
.caption-icon {
  display: grid;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #e3eade;
  color: #647a61;
  font-size: .78rem;
  font-weight: 700;
}

.visual-caption {
  position: relative;
  align-self: flex-end;
  margin-right: max(0px, calc((100% - 370px) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #edf0ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(50 37 35 / 9%);
}

.visual-caption strong,
.visual-caption small {
  display: block;
}

.visual-caption strong {
  color: #37434b;
  font-size: .75rem;
}

.visual-caption small {
  margin-top: 3px;
  color: #84908f;
  font-size: .66rem;
}

.landing-section {
  scroll-margin-top: 92px;
}

.platform-section {
  padding-top: 82px;
  padding-bottom: 94px;
  border-top: 1px solid #eef0ee;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.why-copy h2 {
  margin: 13px 0 12px;
  color: #202b36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.7vw, 3rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.section-heading p,
.why-copy > p {
  margin: 0;
  color: #718087;
  font-size: .97rem;
  line-height: 1.75;
}

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

.feature-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid #e9ece9;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #dfc9c4;
  box-shadow: 0 14px 35px rgb(36 44 42 / 7%);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: #f6ece8;
  color: #70212e;
  font-size: .78rem;
  font-weight: 750;
}

.icon-insight {
  background: #f3f1e8;
  color: #8a7447;
}

.icon-trust {
  background: #edf2eb;
  color: #5c755d;
}

.feature-card h3,
.steps-grid h3 {
  margin: 20px 0 8px;
  color: #2b3740;
  font-size: 1.04rem;
}

.feature-card p,
.steps-grid p {
  margin: 0;
  color: #748087;
  font-size: .88rem;
  line-height: 1.7;
}

.process-section {
  max-width: none;
  padding: 83px max(24px, calc((100vw - 1120px) / 2)) 92px;
  background: #f8f8f5;
}

.process-section .section-heading {
  margin-bottom: 38px;
}

.steps-grid {
  display: grid;
  max-width: 1120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e5d0ca;
  border-radius: 50%;
  background: #fff;
  color: #70212e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.steps-grid h3 {
  margin: 4px 0 8px;
}

.why-section {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding-top: 94px;
  padding-bottom: 96px;
}

.why-copy h2 {
  max-width: 520px;
}

.why-copy > p {
  max-width: 570px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  color: #70212e;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.why-points {
  display: grid;
  gap: 22px;
  padding: 27px;
  border: 1px solid #e9ece9;
  border-radius: 13px;
  background: #fff;
}

.why-points > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.point-check {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #edf2eb;
  color: #5c755d;
  font-size: .8rem;
  font-weight: 700;
}

.why-points strong,
.why-points small {
  display: block;
}

.why-points strong {
  margin: 1px 0 4px;
  color: #344149;
  font-size: .9rem;
}

.why-points small {
  color: #78848a;
  font-size: .8rem;
  line-height: 1.55;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 23px;
  padding-bottom: 25px;
  border-top: 1px solid #edf0ee;
  color: #84908f;
  font-size: .78rem;
}

.landing-footer a {
  color: #70212e;
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

html:has(.landing-page) {
  scroll-behavior: smooth;
}

@media (max-width: 760px) {
  .nav-homepage {
    min-height: 68px;
    padding: 10px 22px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 8px;
    border: 1px solid #e4e8e6;
    border-radius: 8px;
    background: #fff;
    color: #26323b;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .public-nav-links {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 3px;
    padding: 12px 22px 20px;
    border-bottom: 1px solid #e9ece9;
    background: #fff;
    box-shadow: 0 14px 22px rgb(32 43 54 / 7%);
  }

  .public-nav-links.is-open {
    display: flex;
    flex-direction: column;
  }

  .public-nav-links > a {
    padding: 12px 3px;
  }

  .public-nav-links > a::after {
    display: none;
  }

  .nav-homepage .nav-login {
    align-self: flex-start;
    margin-top: 7px;
  }

  .landing-hero,
  .landing-section,
  .landing-footer {
    width: min(100% - 44px, 600px);
  }

  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 65px;
    padding-bottom: 78px;
  }

  .landing-hero-copy {
    padding: 0;
  }

  .landing-hero h1 {
    max-width: 560px;
    font-size: clamp(3rem, 10vw, 4.4rem);
  }

  .hero-visual {
    width: min(100%, 440px);
    min-height: 450px;
    justify-self: center;
  }

  .platform-section,
  .why-section {
    padding-top: 70px;
    padding-bottom: 74px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 22px;
  }

  .feature-card h3 {
    margin-top: 15px;
  }

  .process-section {
    padding: 70px 22px 74px;
  }

  .steps-grid {
    max-width: 600px;
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .why-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 420px) {
  .nav-homepage {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .landing-hero,
  .landing-section,
  .landing-footer {
    width: min(100% - 32px, 600px);
  }

  .landing-hero {
    padding-top: 49px;
  }

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

  .hero-actions button,
  .hero-actions a {
    width: 100%;
  }

  .hero-visual {
    min-height: 450px;
  }

  .evaluation-preview {
    padding: 20px;
  }

  .visual-caption {
    margin-right: 0;
  }

  .section-heading h2,
  .why-copy h2 {
    font-size: 2.15rem;
  }

  .process-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .landing-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.landing-page) {
    scroll-behavior: auto;
  }

  .landing-page *,
  .nav-homepage *,
  .public-nav-links > a {
    transition-duration: .01ms !important;
  }
}

.faculty-register {
  width: min(100%, 620px);
  margin: 34px auto;
  padding: clamp(24px, 5vw, 42px);
}

.faculty-register-heading {
  margin-bottom: 26px;
}

.faculty-eyebrow {
  color: #70212e;
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.faculty-register-heading h1,
.faculty-dashboard-heading h1 {
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

.faculty-register-heading p,
.faculty-dashboard-heading p,
.faculty-results-note {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.faculty-register-form {
  display: grid;
  gap: 2px;
}

.faculty-register-form input {
  margin-bottom: 16px;
}

.faculty-hint {
  color: var(--color-muted);
  font-size: .82rem;
  font-weight: 400;
}

.password-field {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.password-field input {
  min-width: 0;
}

.password-toggle {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 5px 0 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
}

.password-toggle:hover {
  background: var(--color-surface-soft);
}

.faculty-login-link,
.login-register-link {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: .9rem;
}

.faculty-login-link a,
.login-register-link a {
  color: #70212e;
  font-weight: 650;
}

.faculty-dashboard {
  padding-bottom: 20px;
}

.faculty-dashboard-heading {
  margin-bottom: 26px;
}

.faculty-dashboard-heading h1 {
  margin-bottom: 6px;
}

.faculty-results-overview,
.faculty-filtered-results {
  margin-bottom: 28px;
}

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

.faculty-section-heading h2 {
  margin: 5px 0 0;
}

.faculty-result-label {
  color: var(--color-muted);
  font-size: .84rem;
}

.faculty-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faculty-metric-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 21px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.faculty-metric-card > span {
  color: var(--color-muted);
  font-size: .86rem;
  font-weight: 600;
}

.faculty-metric-card strong {
  color: var(--color-text);
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  line-height: 1.2;
}

.faculty-metric-card small {
  color: var(--color-muted);
  font-size: .78rem;
}

.faculty-metric-primary {
  border-color: #e4cdd0;
  background: linear-gradient(140deg, #fff 45%, #fbf3f2);
}

.faculty-metric-primary strong {
  color: #70212e;
}

.faculty-filter-card {
  padding: 22px;
}

.faculty-filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.faculty-filter-trigger::-webkit-details-marker {
  display: none;
}

.faculty-filter-trigger > span:first-child {
  display: grid;
  gap: 5px;
}

.faculty-filter-trigger strong {
  color: var(--color-text);
  font-size: 1.2rem;
}

.faculty-filter-card[open] .faculty-filter-trigger {
  margin-bottom: 16px;
}

.faculty-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  align-items: end;
  gap: 12px;
}

.faculty-filter-form label {
  min-width: 0;
}

.faculty-filter-form select {
  margin-bottom: 0;
}

.faculty-filter-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
  margin-top: 4px;
}

.faculty-reset-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
}

.faculty-reset-button:hover {
  background: var(--color-surface-soft);
}

.faculty-comparison {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 15px;
  padding: 14px 16px;
  border-left: 4px solid #70212e;
  border-radius: 4px 8px 8px 4px;
  background: #fbf3f2;
  color: #4f3c3f;
  font-size: .9rem;
}

.faculty-comparison span {
  color: #65575a;
}

.faculty-filtered-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.faculty-rating-card {
  margin-bottom: 0;
}

.faculty-rating-list {
  display: grid;
  gap: 17px;
}

.faculty-rating-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: .88rem;
}

.faculty-rating-label span {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.faculty-rating-track {
  height: 9px;
  overflow: hidden;
  border-radius: 10px;
  background: #f0e9e8;
}

.faculty-rating-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b4d58, #70212e);
}

.faculty-rating-row small {
  display: block;
  margin-top: 5px;
  color: var(--color-muted);
  font-size: .75rem;
}

@media (max-width: 700px) {
  .faculty-metric-grid {
    grid-template-columns: 1fr;
  }

  .faculty-filter-form {
    grid-template-columns: 1fr;
  }

  .faculty-filter-actions {
    grid-column: auto;
  }

  .faculty-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}