@font-face {
  font-family: Golos;
  src: url(assets/golos.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #343c6a;
  --muted: #526a93;
  --blue: #1814f3;
  --line: #dfeaf2;
  --pale: #eef2ff;
  --ground: #f5f7fa;
  font:
    15px/1.45 Golos,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--ground);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a,
button,
summary,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus,
:focus-visible {
  outline: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.024em;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
.wrap {
  width: min(100%, 1440px);
  margin: auto;
  padding-inline: 36px;
}
.mast {
  background: white;
  border-bottom: 1px solid var(--line);
}
.mast .wrap {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mast .wrap > span,
.crumbs {
  font-size: 14px;
  color: var(--muted);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand b {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  height: 33px;
  min-width: 36px;
  letter-spacing: 0;
}
main.wrap {
  padding-block: 36px 64px;
}
.list-title,
.profile-title,
.actions,
.tabs,
.col-tools,
.history-heading {
  display: flex;
  align-items: center;
}
.list-title {
  gap: 19px;
  margin-bottom: 19px;
}
.tabs {
  gap: 10px;
}
.tabs a {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 9px;
}
.tabs [aria-current],
.tabs a:hover,
.pending-pill {
  color: var(--blue);
  background: var(--pale);
}
.surface {
  min-width: 0;
  background: white;
  border-radius: 25px;
  padding: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}
th {
  vertical-align: top;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  padding: 0 10px 9px 0;
}
th:nth-child(1) {
  width: 33.2%;
}
th:nth-child(2) {
  width: 15.8%;
}
th:nth-child(3) {
  width: 27.7%;
}
.col-tools {
  gap: 5px;
  flex-wrap: wrap;
}
.tool {
  display: grid;
  place-items: center;
  min-width: 18px;
  min-height: 20px;
  color: var(--muted);
  border-radius: 4px;
}
.tool:hover,
.tool.active {
  color: var(--blue);
}
.tool:hover {
  background: var(--pale);
}
.filter {
  max-width: 100%;
  margin-top: 6px;
  font-size: 12px;
}
td {
  height: 51px;
  border-top: 1px solid var(--line);
  padding: 7px 12px 7px 0;
}
td:last-child {
  padding-right: 0;
}
tbody tr {
  cursor: pointer;
}
tbody tr:hover {
  background: #f9faff;
}
.person {
  font-weight: 600;
  color: var(--ink);
}
.person:hover {
  text-decoration: underline;
}
.pending-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 9px;
  padding: 7px 12px;
}
.pending-pill:hover {
  background: #e1e7ff;
}
.complete {
  color: var(--muted);
  font-size: 14px;
}
.status-cell {
  cursor: default;
}
.empty {
  padding: 24px 0;
  color: var(--muted);
}
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 550;
  min-height: 42px;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover:enabled,
a.primary:hover {
  background: #1511cb;
}
.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid #c6d4e3;
}
.secondary:hover {
  background: var(--ground);
}
.small {
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 13px;
}
dialog {
  width: min(564px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto 36px auto auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  padding: 24px 28px;
  box-shadow: 0 15px 50px #00000021;
}
dialog::backdrop {
  background: #1c284e28;
}
dialog header,
.pending-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
dialog h2 {
  font-size: 24px;
}
dialog > p,
.profile-title p {
  color: var(--muted);
  margin-top: 9px;
}
dialog > p {
  margin-bottom: 15px;
}
.pending-row {
  min-height: 72px;
  border-top: 1px solid var(--line);
}
.pending-row strong,
.history-row strong {
  font-weight: 600;
}
.resolved,
.resolved time,
.resolved strong {
  color: #697788;
}
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.crumbs span {
  color: #8997ab;
}
.profile-title {
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
}
.profile-grid,
.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.history-heading {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.history-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 13px;
}
.history-row time {
  flex: none;
  width: 76px;
  color: var(--blue);
  font-weight: 500;
}
.history-row strong {
  display: inline-block;
  font-size: 15px;
}
.history-row span {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.history-row svg {
  margin-left: auto;
  flex: none;
  color: var(--muted);
}
.record summary {
  cursor: pointer;
  list-style: none;
}
.record summary::-webkit-details-marker {
  display: none;
}
.record[open] summary svg {
  transform: rotate(180deg);
}
.record dl {
  margin: 0 0 16px 88px;
}
.record dt {
  font-weight: 600;
  margin-top: 10px;
}
.record dd {
  white-space: pre-line;
  margin: 2px 0;
  font-size: 14px;
  color: var(--muted);
}
.progress h3 {
  margin: 20px 0 5px;
}
.progress p {
  color: var(--muted);
  white-space: pre-line;
}
.entry-form {
  max-width: 706px;
  margin-top: 20px;
  display: grid;
  gap: 16px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
input:not([type="checkbox"]),
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd6e4;
  border-radius: 12px;
  background: white;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 400;
}
input[readonly] {
  background: var(--ground);
}
textarea {
  resize: vertical;
  min-height: 56px;
}
textarea::placeholder,
input::placeholder {
  color: #667992;
}
.field-group > h3 {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}
.entry-form .actions {
  padding-top: 4px;
}
.report-grid {
  grid-template-columns: 1.1fr 1fr;
}
.report-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.report-form label + label {
  margin-top: 12px;
}
.report-form .form-pair label {
  margin: 0;
}
.report-form .primary {
  justify-self: start;
}
.report-form blockquote {
  margin: 0;
  border-radius: 12px;
  background: var(--pale);
  padding: 12px 16px;
  white-space: pre-line;
}
blockquote small {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
}
.sheet {
  background: white;
  border-radius: 20px;
  padding: 32px;
  overflow-wrap: anywhere;
}
.sheet h2 {
  font-size: 34px;
  margin: 26px 0 6px;
}
.sheet h3 {
  font-size: 18px;
  margin: 22px 0 6px;
}
.sheet p {
  color: var(--muted);
}
.lines {
  white-space: pre-line;
}
.sheet footer {
  margin-top: 26px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
#notice:not(:empty) {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  border-radius: 12px;
  max-width: 92vw;
  z-index: 3;
}
@media (max-width: 900px) {
  .wrap {
    padding-inline: 24px;
  }
  .profile-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .col-tools {
    gap: 2px;
  }
  th:nth-child(1) {
    width: 30%;
  }
  th:nth-child(2) {
    width: 17%;
  }
  th:nth-child(3) {
    width: 26%;
  }
  .profile-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding-inline: 16px;
  }
  .mast .wrap {
    height: 58px;
  }
  .mast .wrap > span {
    font-size: 12px;
  }
  .brand {
    gap: 8px;
  }
  .brand b {
    height: 30px;
    min-width: 33px;
  }
  main.wrap {
    padding-block: 24px 42px;
  }
  h1 {
    font-size: 30px;
  }
  .list-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }
  .surface {
    padding: 16px;
    border-radius: 18px;
  }
  .roster {
    padding: 0 16px;
  }
  table,
  tbody {
    display: block;
  }
  thead {
    display: none;
  }
  tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 14px 0;
    gap: 3px 10px;
    border-top: 1px solid var(--line);
  }
  tbody tr:first-child {
    border-top: 0;
  }
  td {
    height: auto;
    border: 0;
    padding: 0;
  }
  td:first-child {
    grid-column: 1/-1;
    font-size: 16px;
  }
  td:nth-child(2),
  td:nth-child(3) {
    grid-column: 1;
    font-size: 12px;
    color: var(--muted);
  }
  td.status-cell {
    grid-area: 2/2/4/3;
    align-self: center;
  }
  .pending-pill {
    padding: 6px 9px;
    font-size: 12px;
  }
  .complete {
    font-size: 12px;
  }
  .profile-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .profile-title {
    gap: 16px;
  }
  .profile-title .actions {
    gap: 6px;
  }
  .primary,
  .secondary {
    padding-inline: 12px;
  }
  .history-row time {
    width: 48px;
  }
  .record dl {
    margin-left: 60px;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  dialog {
    margin: auto;
    padding: 18px;
    max-width: 440px;
  }
  dialog h2 {
    font-size: 20px;
  }
  .pending-row {
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .pending-row .actions {
    gap: 6px;
  }
  .sheet {
    padding: 20px;
  }
  .history-heading {
    flex-wrap: wrap;
  }
  .crumbs {
    font-size: 13px;
  }
  .entry-form .practice-option {
    font-size: 14px;
  }
}

.class-list {
  display: grid;
  gap: 14px;
}
.class-block {
  padding: 16px 22px 9px;
  border-radius: 18px;
}
.class-block h2 {
  margin-bottom: 12px;
  font-size: 19px;
}
.class-block th:nth-child(1) {
  width: 44%;
}
.class-block th:nth-child(2) {
  width: 27%;
}
.class-block th:nth-child(3) {
  width: 29%;
}
.class-block td {
  height: 42px;
}
.roster-tools {
  margin: -6px 0 15px;
}
.roster-tools summary,
.sort-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}
.roster-tools summary {
  min-height: 32px;
}
.roster-tools summary::-webkit-details-marker {
  display: none;
}
.roster-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}
.sort-option {
  margin-top: 6px;
  min-height: 27px;
}
.sort-option[aria-pressed="true"] {
  color: var(--blue);
}
@media (max-width: 680px) {
  .class-block {
    padding: 14px 16px 4px;
  }
  .class-block h2 {
    margin-bottom: 2px;
  }
  .class-block td {
    height: auto;
  }
  .class-block td.status-cell {
    grid-area: 2/2/3/3;
  }
  .class-block td:nth-child(2) {
    align-self: center;
  }
  .roster-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
