:root {
  font-family: Inter, system-ui, sans-serif;
  color: #172a20;
  background: #f5f6f3;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dce3db;
}
header > span {
  font-size: 11px;
  letter-spacing: 2px;
}
.brand {
  color: #172a20;
  font-size: 27px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
}
.brand span {
  font-weight: 400;
}
main {
  max-width: 1050px;
  padding: 32px 24px;
  margin: auto;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 10px 0 18px;
}
h2 {
  font-size: 20px;
}
p {
  color: #536359;
  line-height: 1.6;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
}
form {
  display: grid;
  gap: 14px;
}
#auth {
  max-width: 460px;
  margin: 25px auto 80px;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
}
input,
textarea {
  font: inherit;
  color: #172a20;
  background: white;
  border: 1px solid #c9d4c9;
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  font-weight: 400;
}
button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #c4eb65;
  padding: 14px 20px;
  min-height: 48px;
  color: #172a20;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: white;
  border-color: #dce3db;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #719341;
  outline-offset: 3px;
}
.actions,
.heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 25px;
}
article,
.dept {
  border: 1px solid #dce3db;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  margin: 15px 0;
}
.dept {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
#new-department {
  max-width: 440px;
  margin: 25px 0;
}
#status:not(:empty) {
  background: #fff1d6;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.small,
footer {
  font-size: 12px;
  color: #536359;
}
footer {
  border-top: 1px solid #dce3db;
  line-height: 1.8;
  margin-top: 50px;
  padding-top: 20px;
}
.roster-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid #dce3db;
}
.code-row {
  padding: 12px;
  border-bottom: 1px solid #dce3db;
}
code {
  overflow-wrap: anywhere;
  display: block;
  padding: 10px;
  background: #eaf1e4;
  border-radius: 8px;
}
#billing {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .heading,
  .dept {
    align-items: flex-start;
    flex-direction: column;
  }
  header > span {
    display: none;
  }
  h1 {
    font-size: 30px;
  }
  main {
    padding: 24px 16px;
  }
}
