@font-face {
  font-family: College;
  src:
    url('/fonts/NotoSans-Regular.woff2') format('woff2'),
    url('/fonts/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: College;
  src:
    url('/fonts/NotoSans-Bold.woff2') format('woff2'),
    url('/fonts/NotoSans-Bold.ttf') format('truetype');
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --purple: #5b438f;
  --purple-dark: #342655;
  --purple-bg: #eee8f8;
  --ink: #272234;
  --muted: #5b526a;
  --line: #d5cedf;
  --green: #176348;
  --green-bg: #e6f3ec;
  --red: #9a304d;
  --red-bg: #fae8ee;
  --amber: #785100;
  --bg: #f6f6fa;
  --shadow: 0 3px 16px #31205b03;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: College, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
input,
select,
textarea {
  border: 1px solid #e3e3ee;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  outline: none;
  min-height: 40px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #6955b713;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a393d9;
  outline-offset: 3px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 500;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th {
  color: #686774;
  font-weight: 500;
  font-size: 12px;
  text-align: left;
  background: #fcfcfe;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfafe;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-weight: 650;
  letter-spacing: -0.9px;
  font-size: 30px;
  line-height: 1.3;
}
h2 {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  width: 32px;
  height: 34px;
  border-radius: 7px;
  color: #696775;
}
.icon-button:hover {
  color: var(--purple);
  background: var(--purple-bg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 3px 5px #6955b712;
}
.primary:hover {
  background: #59479f;
}
.secondary {
  background: white;
  border-color: #e4e3ed;
  color: #625e77;
}
.secondary:hover {
  background: #f6f4fb;
  border-color: #c6bddc;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.lavender {
  color: #6e5ea4;
  background: #f0ecfa;
}
.mint {
  color: var(--green);
  background: var(--green-bg);
}
.rose {
  color: var(--red);
  background: var(--red-bg);
}
.amber {
  color: var(--amber);
  background: #faf3e6;
}
.neutral {
  color: #696775;
  background: #f4f3f8;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dot.purple {
  background: var(--purple);
}
.ring-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--purple);
  border-radius: 50%;
}
.muted {
  font-size: 12px;
  color: var(--muted);
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.green-text {
  color: var(--green);
}
.red-text {
  color: var(--red);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #6b6674;
}
.count {
  display: inline-block;
  background: #f2eff8;
  color: #6f618e;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12px;
  margin-left: 7px;
  vertical-align: middle;
}
.boot,
.loading-state {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
}
.spinner {
  width: 26px;
  height: 26px;
  border: 2px solid #e5dff3;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  background: #fff;
  border-right: 1px solid #eae9f2;
  display: flex;
  flex-direction: column;
  z-index: 20;
  padding: 27px 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 14px;
}
.brand-symbol {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 34px;
  transform: skewY(-17deg);
  color: var(--purple);
}
.brand-symbol i {
  display: block;
  width: 6px;
  background: currentColor;
}
.brand-symbol i:nth-child(1) {
  height: 17px;
  opacity: 0.55;
}
.brand-symbol i:nth-child(2) {
  height: 25px;
  opacity: 0.75;
}
.brand-symbol i:nth-child(3) {
  height: 32px;
}
.brand-symbol i:nth-child(4) {
  height: 22px;
  opacity: 0.8;
}
.brand-word {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #59408d;
}
.brand-word > span {
  font-weight: 500;
  margin-left: 3px;
  color: #8f5489;
}
.brand-word small {
  display: block;
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.workspace-tag {
  margin-top: 33px;
  margin-bottom: 29px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #faf9fd;
  border: 1px solid #ebe7f4;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.workspace-tag > .icon {
  width: 13px;
  margin-left: auto;
  color: #6b6675;
}
.workspace-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 32px;
  background: #ede7fa;
  color: var(--purple);
  border-radius: 7px;
}
.workspace-icon .icon {
  width: 16px;
}
.workspace-tag small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #6c6679;
  margin-top: 1px;
}
.nav-caption {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #696773;
  padding-left: 13px;
  margin-bottom: 13px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 11px 13px;
  margin-bottom: 5px;
  border-radius: 7px;
  color: #686776;
  font-size: 12px;
  min-height: 40px;
}
.nav-link > .icon {
  width: 17px;
  height: 17px;
}
.nav-link:hover {
  background: #f8f6fd;
  color: var(--purple);
}
.nav-link.active {
  background: #eee9fa;
  color: #7056b0;
  font-weight: 600;
}
.nav-link.active > i {
  position: absolute;
  left: -18px;
  top: 13px;
  bottom: 13px;
  width: 3px;
  background: var(--purple);
  border-radius: 0 4px 4px 0;
}
.nav-count {
  font-size: 12px;
  background: #f7e8ec;
  color: #8d5a65;
  margin-left: auto;
  border-radius: 4px;
  padding: 2px 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 45px;
}
.sidebar-note {
  border: 1px solid #ece7f5;
  background: linear-gradient(145deg, #faf8ff, #fbfaff);
  border-radius: 10px;
  padding: 15px 13px;
  margin-bottom: 14px;
}
.note-icon {
  display: block;
  color: #70618f;
  margin-bottom: 10px;
}
.note-icon > .icon {
  width: 22px;
  height: 22px;
}
.sidebar-note strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
  color: #675780;
}
.sidebar-note p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 5px;
  color: #6d6577;
}
.sidebar-note a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #725da0;
  margin-top: 13px;
}
.sidebar-note a .icon {
  width: 13px;
  height: 13px;
}
.help-button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6a6774;
  font-size: 12px;
  padding: 11px 13px;
  margin-bottom: 13px;
}
.help-button .icon {
  width: 16px;
  height: 16px;
}
.profile {
  border-top: 1px solid #eeecf4;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 -2px;
  padding: 17px 0;
}
.profile > div {
  flex: 1;
  min-width: 0;
}
.profile strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
}
.profile small {
  font-size: 12px;
  color: #6a6772;
}
.profile > .icon-button {
  width: 23px;
}
.profile .icon {
  width: 15px;
}
.avatar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee9f7;
  border: 3px solid #f9f7fe;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: #716092;
}
.avatar.small {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.main-shell {
  margin-left: 226px;
  min-width: 0;
  width: calc(100% - 226px);
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 70px;
  padding: 0 34px;
  border-bottom: 1px solid #eeedf3;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #696774;
}
.breadcrumbs .icon {
  width: 12px;
  height: 12px;
  color: #6a6770;
}
.breadcrumbs strong {
  color: #6c657f;
  font-size: 12px;
  font-weight: 500;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.save-state {
  font-size: 12px;
  color: #696772;
  display: flex;
  align-items: center;
  gap: 5px;
}
.save-state > .icon {
  color: #596d63;
  width: 12px;
  height: 12px;
}
.top-divider {
  width: 1px;
  height: 20px;
  background: #eeecf4;
}
.mobile-menu {
  display: none;
}
#main {
  padding: 30px 34px 26px;
  flex: 1;
  outline: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading .eyebrow {
  margin-bottom: 7px;
}
.page-heading p {
  font-size: 12px;
  color: #6a6675;
  margin-top: 8px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-control {
  border: 1px solid #e5e3ee;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding-left: 12px;
  color: #6c657f;
}
.date-control input {
  border: 0;
  padding: 9px 9px 9px 0;
  font-size: 12px;
  min-height: 38px;
  background: transparent;
  color: #635b77;
  width: 135px;
  box-shadow: none;
}
.date-control input[type='month'] {
  width: 150px;
}
.date-control .icon {
  width: 15px;
  height: 15px;
}
.date-control input::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: pointer;
}
.heading-actions > select {
  font-size: 12px;
  min-width: 125px;
}
.page-footer {
  margin: 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #eae8f1;
  padding: 19px 0;
  color: #6a6772;
  font-size: 12px;
}
.day-banner {
  position: relative;
  background: linear-gradient(110deg, #f0ebf9 0%, #f6f2fd 65%, #f0eafb 100%);
  border: 1px solid #e9e2f5;
  border-radius: 12px;
  padding: 25px 27px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 22px;
  min-height: 148px;
}
.day-label {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: #73608b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.day-label .dot {
  width: 5px;
  height: 5px;
}
.day-banner h2 {
  font-size: 24px;
  color: #564271;
  letter-spacing: -0.6px;
  margin: 8px 0 5px;
  font-weight: 620;
}
.day-banner > div > span:last-child {
  font-size: 12px;
  color: #6f647b;
}
.day-banner i {
  font-style: normal;
  margin: 0 7px;
  color: #6e6578;
}
.banner-progress {
  margin-left: auto;
  margin-right: 128px;
  width: 197px;
  z-index: 1;
}
.banner-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #706380;
  margin-bottom: 8px;
}
.banner-progress strong {
  font-size: 17px;
  color: #795b9c;
}
.banner-progress small {
  font-size: 12px;
  color: #6e6579;
  font-weight: 400;
}
.banner-progress > .progress {
  height: 5px;
  background: #e6ddf2;
}
.banner-progress > .progress i {
  height: 5px;
  background: #a58bcc;
  margin: 0;
}
.banner-progress > span {
  display: block;
  font-size: 12px !important;
  margin-top: 6px;
  color: #6f6479 !important;
}
.banner-art {
  position: absolute;
  right: 24px;
  top: 29px;
  color: #70647d;
  transform: rotate(9deg);
}
.banner-art > .icon {
  width: 84px;
  height: 84px;
  stroke-width: 1.1;
  opacity: 0.6;
}
.banner-art > i {
  position: absolute;
  right: -9px;
  top: 40px;
  background: #eee7f8;
  border: 3px solid #f6f1fd;
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #74608a;
}
.banner-art > i > .icon {
  width: 16px;
  height: 16px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.stat-card {
  display: flex;
  gap: 12px;
  position: relative;
  border: 1px solid #eeedf4;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
  padding: 19px 16px;
  min-height: 112px;
}
.stat-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex-shrink: 0;
}
.stat-icon > .icon {
  width: 17px;
  height: 17px;
}
.stat-card > div {
  min-width: 0;
}
.stat-card > div > span {
  display: block;
  font-size: 12px;
  color: #6a6675;
  white-space: nowrap;
}
.stat-card strong {
  display: block;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.4;
  margin: 3px 0;
  color: #514a62;
}
.stat-card small {
  font-size: 12px;
  color: #6b6771;
  white-space: nowrap;
}
.stat-pill {
  position: absolute;
  right: 12px;
  top: 55px;
  border-radius: 5px;
  font-size: 12px;
  padding: 3px 5px;
}
.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 22px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid #ecebf3;
  box-shadow: var(--shadow);
  border-radius: 11px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 21px 19px;
}
.panel-head h2 {
  font-size: 13px;
  color: #655a79;
}
.panel-head p {
  font-size: 12px;
  color: #6c6674;
  margin-top: 4px;
}
.panel-head > .text-button {
  font-size: 12px;
}
.panel-head > .text-button > .icon {
  width: 12px;
  height: 12px;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 21px 17px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-direction: row;
  font-weight: 400;
  background: white;
  border: 1px solid #eae7f1;
  border-radius: 7px;
  padding: 0 9px;
  min-width: 0;
}
.search-field > .icon {
  width: 14px;
  height: 14px;
  color: #6d6578;
}
.search-field input {
  border: 0;
  min-height: 33px;
  font-size: 12px;
  box-shadow: none;
  padding: 7px 0;
  width: 200px;
  max-width: 100%;
  background: transparent;
}
.search-field input::placeholder {
  color: #6c6673;
}
.table-toolbar > .muted {
  font-size: 12px;
  color: #6b6673;
}
.table-scroll {
  overflow: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #dcd6e9 transparent;
}
.overview-table th {
  font-size: 12px;
  background: #faf9fd;
  padding: 12px 17px;
}
.overview-table td {
  padding: 13px 17px;
  font-size: 12px;
  border-color: #f1eef6;
}
.overview-table th:last-child,
.overview-table td:last-child {
  padding-left: 3px;
  padding-right: 12px;
}
.group-link {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 3px;
  border: 0;
  background: none;
  padding: 0;
}
.group-link > span:last-child {
  font-size: 12px;
  color: #6c6674;
}
.group-badge {
  display: inline-flex;
  background: #f2eff8;
  color: #735e97;
  border: 1px solid #ebe5f4;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.curator {
  color: #6d6578;
  font-size: 12px;
  max-width: 130px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.overview-table .numeric {
  color: #6d6577;
  font-size: 12px;
}
.overview-table .green-text {
  color: #4e6f62;
}
.overview-table .red-text {
  color: #8d5a64;
}
.table-percent {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 95px;
}
.progress {
  display: block;
  height: 4px;
  background: #f0eef5;
  border-radius: 5px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: #a4c6b5;
  border-radius: 5px;
}
.progress.danger i {
  background: #dbb0ba;
}
.table-percent .progress {
  width: 57px;
}
.table-percent strong {
  font-size: 12px;
  min-width: 30px;
  color: #6c6577;
  font-weight: 400;
}
.overview-table .icon-button > .icon {
  width: 13px;
}
.right-rail {
  display: grid;
  gap: 17px;
}
.mini-calendar .panel-head {
  padding: 15px 17px 8px;
}
.mini-calendar h2 {
  font-size: 12px;
}
.mini-calendar .panel-head > div {
  display: flex;
}
.mini-calendar .icon-button {
  width: 21px;
  height: 25px;
}
.mini-calendar .icon-button > .icon {
  width: 12px;
  height: 12px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding: 9px 16px 14px;
  align-items: center;
  text-align: center;
}
.weekday {
  font-size: 12px;
  color: #6d6577;
  margin-bottom: 5px;
}
.calendar-day {
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  min-width: 0;
  height: 25px;
  position: relative;
  font-size: 12px;
  font-weight: 400;
  color: #6d6579;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-day:hover {
  background: #f2ecfb;
  color: var(--purple);
}
.calendar-day.weekend {
  color: #6c6670;
}
.calendar-day.has-data {
  color: #716189;
}
.calendar-day > i {
  position: absolute;
  bottom: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c3afd9;
}
.calendar-day.selected {
  background: #9580c1;
  color: #fff;
  border-color: #9580c1;
}
.calendar-day.today {
  border-color: #a78ecb;
}
.calendar-day.selected > i {
  background: white;
}
.calendar-legend {
  display: flex;
  gap: 12px;
  font-size: 12px;
  padding: 0 17px 15px;
  color: #6e6578;
}
.calendar-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.calendar-legend .dot {
  width: 4px;
  height: 4px;
}
.calendar-legend .ring-dot {
  width: 6px;
  height: 6px;
  border-width: 1px;
}
.calendar-all {
  border-top: 1px solid #eee9f5;
  color: #726283;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
}
.calendar-all > .icon {
  width: 12px;
  height: 12px;
}
.social-callout {
  background: linear-gradient(120deg, #fcf2f2, #faf1f6);
  border: 1px solid #f1e3e9;
  border-radius: 11px;
  padding: 18px;
}
.social-callout-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.social-callout-top .stat-icon {
  background: #f8e7eb;
  color: #865d66;
  width: 31px;
  height: 31px;
}
.social-callout-top .badge {
  font-size: 12px;
  background: #f7e4e9;
  color: #806068;
}
.social-callout h3 {
  font-size: 12px;
  color: #825e71;
}
.social-callout p {
  color: #77636e;
  font-size: 12px;
  line-height: 1.9;
  margin: 7px 0 14px;
}
.social-callout a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #825e6f;
  font-size: 12px;
}
.social-callout a > .icon {
  width: 13px;
  height: 13px;
}
.legend-card {
  padding: 0 5px;
  color: #6c6675;
}
.legend-card > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.legend-card .icon {
  width: 13px;
  height: 13px;
  color: #646a61;
}
.legend-card strong {
  font-weight: 500;
  color: #6c6674;
}
.legend-card p {
  font-size: 12px;
  line-height: 1.9;
  margin: 5px 0 0 20px;
}
.full-date-table {
  max-height: 70vh;
}
.full-date-table table {
  min-width: 2200px;
}
.full-date-table th {
  white-space: normal;
  min-width: 115px;
  max-width: 190px;
  height: 110px;
  font-size: 12px;
  position: sticky;
  top: 0;
  z-index: 1;
  vertical-align: middle;
}
.full-date-table td {
  font-size: 12px;
}
.full-date-table th:nth-child(3) {
  min-width: 210px;
}
.full-date-table td:nth-child(3) {
  white-space: normal;
}
.full-date-table .totals-row {
  background: #f4f0fb;
  font-weight: 600;
  color: var(--purple);
}
.panel-foot {
  padding: 14px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #6c6675;
  border-top: 1px solid var(--line);
  background: #fdfcff;
}
.panel-foot > .icon {
  width: 14px;
  height: 14px;
  color: #6f647d;
}
.journal-info {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.journal-group-icon {
  background: var(--purple-bg);
  color: #725f95;
  border-radius: 9px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journal-info h2 {
  font-size: 19px;
  letter-spacing: 0.2px;
}
.journal-info p {
  color: #6c6676;
  font-size: 12px;
  margin-top: 4px;
}
.journal-info i,
.admin-group i {
  font-style: normal;
  margin: 0 5px;
  color: #6b6772;
}
.journal-info > .btn {
  margin-left: auto;
}
.journal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px;
}
.journal-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.journal-actions .btn {
  font-size: 12px;
  min-height: 35px;
}
.small-control {
  min-height: 34px;
}
.small-control input {
  min-height: 32px;
  font-size: 12px;
  padding: 6px;
  width: 129px;
}
.journal-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 20px 17px;
}
.journal-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6e6578;
}
.mark {
  border: 1px solid transparent;
  border-radius: 5px;
  width: 25px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 550;
  flex-shrink: 0;
}
.mark.present {
  color: #4e7060;
  background: #edf6f1;
}
.mark.absent {
  color: #875d67;
  background: #faecef;
}
.mark.excused {
  color: #71618a;
  background: #f1ecf8;
}
.mark.late {
  color: #766748;
  background: #fbf4e7;
}
.mark.blank {
  color: #6b6772;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
}
.mark:hover {
  border-color: currentColor;
}
.journal-legend .mark {
  width: 20px;
  height: 22px;
  font-size: 12px;
}
.journal-legend .mark.blank {
  font-size: 15px;
}
.journal-scroll {
  max-height: 65vh;
  border-top: 1px solid var(--line);
}
.journal-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #faf9fd;
}
.journal-table .sticky-name {
  position: sticky;
  left: 0;
  background: #fff;
  min-width: 270px;
  max-width: 340px;
  z-index: 3;
  padding: 13px 20px;
  border-right: 1px solid var(--line);
}
.journal-table th.sticky-name {
  z-index: 4;
  background: #faf9fd;
  font-size: 12px;
}
.journal-table td.sticky-name {
  font-size: 12px;
}
.journal-table td.sticky-name strong {
  font-weight: 450;
}
.row-number {
  color: #6d6674;
  font-size: 12px;
  display: inline-block;
  width: 25px;
}
.journal-table td {
  border-color: #f4f0f8;
}
.journal-table .mark-td {
  padding: 5px 3px;
  min-width: 33px;
  text-align: center;
  border-right: 1px solid #f7f4fa;
}
.journal-table .day-head {
  padding: 4px 3px;
  min-width: 33px;
  text-align: center;
}
.day-head button {
  background: none;
  border: 0;
  padding: 7px 0;
  min-width: 27px;
  color: #6f647e;
  font-size: 12px;
}
.day-head small {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  color: #6d6674;
}
.day-head.weekend {
  background: #f7f4fa;
}
.journal-table .current-day {
  background: #f5f0fc;
}
.journal-table .day-head.current-day {
  background: #eee5fa;
}
.student-total {
  font-size: 12px;
  color: #7c616c;
  text-align: center;
}
.student-total small {
  font-size: 12px;
  color: #6d6674;
}
.year-switch {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border: 1px solid #e9e5f0;
  padding: 3px 7px;
  border-radius: 8px;
}
.year-switch strong {
  font-size: 14px;
  color: var(--purple);
}
.calendar-description {
  display: flex;
  gap: 25px;
  align-items: center;
  color: #6c6675;
  font-size: 12px;
  margin-bottom: 22px;
}
.calendar-description > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.calendar-description > span:last-child {
  margin-left: auto;
  font-size: 12px;
}
.year-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.month-panel > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 4px;
  color: #73618b;
}
.month-panel h2 {
  font-size: 12px;
}
.month-panel > a > .icon {
  width: 13px;
  height: 13px;
  color: #6f647a;
}
.month-panel .calendar-day {
  height: 29px;
}
.month-panel .calendar-grid {
  gap: 3px;
  padding: 14px;
}
.social-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #faf0f3;
  border: 1px solid #f0e2e9;
  border-radius: 11px;
  padding: 24px;
  margin-bottom: 23px;
}
.social-icon {
  width: 48px;
  height: 48px;
  background: #f3e0e8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #825e6e;
}
.social-intro h2 {
  font-size: 17px;
  color: #845d71;
}
.social-intro p {
  font-size: 12px;
  color: #77636f;
  margin-top: 5px;
}
.social-intro > strong {
  margin-left: auto;
  font-size: 29px;
  color: #825e70;
  font-weight: 600;
  text-align: center;
}
.social-intro > strong small {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.social-table td {
  font-size: 12px;
}
.social-table strong {
  font-weight: 500;
}
.reason-list span {
  display: inline-block;
  margin-right: 6px;
  color: #76617e;
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 4px;
  background: #f6f0f9;
}
.empty-state {
  text-align: center;
  padding: 70px 25px;
  color: #6d6576;
}
.empty-state > .icon {
  width: 42px;
  height: 42px;
  stroke-width: 1.1;
  color: #6d6578;
  margin-bottom: 15px;
}
.empty-state h3 {
  color: #71647b;
  font-size: 15px;
  font-weight: 500;
}
.empty-state p {
  font-size: 12px;
  margin-top: 7px;
}
.no-results {
  padding: 40px !important;
  color: #6c6675;
  text-align: center;
}
.reports-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.report-builder .panel-head {
  padding: 24px;
}
.report-builder form {
  padding: 0 24px 24px;
}
.report-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.report-form-grid label {
  font-size: 12px;
  color: #70647c;
}
.report-form-grid input,
.report-form-grid select {
  width: 100%;
  font-size: 12px;
}
.span-two {
  grid-column: span 2;
}
.format-select {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}
.format-select > label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  flex: 1;
  border: 1px solid #e8e2f0;
  border-radius: 9px;
  padding: 12px;
  font-size: 12px;
  cursor: pointer;
}
.format-select > label:has(:checked) {
  border-color: #a591c6;
  background: #faf7ff;
}
.format-select input {
  width: 13px;
  height: 13px;
  min-height: 0;
  padding: 0;
  accent-color: var(--purple);
}
.format-select strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.format-select small {
  font-size: 12px;
  color: #6d6577;
  display: block;
  margin-top: 3px;
}
.file-icon {
  display: flex;
  width: 30px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.file-icon.pdf {
  background: #f8e9ee;
  color: #865d68;
}
.file-icon.xlsx {
  background: #e9f3ee;
  color: #556e5e;
}
.form-footnote {
  font-size: 12px;
  color: #6e6577;
  margin-top: 13px;
}
.report-preview {
  padding: 25px;
  background: #f3f0f9;
}
.paper-preview {
  background: white;
  border: 1px solid #e7dfef;
  box-shadow: 0 10px 20px #51436d09;
  aspect-ratio: 210/245;
  margin-top: 18px;
  padding: 20px 22px;
}
.paper-preview > img {
  width: 100%;
  height: auto;
}
.paper-preview h3 {
  font-size: 13px;
  color: #6f647d;
  margin-top: 25px;
  text-align: center;
}
.paper-preview > p {
  text-align: center;
  font-size: 12px;
  color: #6d6576;
  margin: 6px 0 20px;
}
.preview-table > i {
  display: block;
  background: #eae3f3;
  height: 18px;
}
.preview-table > div {
  display: flex;
  border-bottom: 1px solid #eee7f5;
  height: 20px;
}
.preview-table > div > span {
  display: block;
  flex: 1;
  border-right: 1px solid #eee7f5;
}
.preview-table > div > span:first-child {
  flex: 2.5;
}
.signature-line {
  width: 45%;
  border-bottom: 1px solid #d7cee1;
  margin-top: 35px;
}
.report-preview > p {
  display: flex;
  align-items: start;
  gap: 8px;
  color: #6f647a;
  font-size: 12px;
  margin-top: 18px;
}
.report-preview > p > .icon {
  width: 13px;
  height: 13px;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 23px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.admin-group {
  padding: 20px;
}
.admin-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.admin-group h3 {
  font-size: 12px;
  color: #71647a;
  margin-top: 20px;
  font-weight: 500;
  min-height: 36px;
}
.admin-group > p {
  font-size: 12px;
  color: #6e6576;
  margin: 10px 0 20px;
}
.admin-group-actions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 22px;
  padding-top: 15px;
}
.admin-group-actions .text-button {
  font-size: 12px;
}
.admin-group-actions .icon {
  width: 13px;
  height: 13px;
}
.roster-list {
  max-height: 40vh;
  overflow: auto;
  margin-top: 20px;
}
.roster-list > div {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  font-size: 12px;
}
.roster-list span {
  width: 20px;
  color: #6e6577;
}
.roster-list strong {
  font-weight: 450;
  color: #72637f;
}
textarea {
  resize: vertical;
  width: 100%;
}
#students-form .btn {
  margin-top: 15px;
}
.modal {
  width: min(600px, calc(100vw - 32px));
  border: 1px solid #e9e1f2;
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 25px 90px #22133630;
  max-height: 90vh;
}
.modal::backdrop {
  background: #30213f50;
  backdrop-filter: blur(3px);
}
.modal.wide-modal {
  width: min(1040px, calc(100vw - 32px));
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  color: #765f8a;
  font-size: 16px;
}
.modal-body {
  padding: 23px;
}
.modal-body > p {
  font-size: 12px;
  color: #70647a;
  margin-bottom: 20px;
  line-height: 1.8;
}
.modal-body > p strong {
  color: #775f8c;
}
.modal-body .report-form-grid {
  gap: 16px;
}
.mark-dialog-student {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.mark-dialog-student strong {
  font-size: 13px;
  color: #766085;
}
.mark-dialog-student > span {
  font-size: 12px;
  color: #706478;
}
.code-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.code-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #eee7f5;
  background: white;
  border-radius: 8px;
  text-align: left;
  padding: 9px;
  min-height: 51px;
}
.code-option > span {
  font-size: 12px;
  color: #73627f;
}
.code-option > .icon {
  width: 14px;
  height: 14px;
  color: var(--purple);
  margin-left: auto;
}
.code-option.chosen {
  background: #f7f2fc;
  border-color: #bba8d2;
}
.code-option:hover {
  border-color: #bbabce;
}
.full-width {
  width: 100%;
}
.help-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.help-codes > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #746281;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 23px;
  border-radius: 9px;
  background: #6e5a86;
  color: white;
  box-shadow: 0 8px 35px #20182d20;
  font-size: 12px;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: 0.2s;
  max-width: calc(100vw - 25px);
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
#toast.error {
  background: #a36d81;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-art {
  position: relative;
  background: linear-gradient(145deg, #f1eaf9, #e7e1f3);
  padding: 44px 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-art:after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid #d4c4e63d;
  border-radius: 50%;
  right: -250px;
  bottom: 30px;
  box-shadow:
    0 0 0 70px #d6c7e527,
    0 0 0 140px #d6c7e51a;
  pointer-events: none;
}
.login-art .brand {
  margin: 0;
}
.login-message {
  padding: 40px 0;
  position: relative;
  z-index: 1;
  max-width: 410px;
  margin: 0 auto;
}
.login-message > .eyebrow {
  font-size: 12px;
  color: #716382;
}
.login-message h1 {
  color: #70548d;
  font-size: 43px;
  line-height: 1.22;
  margin: 20px 0;
  letter-spacing: -1.5px;
}
.login-message > p {
  font-size: 13px;
  line-height: 1.9;
  color: #72637e;
}
.art-calendar {
  background: #ffffffb8;
  border: 1px solid #fff;
  border-radius: 13px;
  padding: 20px;
  margin-top: 35px;
  width: 330px;
  max-width: 100%;
  transform: rotate(-3deg);
  box-shadow: 5px 15px 30px #62478407;
}
.art-calendar > div:first-child {
  position: relative;
}
.art-calendar > div:first-child > span {
  font-size: 12px;
  color: #71637b;
  display: block;
}
.art-calendar strong {
  font-size: 12px;
  color: #776085;
}
.art-calendar > div:first-child > .icon {
  position: absolute;
  right: 0;
  top: 5px;
  color: #6f6577;
}
.art-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 18px;
}
.art-dots i {
  font-style: normal;
  border-radius: 6px;
  color: #626b65;
  background: #eaf1eb;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.art-dots i .icon {
  width: 12px;
  height: 12px;
}
.art-dots i.absent {
  background: #f5e5ed;
  color: #77636e;
}
.art-dots i.empty {
  opacity: 0.3;
}
.art-calendar > footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6f6576;
  margin-top: 17px;
}
.art-calendar > footer .icon {
  width: 10px;
  height: 10px;
}
.art-calendar > footer .dot {
  color: #616b64;
  width: 4px;
  height: 4px;
  margin-right: 4px;
}
.login-art-foot {
  color: #706479;
  font-size: 12px;
  max-width: 320px;
}
.login-form-wrap {
  display: flex;
  flex-direction: column;
  padding: 40px 65px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.login-form {
  width: 330px;
  max-width: 100%;
}
.login-form > .badge {
  font-size: 12px;
  margin-bottom: 17px;
}
.login-form h2 {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: #6e5b83;
}
.login-form > p {
  font-size: 12px;
  color: #6e6577;
  margin: 10px 0 28px;
}
.login-form form > label {
  font-size: 12px;
  color: #71647a;
  margin-bottom: 19px;
}
.login-form input {
  border-color: #e8e0f0;
  color: #756183;
  font-size: 12px;
  min-height: 43px;
}
.login-form input::placeholder {
  color: #6d6674;
  font-size: 12px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding-right: 40px;
}
.password-wrap button {
  position: absolute;
  right: 7px;
  top: 4px;
  border: 0;
  background: none;
  color: #6f6479;
  padding: 7px;
}
.password-wrap .icon {
  width: 15px;
  height: 15px;
}
.login-form label.check-label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #706479;
  font-size: 12px;
  margin: 7px 0 23px;
}
.check-label input {
  min-height: 0;
  width: 13px;
  height: 13px;
  accent-color: var(--purple);
}
.login-submit {
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 12px;
  background: #8c70ae;
}
.login-submit:hover {
  background: #775c99;
}
.login-note {
  font-size: 12px;
  color: #6f6576;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 24px;
}
.login-note .icon {
  width: 12px;
  height: 12px;
}
.login-form-wrap > footer {
  position: absolute;
  bottom: 30px;
  left: 50px;
  right: 50px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6c6672;
}
#login-error {
  color: #8b5a6c;
  font-size: 12px;
  margin-bottom: 12px;
}
@media (min-width: 1550px) {
  #main {
    padding: 34px 48px;
  }
  .topbar {
    padding: 0 48px;
  }
  .page-footer {
    margin: 0 48px;
  }
  .overview-layout {
    grid-template-columns: minmax(0, 1fr) 295px;
  }
  .stat-card {
    padding: 22px;
  }
  .overview-table td {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .calendar-day {
    height: 30px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 205px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .nav-link.active > i {
    left: -13px;
  }
  .main-shell {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  #main {
    padding: 27px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .page-footer {
    margin: 0 24px;
  }
  .overview-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
  }
  .stat-card {
    gap: 9px;
    padding: 16px 12px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
  }
  .stat-card > div > span {
    font-size: 12px;
  }
  .stat-card small {
    font-size: 12px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .stat-pill {
    top: 46px;
    font-size: 12px;
    right: 10px;
  }
  .overview-table th,
  .overview-table td {
    padding-left: 12px;
    padding-right: 12px;
  }
  .curator {
    max-width: 100px;
  }
  .table-percent .progress {
    width: 38px;
  }
  .table-percent {
    min-width: 80px;
  }
  .year-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .calendar-description > span:last-child {
    display: none;
  }
  .banner-progress {
    margin-right: 100px;
    width: 160px;
  }
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-art {
    padding: 35px;
  }
  .login-form-wrap {
    padding: 40px;
  }
  .login-message h1 {
    font-size: 38px;
  }
}
@media (max-width: 1050px) {
  .overview-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .right-rail {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .right-rail > .legend-card {
    display: none;
  }
  .social-callout {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .social-callout p {
    font-size: 12px;
  }
  .mini-calendar .calendar-day {
    height: 27px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    min-height: 100px;
  }
  .stat-card > div > span {
    font-size: 12px;
  }
  .stat-card small {
    font-size: 12px;
  }
  .stat-pill {
    font-size: 12px;
    top: 44px;
  }
  .stat-icon {
    width: 35px;
    height: 35px;
  }
  .page-heading {
    align-items: start;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: end;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .banner-progress {
    margin-right: 87px;
    width: 140px;
  }
  .day-banner {
    padding: 22px;
  }
  .banner-art {
    right: 12px;
  }
  .banner-art > .icon {
    width: 65px;
    height: 65px;
  }
  .banner-art > i {
    right: -5px;
    top: 30px;
  }
  .reports-layout {
    grid-template-columns: 1fr;
  }
  .report-preview {
    display: none;
  }
  .journal-toolbar {
    flex-wrap: wrap;
  }
  .journal-actions {
    margin-left: auto;
  }
  .year-grid {
    gap: 13px;
  }
  .topbar-right {
    gap: 8px;
  }
  .save-state {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 226px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .mobile-menu {
    display: flex;
    margin-left: -5px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    display: none;
  }
  .menu-open .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #2c203e40;
    z-index: 19;
    backdrop-filter: blur(2px);
  }
  .topbar {
    height: 57px;
    padding: 0 18px;
    justify-content: start;
    gap: 12px;
  }
  .topbar-right {
    margin-left: auto;
    gap: 5px;
  }
  .breadcrumbs {
    gap: 7px;
    font-size: 12px;
  }
  .breadcrumbs strong {
    font-size: 12px;
  }
  .save-state {
    font-size: 0;
  }
  .save-state > .icon {
    width: 15px;
    height: 15px;
  }
  .save-state > span {
    display: none;
  }
  .top-divider {
    display: none;
  }
  .topbar-right > .icon-button {
    display: none;
  }
  #main {
    padding: 23px 18px;
  }
  .page-heading {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .heading-actions {
    justify-content: start;
    width: 100%;
    flex-wrap: wrap;
  }
  .heading-actions .btn {
    margin-left: auto;
    font-size: 12px;
  }
  .heading-actions:has(> select) {
    justify-content: space-between;
  }
  .heading-actions > select {
    flex: 1;
  }
  .date-control input {
    font-size: 12px;
  }
  .day-banner {
    padding: 21px 19px;
    min-height: 142px;
    margin-bottom: 16px;
  }
  .day-banner h2 {
    font-size: 21px;
  }
  .day-banner > div > span:last-child {
    font-size: 12px;
  }
  .banner-progress {
    display: none;
  }
  .banner-art {
    top: 36px;
    right: 18px;
  }
  .banner-art > .icon {
    width: 59px;
    height: 59px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 19px;
  }
  .stat-card {
    padding: 15px 12px;
    gap: 10px;
    min-height: 105px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .stat-icon > .icon {
    width: 15px;
    height: 15px;
  }
  .stat-card > div > span {
    font-size: 12px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .stat-card small {
    font-size: 12px;
  }
  .stat-pill {
    right: 10px;
    top: 43px;
    font-size: 12px;
  }
  .panel-head {
    padding: 18px 15px;
  }
  .panel-head h2 {
    font-size: 12px;
  }
  .panel-head p {
    font-size: 12px;
  }
  .panel-head > .text-button {
    font-size: 12px;
  }
  .table-toolbar {
    padding: 0 15px 15px;
  }
  .table-toolbar > .muted {
    display: none;
  }
  .table-toolbar .search-field {
    width: 100%;
  }
  .table-toolbar input {
    width: 100%;
  }
  .overview-table th,
  .overview-table td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .overview-table {
    min-width: 600px;
  }
  .curator {
    max-width: 145px;
  }
  .right-rail {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .mini-calendar .panel-head {
    padding: 13px 10px 8px;
    gap: 4px;
  }
  .mini-calendar h2 {
    font-size: 12px;
  }
  .mini-calendar .calendar-grid {
    padding: 6px 8px 10px;
    gap: 2px;
  }
  .calendar-day {
    height: 25px;
    font-size: 12px;
  }
  .weekday {
    font-size: 12px;
  }
  .calendar-legend {
    display: none;
  }
  .calendar-all {
    font-size: 12px;
    padding: 10px 4px;
    gap: 7px;
  }
  .mini-calendar .panel-head .icon-button {
    width: 16px;
  }
  .social-callout {
    padding: 13px;
  }
  .social-callout-top .stat-icon {
    width: 24px;
    height: 24px;
  }
  .social-callout-top .badge {
    font-size: 12px;
    padding: 3px 5px;
  }
  .social-callout h3 {
    font-size: 12px;
  }
  .social-callout p {
    font-size: 12px;
    line-height: 1.9;
  }
  .social-callout a {
    font-size: 12px;
  }
  .page-footer {
    margin: 0 18px;
    font-size: 12px;
    padding: 17px 0;
  }
  .page-footer > span:last-child {
    display: none;
  }
  .panel-foot {
    font-size: 12px;
    align-items: start;
    padding: 13px 15px;
    line-height: 1.7;
  }
  .full-date-table th {
    font-size: 12px;
  }
  .full-date-table td {
    font-size: 12px;
  }
  .journal-info {
    padding: 14px;
    gap: 10px;
  }
  .journal-group-icon {
    width: 35px;
    height: 35px;
  }
  .journal-info h2 {
    font-size: 17px;
  }
  .journal-info p {
    font-size: 12px;
    max-width: 190px;
  }
  .journal-info > .btn {
    font-size: 0;
    padding: 8px;
    min-height: 34px;
  }
  .journal-info > .btn .icon {
    width: 16px;
    height: 16px;
  }
  .journal-toolbar {
    padding: 13px;
  }
  .journal-toolbar > .search-field {
    width: 100%;
  }
  .journal-toolbar input {
    width: 100%;
  }
  .journal-actions {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }
  .journal-actions .btn {
    font-size: 12px;
    padding: 8px;
  }
  .journal-actions .btn > .icon {
    width: 12px;
  }
  .small-control {
    padding: 0;
  }
  .small-control input {
    font-size: 12px;
    width: 118px !important;
  }
  .journal-actions > .icon-button {
    width: 25px;
  }
  .journal-legend {
    padding: 0 13px 14px;
    gap: 9px;
  }
  .journal-legend > span {
    font-size: 12px;
    gap: 3px;
  }
  .journal-legend .mark {
    width: 17px;
    height: 20px;
    font-size: 12px;
  }
  .journal-table .sticky-name {
    min-width: 180px;
    max-width: 180px;
    padding: 11px 10px;
    white-space: normal;
  }
  .journal-table td.sticky-name {
    font-size: 12px;
  }
  .row-number {
    display: none;
  }
  .journal-table .mark-td {
    padding: 5px 3px;
    min-width: 35px;
  }
  .journal-table .mark {
    width: 27px;
    height: 30px;
  }
  .journal-scroll {
    max-height: 65vh;
  }
  .year-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .month-panel > a {
    padding: 15px 13px 0;
  }
  .month-panel h2 {
    font-size: 12px;
  }
  .month-panel .calendar-grid {
    padding: 12px 8px;
    gap: 2px;
  }
  .month-panel .calendar-day {
    height: 26px;
  }
  .calendar-description {
    gap: 16px;
    font-size: 12px;
    margin-bottom: 17px;
  }
  .year-switch {
    gap: 17px;
  }
  .social-intro {
    padding: 17px;
    gap: 12px;
    align-items: start;
  }
  .social-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
  }
  .social-icon .icon {
    width: 17px;
    height: 17px;
  }
  .social-intro h2 {
    font-size: 13px;
  }
  .social-intro p {
    font-size: 12px;
    line-height: 1.9;
  }
  .social-intro > strong {
    font-size: 23px;
  }
  .social-intro > strong small {
    font-size: 12px;
  }
  .social-table {
    min-width: 700px;
  }
  .panel-head:has(.search-field) {
    flex-wrap: wrap;
  }
  .panel-head > .search-field {
    width: 100%;
  }
  .report-builder .panel-head {
    padding: 20px;
  }
  .report-builder form {
    padding: 0 20px 20px;
  }
  .report-form-grid {
    gap: 15px;
  }
  .report-form-grid label {
    font-size: 12px;
  }
  .report-form-grid input,
  .report-form-grid select {
    font-size: 12px;
    min-width: 0;
  }
  .format-select {
    flex-direction: column;
  }
  .format-select strong {
    font-size: 12px;
  }
  .format-select small {
    font-size: 12px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .admin-toolbar {
    align-items: stretch;
    gap: 10px;
    flex-direction: column;
  }
  .admin-toolbar .search-field input {
    width: 100%;
  }
  .admin-toolbar > .btn {
    align-self: start;
    font-size: 12px;
  }
  .admin-group {
    padding: 18px;
  }
  .admin-group h3 {
    min-height: 0;
    font-size: 13px;
    margin-top: 16px;
  }
  .admin-group > p {
    font-size: 12px;
  }
  .admin-group-actions {
    justify-content: space-between;
  }
  .modal-head {
    padding: 17px;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-head h2 {
    font-size: 15px;
  }
  .modal-body .report-form-grid {
    gap: 12px;
  }
  .modal-body .report-form-grid input,
  .modal-body .report-form-grid select {
    padding: 9px;
    font-size: 12px;
  }
  .code-option {
    min-height: 54px;
  }
  .code-option > span {
    font-size: 12px;
  }
  .login-page {
    display: flex;
    min-height: 100svh;
  }
  .login-art {
    display: none;
  }
  .login-form-wrap {
    width: 100%;
    padding: 65px 30px;
  }
  .login-form {
    width: 360px;
  }
  .login-form h2 {
    font-size: 31px;
  }
  .login-form > p {
    font-size: 12px;
  }
  .login-form form > label {
    font-size: 12px;
  }
  .login-form input {
    min-height: 47px;
  }
  .login-form label.check-label {
    font-size: 12px;
  }
  .login-submit {
    font-size: 13px;
    min-height: 47px;
  }
  .login-note {
    font-size: 12px;
  }
  .login-form-wrap > footer {
    left: 30px;
    right: 30px;
    bottom: 25px;
    font-size: 12px;
  }
  .login-form-wrap:before {
    content: 'КАИТ 20';
    color: #7c5c93;
    font-size: 23px;
    font-weight: 800;
    position: absolute;
    top: 25px;
    left: 30px;
    letter-spacing: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.account-button {
  cursor: pointer;
  padding: 0;
}
.account-button:hover {
  background: #e3dbee;
}
#password-form > label {
  margin-bottom: 18px;
  font-size: 12px;
  color: #71637d;
}
#password-form > .btn {
  margin-top: 4px;
}
.calendar-day.teaching-day {
  background: #eaf2ee;
  color: #4b7060;
}
.calendar-day.teaching-day.selected {
  background: var(--purple);
  color: white;
}
.calendar-mode-note {
  color: #4b7060 !important;
  font-weight: 500;
}
.schedule-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid #e9e2f1;
  border-radius: 9px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: #f3effa;
  color: #746186;
  font-size: 12px;
}
.schedule-strip > span,
.schedule-strip > a {
  display: flex;
  gap: 8px;
  align-items: center;
}
.schedule-strip .icon {
  width: 15px;
  height: 15px;
}
.admin-toolbar .search-field {
  margin-right: auto;
}
.social-cards {
  display: none;
}
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e3dced transparent;
}
@media (max-height: 850px) and (min-width: 761px) {
  .sidebar-bottom {
    padding-top: 15px;
  }
  .sidebar-note {
    display: none;
  }
}
.full-date-table .date-parents th {
  height: 45px;
  text-align: center;
}
.full-date-table .date-parents th[rowspan] {
  height: 110px;
  text-align: left;
}
.full-date-table .date-subheader th {
  top: 45px;
  height: 65px;
}
.roster-list > div {
  align-items: center;
}
.roster-list > div > strong {
  flex: 1;
}
#student-edit-form > label {
  margin-bottom: 17px;
  color: #756182;
  font-size: 12px;
}
#student-edit-form > .btn {
  margin-top: 6px;
}
/* Keep working data legible at ordinary zoom. */
.nav-link {
  font-size: 12px;
}
.nav-caption {
  font-size: 12px;
}
.workspace-tag {
  font-size: 12px;
}
.workspace-tag small {
  font-size: 12px;
}
.sidebar-note strong {
  font-size: 12px;
}
.sidebar-note p,
.sidebar-note a,
.help-button {
  font-size: 12px;
}
.profile strong {
  font-size: 12px;
}
.profile small {
  font-size: 12px;
}
.breadcrumbs,
.breadcrumbs strong {
  font-size: 12px;
}
.save-state {
  font-size: 12px;
}
.page-heading p {
  font-size: 12px;
  color: #6d657a;
}
.eyebrow {
  font-size: 12px;
}
.stat-card > div > span {
  font-size: 12px;
  color: #6e6579;
}
.stat-card small {
  font-size: 12px;
  color: #6d6576;
}
.panel-head h2 {
  font-size: 14px;
}
.panel-head p {
  font-size: 12px;
  color: #6e6577;
}
.overview-table th {
  font-size: 12px;
  color: #6f647a;
}
.overview-table td,
.overview-table .numeric {
  font-size: 12px;
}
.overview-table .numeric {
  color: #70637d;
}
.overview-table .green-text {
  color: #47715d;
}
.overview-table .red-text {
  color: #915865;
}
.curator {
  font-size: 12px;
  color: #71637d;
}
.group-badge {
  font-size: 12px;
}
.group-link > span:last-child {
  font-size: 12px;
  color: #6f6479;
}
.table-percent strong {
  font-size: 12px;
  color: #72637f;
}
.search-field input {
  font-size: 12px;
}
.calendar-day {
  font-size: 12px;
  color: #71637e;
}
.weekday {
  font-size: 12px;
  color: #70647b;
}
.mini-calendar h2 {
  font-size: 12px;
}
.social-callout h3 {
  font-size: 13px;
}
.social-callout p,
.social-callout a {
  font-size: 12px;
}
.legend-card p {
  font-size: 12px;
}
.journal-legend > span {
  font-size: 12px;
}
.journal-table td.sticky-name {
  font-size: 12px;
}
.social-table td {
  font-size: 12px;
}
.panel-foot {
  color: #73627e;
}
.report-form-grid label {
  color: #736282;
}
.date-control input {
  color: #736283;
}
.calendar-day.weekend {
  color: #6e6575;
}
.calendar-day.selected {
  color: white;
}
.sidebar-note p {
  color: #70647c;
}
.panel-head .text-button {
  font-size: 12px;
}
@media (max-width: 1250px) {
  .stat-card > div > span {
    font-size: 12px;
  }
  .stat-card small {
    font-size: 12px;
  }
  .curator {
    max-width: 115px;
  }
  .table-percent strong {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .nav-link {
    font-size: 13px;
  }
  .breadcrumbs,
  .breadcrumbs strong {
    font-size: 12px;
  }
  .save-state {
    font-size: 0;
  }
  .stat-card > div > span {
    font-size: 12px;
  }
  .stat-card small {
    font-size: 12px;
  }
  .panel-head h2 {
    font-size: 13px;
  }
  .panel-head p {
    font-size: 12px;
  }
  .overview-table th {
    font-size: 12px;
  }
  .overview-table td,
  .overview-table .numeric {
    font-size: 12px;
  }
  .curator {
    font-size: 12px;
    max-width: 145px;
  }
  .calendar-day {
    font-size: 12px;
  }
  .weekday {
    font-size: 12px;
  }
  .mini-calendar h2 {
    font-size: 12px;
  }
  .social-callout h3 {
    font-size: 12px;
  }
  .social-callout p,
  .social-callout a {
    font-size: 12px;
  }
  .journal-table td.sticky-name {
    font-size: 12px;
  }
  .journal-legend > span {
    font-size: 12px;
  }
  .schedule-strip {
    font-size: 12px;
    align-items: start;
    flex-direction: column;
  }
  .admin-toolbar .search-field {
    margin: 0;
  }
  .admin-toolbar .btn {
    font-size: 12px;
    align-self: stretch;
  }
  .social-table td {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .social-cards {
    display: block;
    padding: 0 15px;
  }
  .social-cards + .table-scroll {
    display: none;
  }
  .social-student {
    padding: 19px 0;
    border-top: 1px solid var(--line);
  }
  .social-student > div:first-child {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
  }
  .social-student > div:first-child > strong {
    font-size: 12px;
    line-height: 1.7;
    color: #775f87;
    max-width: 210px;
  }
  .social-student > div > .badge {
    font-size: 12px;
  }
  .social-student > p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
  }
  .social-student > p > span:last-child {
    font-size: 12px;
    color: #72637a;
  }
  .social-student-numbers {
    display: flex;
    gap: 22px;
    margin: 14px 0;
  }
  .social-student-numbers > span {
    font-size: 12px;
    color: #72637b;
    min-width: 65px;
  }
  .social-student-numbers strong {
    font-size: 17px;
    color: #73627d;
    display: block;
    font-weight: 500;
  }
  .social-student > .text-button {
    font-size: 12px;
  }
  .overview-table {
    min-width: 0;
  }
  .overview-table tr > *:nth-child(2),
  .overview-table tr > *:nth-child(3) {
    display: none;
  }
  .overview-table th,
  .overview-table td {
    padding-left: 9px;
    padding-right: 9px;
  }
  .overview-table th {
    font-size: 12px;
  }
  .overview-table .table-percent {
    min-width: 58px;
    gap: 4px;
  }
  .overview-table .progress {
    width: 28px;
  }
  .overview-table .table-percent strong {
    font-size: 12px;
  }
  .overview-table td:last-child,
  .overview-table th:last-child {
    display: none;
  }
  .overview-table .group-badge {
    font-size: 12px;
  }
  .overview-table .group-link > span:last-child {
    font-size: 12px;
  }
  .overview-table .numeric {
    font-size: 12px;
  }
  .overview-table th.numeric {
    font-size: 12px;
  }
}

/* Readability: 12 px minimum for visible text; larger working data and controls. */
body {
  font-size: 16px;
  line-height: 1.55;
}
input,
select,
textarea {
  font-size: 16px;
  min-height: 44px;
  border-color: #beb3d0;
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #6b607a;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px #5b438f26;
}
button:focus-visible,
a:focus-visible {
  outline-color: #5b438f;
}
h1,
.page-heading h1 {
  font-size: 32px;
  line-height: 1.3;
  color: var(--ink);
}
h2,
.panel-head h2 {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}
h3 {
  font-size: 17px;
  color: var(--ink);
}
.btn {
  font-size: 14px;
  min-height: 44px;
  font-weight: 600;
}
.text-button {
  font-size: 14px;
  white-space: normal;
}
.secondary {
  color: #453755;
  border-color: #beb3d0;
}
.primary,
.login-submit {
  background: var(--purple);
  color: #fff;
}
.primary:hover,
.login-submit:hover {
  background: #45316f;
}
.badge,
.muted,
.eyebrow,
.count,
.page-footer {
  font-size: 12px;
}
.eyebrow {
  color: #655771;
  letter-spacing: 1px;
}
.lavender {
  color: #50327f;
}
.neutral {
  color: #51465f;
}
.amber {
  color: #785100;
}
.sidebar {
  width: 250px;
  border-right-color: var(--line);
}
.main-shell {
  margin-left: 250px;
  width: calc(100% - 250px);
}
.brand {
  margin-left: 8px;
  margin-right: 8px;
  gap: 10px;
}
.brand-word small {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: 154px;
  white-space: normal;
}
.workspace-tag {
  font-size: 14px;
  gap: 8px;
  flex-wrap: wrap;
}
.workspace-tag small,
.nav-caption {
  font-size: 12px;
}
.nav-caption {
  padding-left: 10px;
  letter-spacing: 0.7px;
}
.nav-link {
  font-size: 14px;
  min-height: 45px;
  color: #51475f;
}
.nav-link.active {
  color: #4b307d;
  background: #e9e0f7;
}
.nav-count {
  font-size: 12px;
  color: #8f2d49;
  background: #fae8ee;
}
.sidebar-note strong,
.profile strong {
  font-size: 14px;
  color: #362b47;
}
.sidebar-note p,
.sidebar-note a,
.help-button,
.profile small {
  font-size: 12px;
}
.help-button {
  color: #5b526a;
}
.profile {
  align-items: flex-start;
}
.profile strong {
  overflow-wrap: anywhere;
}
.avatar,
.avatar.small {
  font-size: 12px;
  color: #50327f;
  flex-shrink: 0;
}
.breadcrumbs,
.breadcrumbs strong,
.save-state {
  font-size: 12px;
  color: #5b526a;
}
.icon-button {
  color: #645576;
  min-width: 36px;
  min-height: 36px;
}
.save-state > .icon {
  color: #176348;
  width: 15px;
  height: 15px;
}
.topbar {
  height: 76px;
  min-height: 76px;
}
.page-heading p {
  font-size: 16px;
  color: #5b526a;
  line-height: 1.6;
}
.heading-actions > select,
.date-control input,
.small-control input {
  font-size: 16px;
}
.date-control {
  border-color: #beb3d0;
  min-height: 44px;
  color: #5b438f;
}
.date-control input {
  width: 164px;
  min-height: 42px;
}
.date-control input[type='month'] {
  width: 180px;
}
.date-control input::-webkit-calendar-picker-indicator {
  opacity: 0.8;
}
.day-label {
  font-size: 12px;
  color: #5b438f;
}
.day-banner h2 {
  font-size: 28px;
  color: #3e2c61;
}
.day-banner > div > span:last-child {
  font-size: 14px;
  color: #5b526a;
}
.banner-progress > div:first-child,
.banner-progress small {
  font-size: 12px;
  color: #5b526a;
}
.banner-progress > span {
  font-size: 12px !important;
  color: #5b526a !important;
}
.banner-progress strong {
  font-size: 20px;
  color: #50327f;
}
.stat-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px 12px;
  min-height: 140px;
  border-color: #d5cedf;
}
.stat-card > div > span {
  font-size: 14px;
  color: #5b526a;
  white-space: normal;
  line-height: 1.45;
}
.stat-card small {
  font-size: 12px;
  color: #5b526a;
  white-space: normal;
  line-height: 1.5;
  display: block;
}
.stat-card strong {
  font-size: 30px;
  color: #30223f;
}
.stat-card .stat-pill {
  position: static;
  font-size: 12px;
  grid-column: 2;
  justify-self: start;
  align-self: start;
  margin-top: -2px;
}
.panel,
.journal-info,
.admin-group {
  border-color: #d5cedf;
}
.panel-head {
  flex-wrap: wrap;
  align-items: flex-start;
}
.panel-head > div {
  min-width: 0;
}
.panel-head p,
.panel-head .text-button {
  font-size: 12px;
  color: #5b526a;
  line-height: 1.6;
}
.search-field {
  border-color: #beb3d0;
}
.search-field input {
  font-size: 16px;
  min-height: 42px;
}
.search-field input::placeholder {
  color: #6b607a;
}
.table-toolbar > .muted {
  font-size: 12px;
  color: #5b526a;
}
th {
  font-size: 12px;
  font-weight: 600;
  color: #4a3d5e;
  background: #f1edf7;
}
td {
  font-size: 14px;
  color: var(--ink);
}
.overview-table th {
  font-size: 12px;
  background: #f1edf7;
  color: #4a3d5e;
}
.overview-table td,
.overview-table .numeric {
  font-size: 14px;
  color: #30273f;
}
.overview-table .green-text {
  color: #176348;
}
.overview-table .red-text {
  color: #9a304d;
}
.curator {
  font-size: 14px;
  color: #5b526a;
  max-width: 170px;
}
.group-badge {
  font-size: 14px;
  color: #50327f;
  border-color: #d5c7e8;
  background: #f0eaf8;
}
.group-link > span:last-child {
  font-size: 12px;
  color: #5b526a;
}
.table-percent strong {
  font-size: 12px;
  color: #51465f;
}
.progress i {
  background: #438d6e;
}
.progress.danger i {
  background: #b44d68;
}
.mini-calendar h2,
.month-panel h2 {
  font-size: 16px;
  color: #362b47;
}
.calendar-day {
  font-size: 14px;
  height: 32px;
  color: #51465f;
  font-weight: 500;
}
.calendar-day.weekend {
  color: #776c83;
}
.calendar-day.has-data {
  color: #50327f;
}
.calendar-day.teaching-day {
  background: #e6f3ec;
  color: #176348;
}
.calendar-day.selected,
.calendar-day.teaching-day.selected {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.calendar-day.today {
  border-color: #5b438f;
}
.weekday {
  font-size: 12px;
  color: #5b526a;
  font-weight: 600;
}
.calendar-legend,
.calendar-all {
  font-size: 12px;
  color: #5b526a;
  flex-wrap: wrap;
}
.calendar-description {
  font-size: 14px;
  flex-wrap: wrap;
  color: #5b526a;
}
.month-panel .calendar-day,
.mini-calendar .calendar-day {
  height: 32px;
}
.month-panel > a {
  gap: 12px;
  flex-wrap: wrap;
}
.year-switch strong {
  font-size: 22px;
}
.social-callout h3 {
  font-size: 18px;
  color: #772a50;
}
.social-callout p,
.social-callout a {
  font-size: 14px;
  color: #6b3b55;
}
.social-callout-top .badge {
  font-size: 12px;
  color: #8f2d49;
}
.legend-card > div,
.legend-card p {
  font-size: 12px;
  color: #5b526a;
}
.legend-card strong {
  color: #51465f;
}
.full-date-table td {
  font-size: 14px;
}
.full-date-table th {
  font-size: 12px;
  line-height: 1.5;
}
.full-date-table .date-parents th {
  height: 64px;
}
.full-date-table .date-parents th[rowspan] {
  height: 144px;
}
.full-date-table .date-subheader th {
  top: 64px;
  height: 80px;
}
.panel-foot {
  font-size: 12px;
  color: #5b526a;
  flex-wrap: wrap;
  line-height: 1.7;
}
.journal-info h2 {
  font-size: 22px;
  color: #30223f;
}
.journal-info p {
  font-size: 14px;
  color: #5b526a;
  max-width: none;
}
.journal-actions .btn {
  font-size: 14px;
  min-height: 44px;
}
.journal-legend {
  gap: 12px 16px;
}
.journal-legend > span {
  font-size: 12px;
  color: #5b526a;
  line-height: 1.5;
}
.mark {
  font-size: 14px;
  font-weight: 600;
  width: 30px;
  height: 32px;
}
.mark.present {
  color: #176348;
  background: #e6f3ec;
}
.mark.absent {
  color: #9a304d;
  background: #fae8ee;
}
.mark.excused {
  color: #5b438f;
  background: #eee8f8;
}
.mark.late {
  color: #785100;
  background: #fff2d8;
}
.mark.blank {
  color: #756782;
  font-size: 18px;
}
.journal-legend .mark {
  font-size: 12px;
  width: 24px;
  height: 26px;
}
.journal-legend .mark.blank {
  font-size: 18px;
}
.journal-table td.sticky-name {
  font-size: 14px;
  line-height: 1.5;
}
.journal-table .sticky-name {
  min-width: 240px;
  max-width: 240px;
  white-space: normal;
}
.journal-table .day-head,
.journal-table .day-head small {
  font-size: 12px;
}
.journal-table .day-head button {
  font-size: 14px;
  line-height: 1.5;
}
.journal-table .mark-td {
  min-width: 42px;
  padding: 6px 5px;
}
.journal-table .mark {
  width: 30px;
  height: 34px;
}
.row-number {
  font-size: 12px;
  color: #6b607a;
}
.absence-count {
  font-size: 12px;
  color: #5b526a;
}
.social-intro h2 {
  font-size: 20px;
  color: #772a50;
}
.social-intro p {
  font-size: 14px;
  color: #6b3b55;
}
.social-intro > strong small {
  font-size: 12px;
  color: #6b3b55;
}
.social-table th {
  font-size: 12px;
}
.social-table td {
  font-size: 14px;
}
.report-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.report-form-grid label {
  font-size: 14px;
  color: #4a3d5e;
  min-width: 0;
}
.report-form-grid input,
.report-form-grid select {
  font-size: 16px;
  width: 100%;
  min-width: 0;
}
.format-select strong {
  font-size: 16px;
  color: #3e2c61;
}
.format-select small {
  font-size: 12px;
  color: #5b526a;
}
.admin-group h3 {
  font-size: 19px;
  color: #362b47;
}
.admin-group > p {
  font-size: 14px;
  color: #5b526a;
}
.admin-group-actions {
  flex-wrap: wrap;
  gap: 14px;
}
.modal-head h2 {
  font-size: 20px;
  color: #362b47;
}
.modal-body > p {
  font-size: 14px;
  color: #5b526a;
}
.mark-dialog-student strong {
  font-size: 16px;
  color: #362b47;
}
.mark-dialog-student > span {
  font-size: 14px;
  color: #5b526a;
}
.code-option > span,
.help-codes > span {
  font-size: 12px;
  color: #51465f;
}
.code-option {
  min-height: 60px;
  border-color: #cfc6db;
}
.code-option.chosen {
  border-color: #5b438f;
  background: #eee8f8;
}
.schedule-strip {
  font-size: 14px;
  color: #50327f;
  border-color: #d5c7e8;
}
#password-form > label,
#student-edit-form > label {
  font-size: 14px;
  color: #4a3d5e;
}
.login-form {
  width: 380px;
}
.login-form > .badge {
  font-size: 12px;
}
.login-form h2 {
  font-size: 34px;
  color: #362b47;
}
.login-form > p,
.login-form form > label {
  font-size: 16px;
  color: #5b526a;
}
.login-form input,
.login-form input::placeholder {
  font-size: 16px;
  color: #5b526a;
}
.login-form label.check-label {
  font-size: 14px;
  color: #5b526a;
}
.login-note,
.login-form-wrap > footer,
.login-art-foot,
.art-calendar > footer {
  font-size: 12px;
  color: #5b526a;
}
.login-form-wrap > footer {
  flex-wrap: wrap;
  gap: 12px;
}
.login-message > .eyebrow {
  font-size: 12px;
  color: #5b438f;
}
.login-message > p {
  font-size: 16px;
  color: #5b526a;
}
.art-calendar > div:first-child > span,
.art-calendar strong {
  font-size: 14px;
  color: #5b526a;
}
.art-dots i {
  font-size: 12px;
}
.art-dots i.absent {
  color: #9a304d;
}
#toast {
  font-size: 14px;
  background: #45316f;
}
@media (min-width: 1550px) {
  .calendar-day {
    height: 36px;
  }
}
@media (max-width: 1250px) and (min-width: 761px) {
  .sidebar {
    width: 230px;
  }
  .main-shell {
    margin-left: 230px;
    width: calc(100% - 230px);
  }
  .overview-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .stat-card > div > span {
    font-size: 14px;
  }
  .stat-card small,
  .stat-pill,
  .table-percent strong {
    font-size: 12px;
  }
  .curator {
    max-width: 150px;
  }
}
@media (max-width: 1050px) {
  .overview-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .right-rail {
    grid-template-columns: 1fr 1fr;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .heading-actions {
    justify-content: flex-start;
  }
  .stat-card {
    min-height: 144px;
  }
  .save-state {
    font-size: 12px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 260px;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .brand {
    margin-left: 8px;
    margin-right: 8px;
  }
  .topbar {
    height: 64px;
    min-height: 64px;
  }
  .breadcrumbs,
  .breadcrumbs strong {
    font-size: 12px;
  }
  .save-state {
    font-size: 0;
  }
  .save-state > span {
    display: none;
  }
  #main {
    padding: 24px 16px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 16px;
  }
  .heading-actions .btn {
    font-size: 14px;
  }
  .heading-actions {
    gap: 10px;
  }
  .date-control input {
    font-size: 16px;
    width: 154px;
  }
  .date-control input[type='month'] {
    width: 176px;
  }
  .day-banner {
    min-height: 155px;
  }
  .day-banner h2 {
    font-size: 24px;
  }
  .day-banner > div > span:last-child {
    font-size: 14px;
    max-width: 240px;
    display: block;
  }
  .banner-art {
    right: 12px;
    opacity: 0.65;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    min-height: 180px;
  }
  .stat-card strong {
    font-size: 30px;
  }
  .stat-card > div > span {
    font-size: 14px;
  }
  .stat-card small {
    font-size: 12px;
  }
  .stat-card .stat-pill {
    font-size: 12px;
    align-self: flex-start;
    margin-top: auto;
  }
  .panel-head h2 {
    font-size: 18px;
  }
  .panel-head p,
  .panel-head .text-button {
    font-size: 12px;
  }
  .overview-table th,
  .overview-table th.numeric {
    font-size: 12px;
    white-space: normal;
  }
  .overview-table td,
  .overview-table .numeric {
    font-size: 14px;
  }
  .overview-table .group-badge {
    font-size: 14px;
  }
  .overview-table .group-link > span:last-child {
    font-size: 12px;
  }
  .overview-table .table-percent strong {
    font-size: 12px;
  }
  .overview-table .table-percent {
    min-width: 64px;
    gap: 4px;
  }
  .overview-table .progress {
    display: none;
  }
  .journal-info {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .journal-info p {
    font-size: 14px;
    max-width: 240px;
  }
  .journal-info > .btn {
    font-size: 14px;
    min-height: 44px;
    margin-left: 0;
  }
  .journal-info h2 {
    font-size: 22px;
  }
  .journal-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .journal-actions .btn {
    font-size: 14px;
  }
  .journal-actions > .icon-button {
    min-width: 40px;
    min-height: 40px;
  }
  .journal-legend > span {
    font-size: 12px;
    gap: 6px;
  }
  .journal-legend .mark {
    font-size: 12px;
    width: 24px;
    height: 26px;
  }
  .journal-table .sticky-name {
    min-width: 170px;
    max-width: 170px;
    padding: 12px 10px;
  }
  .journal-table td.sticky-name {
    font-size: 14px;
  }
  .journal-table .mark-td {
    min-width: 44px;
    padding: 6px 5px;
  }
  .journal-table .mark {
    width: 32px;
    height: 36px;
  }
  .panel-foot {
    font-size: 12px;
  }
  .social-callout h3 {
    font-size: 18px;
  }
  .social-callout p,
  .social-callout a {
    font-size: 14px;
  }
  .social-callout-top .badge {
    font-size: 12px;
  }
  .mini-calendar h2,
  .month-panel h2 {
    font-size: 16px;
  }
  .weekday {
    font-size: 12px;
  }
  .calendar-day {
    font-size: 14px;
  }
  .mini-calendar .calendar-day,
  .month-panel .calendar-day {
    height: 36px;
  }
  .mini-calendar .panel-head .icon-button {
    min-width: 30px;
    min-height: 32px;
  }
  .calendar-all,
  .calendar-description {
    font-size: 12px;
  }
  .social-intro {
    flex-wrap: wrap;
  }
  .social-intro h2 {
    font-size: 18px;
  }
  .social-intro p {
    font-size: 14px;
  }
  .social-intro > strong small {
    font-size: 12px;
  }
  .social-student > div:first-child {
    align-items: flex-start;
    gap: 12px;
  }
  .social-student > div:first-child > strong {
    font-size: 16px;
    color: #362b47;
    max-width: none;
    flex: 1;
    line-height: 1.5;
  }
  .social-student > div > .badge {
    font-size: 12px;
  }
  .social-student > p {
    flex-wrap: wrap;
  }
  .social-student > p > span:last-child,
  .social-student-numbers > span {
    font-size: 12px;
    color: #5b526a;
  }
  .social-student-numbers {
    gap: 16px;
    flex-wrap: wrap;
  }
  .social-student-numbers strong {
    font-size: 22px;
    color: #50327f;
  }
  .social-student > .text-button {
    font-size: 14px;
  }
  .report-form-grid input,
  .report-form-grid select,
  .modal-body .report-form-grid input,
  .modal-body .report-form-grid select {
    font-size: 16px;
  }
  .report-form-grid label {
    font-size: 14px;
  }
  .admin-toolbar > .btn {
    font-size: 14px;
  }
  .admin-group h3 {
    font-size: 19px;
  }
  .admin-group > p {
    font-size: 14px;
  }
  .login-form-wrap {
    padding: 80px 24px 100px;
  }
  .login-form form > label,
  .login-form > p {
    font-size: 16px;
  }
  .login-form label.check-label {
    font-size: 14px;
  }
  .login-submit {
    font-size: 16px;
  }
  .login-note {
    font-size: 12px;
  }
  .login-form-wrap > footer {
    font-size: 12px;
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .page-footer {
    font-size: 12px;
    margin: 0 16px;
  }
}
@media (max-width: 620px) {
  .right-rail,
  .year-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mini-calendar .calendar-day,
  .month-panel .calendar-day {
    height: 40px;
  }
  .calendar-grid {
    gap: 5px;
  }
  .report-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .report-form-grid .span-two {
    grid-column: auto;
  }
  .panel-head {
    gap: 12px;
  }
  .code-options,
  .help-codes {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .heading-actions .date-control,
  .heading-actions > select {
    width: 100%;
  }
  .heading-actions .date-control input {
    flex: 1;
    width: auto;
  }
  .heading-actions .btn {
    width: 100%;
    margin-left: 0;
  }
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat-card {
    min-height: 0;
    display: grid;
  }
  .stat-card .stat-pill {
    grid-column: 2;
    margin-top: 0;
  }
}

#toast.error {
  background: #9a304d;
}
@media (max-width: 760px) {
  .day-banner .banner-art {
    display: none;
  }
}
