:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202124;
  background: #f4f5f6;
  color-scheme: light;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(16px, calc((100% - 1040px) / 2));
  background: #111214;
  color: #fff;
  flex-wrap: wrap;
}
.brand {
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  display: block;
}
.brand span {
  color: #ffdf00;
}
.brand small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 5px;
}
.environment {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #e3e4e7;
}
main {
  max-width: 1040px;
  margin: 24px auto;
  padding: 0 16px 48px;
}
.notice {
  padding: 14px 16px;
  background: #fff6d6;
  border: 1px solid #bd9200;
  border-radius: 12px;
  color: #5a4300;
  margin: 0 0 20px;
}
.login-card {
  max-width: 440px;
  margin: 36px auto;
}
.card {
  padding: 24px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
h1,
h2 {
  line-height: 1.25;
  margin: 0 0 16px;
}
h1 {
  font-size: 26px;
}
h2 {
  font-size: 21px;
}
p {
  margin: 0 0 16px;
}
.muted {
  color: #535b65;
}
form,
.fields {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}
input {
  width: 100%;
  min-width: 0;
  border: 1px solid #737b87;
  border-radius: 9px;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: #202124;
  background: #fff;
}
button {
  font: inherit;
  font-weight: 750;
  border: 1px solid #988100;
  border-radius: 10px;
  background: #ffdf00;
  color: #151515;
  min-height: 48px;
  padding: 10px 16px;
  cursor: pointer;
  white-space: normal;
}
button.secondary {
  background: #fff;
  border-color: #747b85;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #165bcb;
  outline-offset: 3px;
}
.error {
  padding: 12px;
  border-left: 4px solid #a11125;
  background: #fff0f2;
  color: #8b1021;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.actions > * {
  flex: 1;
  min-width: 0;
}
.account-bar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin-top: 16px;
}
.list p:last-child {
  margin-bottom: 0;
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  background: #e9edf5;
  color: #25334d;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
dialog {
  max-width: calc(100% - 32px);
  width: 420px;
  padding: 24px;
  border: 1px solid #a8afb7;
  border-radius: 16px;
  color: #202124;
  background: #fff;
}
dialog::backdrop {
  background: #0009;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px;
  background: #fff;
  color: #111;
  z-index: 5;
}
.skip:focus {
  top: 8px;
}
#logout-status:empty {
  display: none;
}
#logout-status {
  margin: 12px 0 0;
}
@media (max-width: 430px) {
  .card {
    padding: 20px;
  }
  .login-card {
    margin: 24px auto;
  }
  header {
    gap: 12px;
  }
  .environment {
    font-size: 10px;
  }
  .account-bar > button {
    width: 100%;
  }
  h1 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
input[type="radio"] {
  width: 24px;
  min-height: 24px;
  margin: 0;
  flex-shrink: 0;
}
label:has(input[type="radio"]) {
  display: flex;
  align-items: start;
  gap: 10px;
}
input[type="checkbox"] {
  flex-shrink: 0;
}
textarea:focus-visible {
  outline: 3px solid #165bcb;
  outline-offset: 3px;
}
[data-editor] {
  margin-top: 20px;
}
[data-list] {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
[data-list] article > button {
  margin: 12px 12px 12px 0;
}
dt {
  font-weight: 700;
  margin-top: 12px;
}
dd {
  margin: 4px 0 12px;
}
progress {
  width: 100%;
  accent-color: #988100;
}
[hidden] {
  display: none !important;
}
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #737b87;
  border-radius: 9px;
  font: inherit;
  background: #fff;
  color: #202124;
}
select:focus-visible {
  outline: 3px solid #165bcb;
  outline-offset: 3px;
}
#student-form,
#invite-form {
  margin: 24px 0;
}
#account-actions p {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
#records + section {
  margin-top: 24px;
}
#recovery {
  margin-bottom: 16px;
}
main > .card {
  margin-top: 24px;
}
textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  padding: 12px;
  border: 1px solid #737b87;
  border-radius: 9px;
  font: inherit;
}
fieldset {
  min-width: 0;
  padding: 16px;
  border: 1px solid #b7bdc5;
  border-radius: 10px;
  display: grid;
  gap: 12px;
}
legend {
  font-weight: 700;
}
input[type="checkbox"] {
  width: 24px;
  min-height: 24px;
  margin: 0;
}
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: start;
  gap: 10px;
}
pre {
  overflow: auto;
  max-width: 100%;
  font-size: 13px;
}
#assessment-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
#assessment-list article > button {
  margin: 0 12px 16px 0;
}
#assessment-list form {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
#assessment-editor {
  margin-top: 20px;
}

.privacy-notice {
  line-height: 1.65;
}
.privacy-notice li {
  margin-bottom: 1rem;
}
.privacy-center summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
}
.privacy-center[open] summary {
  margin-bottom: 1.2rem;
}
.privacy-center textarea {
  width: 100%;
  font: inherit;
  resize: vertical;
  min-height: 6rem;
}
.privacy-request {
  border-top: 1px solid #b8c0c8;
  margin-top: 1.2rem;
  padding-top: 1rem;
}
.privacy-request p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.privacy-protocol {
  overflow-wrap: anywhere;
}
.privacy-center input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}
.privacy-center select {
  max-width: 100%;
}
.management-panel article p,
.management-panel [role="status"] {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.management-panel > button {
  margin: 0 10px 12px 0;
}
.management-panel form {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.management-panel details {
  margin-top: 12px;
}
.management-panel details p {
  font-size: 0.9rem;
}
.management-panel h4 {
  overflow-wrap: anywhere;
}
