:root {
  --green: #1f5f3b;
  --ink: #193328;
  --muted: #617167;
  --border: #dfe7e0;
  --paper: #f5f7f3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #c59532;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.brand-mark,
.avatar {
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
  margin-top: 2px;
}
.nav-caption {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.6px;
  color: #89968c;
  margin: 46px 14px 14px;
}
nav {
  display: grid;
  gap: 9px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  min-height: 48px;
}
nav a span {
  font-size: 20px;
  width: 22px;
}
nav a[aria-current="page"] {
  background: #e8f1e7;
  color: var(--green);
}
nav a:hover {
  background: #f0f4ed;
}
.sidebar-note {
  margin-top: auto;
  background: #f4f6ee;
  border-radius: 14px;
  padding: 20px;
  font-size: 13px;
}
.sidebar-note p {
  color: var(--muted);
  margin-bottom: 0;
}
.workspace {
  margin-left: 246px;
  min-width: 0;
}
.topbar {
  min-height: 88px;
  border-bottom: 1px solid var(--border);
  background: #ffffffb8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 40px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 34px;
  height: 34px;
  font-size: 13px;
  border-radius: 50%;
  background: #e4ecdf;
  color: var(--green);
}
.account-name {
  font-size: 13px;
  font-weight: 600;
}
.quiet {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  min-height: 42px;
}
main {
  max-width: 1340px;
  margin: auto;
  padding: 34px 40px 24px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 8px;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}
.subtle {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.secondary,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13px;
}
.secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--ink);
  white-space: nowrap;
}
.button {
  background: var(--green);
  color: white;
  border: 0;
}
.button:hover {
  background: #174b2e;
}
.light {
  background: #eff5d8;
  color: var(--ink);
}
.light:hover {
  background: white;
}
.welcome-banner {
  background: #205d3c;
  color: #fff;
  border-radius: 18px;
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}
.pill {
  font-size: 9px;
  letter-spacing: 1.6px;
  border: 1px solid #ffffff45;
  border-radius: 20px;
  padding: 6px 10px;
}
.welcome-banner h2 {
  font-size: 30px;
  margin: 16px 0 10px;
  letter-spacing: -0.6px;
}
.welcome-banner p {
  color: #d7e5d6;
  font-size: 14px;
  max-width: 430px;
  margin: 0 0 23px;
}
.banner-art {
  position: relative;
  flex: 0 0 160px;
  height: 160px;
  display: grid;
  place-items: center;
}
.banner-art span {
  border-radius: 50%;
  background: #e5edba;
  color: #245a37;
  font-size: 58px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
}
.banner-art i {
  position: absolute;
  inset: 0;
  border: 1px solid #bcd6a947;
  border-radius: 50%;
}
.banner-art i:last-child {
  inset: -20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.metrics article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 22px;
}
.metric-label {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.metrics strong {
  display: block;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
}
.metrics small {
  font-size: 11px;
  color: var(--muted);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}
.surface {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.section-heading a {
  font-size: 12px;
  font-weight: bold;
}
.stack {
  display: grid;
  gap: 16px;
}
.assessment-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.assessment-card,
.result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 24px;
  min-width: 0;
}
.stack .assessment-card,
.stack .result-card {
  padding: 18px;
  background: #fafbf8;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.badge {
  display: inline-block;
  background: #eaf2e6;
  color: #346144;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 9px;
  border-radius: 20px;
}
.badge.neutral {
  background: #f2ede1;
  color: #73633e;
}
.card-description {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 16px;
  overflow-wrap: anywhere;
}
.card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 20px;
}
.result-score {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}
.result-summary {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 18px 0;
}
.result-summary small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.empty {
  padding: 24px;
  background: #eef2e9;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
}
.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}
.empty p {
  margin: 0;
}
.notice {
  padding: 14px 18px;
  border-radius: 10px;
  background: #eaf1e4;
  color: #36573f;
  margin: 0 0 20px;
  font-size: 13px;
}
.notice.error {
  background: #fff0e7;
  color: #8b3c1d;
}
footer {
  font-size: 11px;
  color: #7e8d82;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
dialog {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 18px;
  padding: 30px;
  color: var(--ink);
  max-height: 85dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #0e271cb3;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
dialog h2 {
  font-size: 24px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-block: 1px solid var(--border);
}
.result-metrics div {
  font-size: 12px;
  color: var(--muted);
}
.result-metrics strong {
  display: block;
  font-size: 24px;
  color: var(--green);
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 20px 24px;
  }
  .sidebar {
    width: 220px;
    padding: 28px 16px;
  }
  .workspace {
    margin-left: 220px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .banner-art {
    flex-basis: 100px;
  }
  .banner-art i {
    display: none;
  }
}
@media (max-width: 750px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px 16px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .nav-caption,
  .sidebar-note {
    display: none;
  }
  nav {
    display: flex;
    gap: 6px;
    margin-top: 18px;
  }
  nav a {
    flex: 1;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    font-size: 12px;
  }
  nav a span {
    font-size: 17px;
    width: auto;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    padding: 14px 18px;
    min-height: 66px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .account-name {
    display: none;
  }
  .account {
    gap: 8px;
  }
  .quiet {
    font-size: 12px;
  }
  main {
    padding: 26px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }
  h1 {
    font-size: 27px;
  }
  .welcome-banner {
    padding: 26px 22px;
  }
  .welcome-banner h2 {
    font-size: 26px;
  }
  .banner-art {
    display: none;
  }
  .metrics {
    gap: 8px;
    margin: 18px 0;
  }
  .metrics article {
    padding: 15px 10px;
  }
  .metric-label {
    font-size: 10px;
    min-height: 32px;
  }
  .metrics strong {
    font-size: 26px;
  }
  .metrics small {
    font-size: 10px;
  }
  .assessment-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }
  .surface {
    padding: 20px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .assessment-card,
  .result-card {
    padding: 20px;
  }
  dialog {
    padding: 22px;
  }
  .result-metrics {
    gap: 8px;
  }
  .result-metrics strong {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition: background-color 0.15s ease;
  }
}
/* Facilitator workspace additions */
.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.banner-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.banner-link {
  color: #edf4df;
  font-size: 13px;
  font-weight: 600;
}
.dashboard-notice {
  margin: 22px 0 0;
}
.overview-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
}
.right-column {
  display: grid;
  gap: 20px;
  align-content: start;
}
.quick-links {
  display: grid;
  gap: 10px;
}
.quick-links > a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  color: var(--ink);
}
.quick-links > a:hover {
  background: #f4f8f0;
}
.quick-links strong {
  display: block;
  font-size: 13px;
}
.quick-links small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.quick-links b {
  margin-left: auto;
}
.quick-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border-radius: 8px;
  background: #eaf1e3;
  color: var(--green);
  flex-shrink: 0;
  font-size: 21px;
}
.student-access {
  background: #eef3e7;
}
.student-access h2 {
  margin-bottom: 12px;
}
.access-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}
.access-actions a {
  font-size: 12px;
}
.assessment-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.assessment-actions .secondary {
  font-size: 12px;
}
.assessment-card .card-top {
  margin-bottom: 12px;
}
.badge.draft {
  background: #f6efdf;
  color: #795b18;
}
.badge.closed {
  background: #ecefeb;
  color: #5d685f;
}
.assessment-card .card-meta {
  margin-bottom: 18px;
}
.sidebar-note a {
  display: block;
  font-size: 12px;
  margin-top: 16px;
}
.account-name {
  max-width: 180px;
  overflow-wrap: anywhere;
}
.eyebrow {
  overflow-wrap: anywhere;
}
.empty .button {
  margin-top: 16px;
}
@media (max-width: 1150px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 750px) {
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  nav a {
    flex-direction: column;
    padding: 8px 2px;
    gap: 2px;
    font-size: 11px;
  }
  .right-column {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .metrics article {
    padding: 18px;
  }
  .metric-label {
    min-height: 0;
    font-size: 11px;
  }
  .metrics small {
    font-size: 11px;
  }
  .banner-actions {
    gap: 16px;
  }
  .assessment-actions > a {
    flex: 1;
  }
  .topbar {
    flex-wrap: wrap;
  }
  .breadcrumb {
    max-width: 100%;
  }
  .surface .section-heading {
    align-items: flex-start;
  }
  .card-meta {
    gap: 12px;
  }
}
