:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #283446;
  background: #faf8f6;
  font-synthesis: none;
  --pink: #b82058;
  --muted: #657083;
  --line: #e9e5e8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  background: var(--pink);
  color: white;
  font-weight: 600;
  min-height: 44px;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a {
  color: var(--pink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #27857d;
  outline-offset: 3px;
}
.brand {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--pink);
  white-space: nowrap;
}
.brand span {
  font-weight: 500;
  color: #3d495b;
}
.welcome {
  max-width: 580px;
  margin: 8vh auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 80px #54364208;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 650;
  color: #776577;
  margin: 24px 0 12px;
}
h1 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 12px 0 16px;
}
h2 {
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 14px;
  margin: 26px 0 8px;
}
.muted,
.help,
small {
  color: var(--muted);
  line-height: 1.7;
}
.help,
small {
  font-size: 13px;
}
.muted {
  font-size: 16px;
}
form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4e5869;
}
input,
select,
textarea {
  border: 1px solid #d9d5dc;
  background: white;
  color: #293546;
  border-radius: 10px;
  padding: 12px;
  width: 100%;
  min-height: 44px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.form-error {
  color: #a7193e;
  font-size: 14px;
  margin: 0;
  grid-column: 1/-1;
}
.layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100svh;
}
aside {
  background: white;
  border-right: 1px solid var(--line);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100svh;
}
.side-label {
  color: var(--muted);
  font-size: 12px;
  margin-top: 34px;
}
nav {
  display: grid;
  gap: 10px;
}
nav a {
  color: #536173;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14px;
}
nav .selected {
  background: #faeaf0;
  color: var(--pink);
  font-weight: 650;
}
.profile {
  margin-top: auto;
  padding-top: 30px;
  overflow-wrap: anywhere;
}
.profile strong,
.profile small {
  display: block;
}
.link {
  background: transparent;
  color: var(--pink);
  border: 0;
  padding: 8px 0;
  text-align: left;
  font-size: 13px;
}
.workspace {
  padding: 40px clamp(24px, 4vw, 68px);
  max-width: 1320px;
  width: 100%;
  margin: auto;
}
header {
  margin-bottom: 28px;
}
.summary {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f8e8ef;
  padding: 20px 26px;
  border-radius: 18px;
  margin-bottom: 26px;
  width: fit-content;
}
.summary strong {
  font-size: 28px;
  color: var(--pink);
}
.summary span {
  font-size: 14px;
  color: #71566a;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}
.card {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 24px 0;
}
.grid .card {
  margin: 0;
}
.dossier {
  display: block;
  color: inherit;
  transition: transform 0.15s;
}
.dossier:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #d5a3b6;
}
.dossier h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.dossier p {
  margin: 8px 0;
}
.open {
  display: block;
  font-size: 13px;
  color: var(--pink);
  font-weight: 600;
  margin-top: 26px;
}
.tone-0 {
  background: linear-gradient(150deg, #fff, #fff6ec);
}
.tone-1 {
  background: linear-gradient(150deg, #fff, #f3f0ff);
}
.tone-2 {
  background: linear-gradient(150deg, #fff, #edfaf7);
}
.tone-3 {
  background: linear-gradient(150deg, #fff, #fff0f5);
}
.badge {
  display: inline-block;
  background: #e9f4f0;
  color: #28685a;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 20px;
}
.draft {
  background: #fff0d8;
  color: #86581a;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 40px;
}
.back {
  font-size: 13px;
}
.report-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
time {
  font-size: 13px;
  color: var(--muted);
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.secondary {
  background: white;
  border-color: #d8d2db;
  color: #60445d;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}
.inline-form {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
td small {
  display: block;
}
.compact {
  padding: 8px 12px;
  font-size: 12px;
  margin-right: 10px;
}
.relationships {
  list-style: none;
  padding: 0;
}
.relationships li {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.invite-result {
  margin-top: 24px;
  background: #edf8f4;
  padding: 24px;
  border-radius: 14px;
  overflow-wrap: anywhere;
}
footer {
  color: var(--muted);
  font-size: 12px;
  margin: 40px 0 8px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(640px, 90vw);
  padding: 16px 24px;
  border-radius: 14px;
  box-shadow: 0 8px 30px #0002;
  z-index: 20;
  font-size: 14px;
  background: #245f50;
  color: white;
}
#notice.error {
  background: #9e2445;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    position: static;
    height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  aside .side-label {
    margin-top: 15px;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
  }
  .profile {
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .profile small {
    display: none;
  }
  .workspace {
    padding: 24px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .welcome {
    margin: 24px 16px;
    padding: 32px 24px;
  }
  .form-grid,
  .inline-form {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .relationships li {
    flex-wrap: wrap;
  }
  h1 {
    font-size: 30px;
  }
}
/* Shared dashboard and dossier layouts */
:root {
  color: #173352;
  background: #fdf9f5;
  --pink: #c92761;
  --muted: #697c92;
  --line: #e9e9ef;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.layout {
  grid-template-columns: 246px minmax(0, 1fr);
}
aside {
  padding: 32px 20px 24px;
  z-index: 10;
}
.side-brand {
  padding: 0 10px;
}
.brand {
  color: #12385d;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.brand span {
  color: var(--pink);
  font-size: 14px;
  letter-spacing: 0.15em;
}
.brand-motto {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 9px;
  letter-spacing: 0.03em;
}
.side-label {
  color: #173352;
  font-size: 17px;
  font-weight: 750;
  margin: 44px 12px 20px;
}
#main-nav {
  gap: 7px;
}
#main-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 12px;
  font-size: 14px;
  line-height: 1.45;
}
#main-nav .selected {
  background: #fcecf2;
}
.profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.profile strong {
  font-size: 13px;
  line-height: 1.5;
}
.profile small {
  font-size: 11px;
}
.profile button {
  grid-column: 1/-1;
}
.avatar {
  background: #fce0eb;
  color: #bc2358;
  height: 44px;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 750;
  font-size: 15px;
  flex-shrink: 0;
}
.small-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.workspace {
  max-width: 1510px;
  padding: 20px clamp(22px, 3vw, 46px) 34px;
  margin: 0 auto;
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  min-height: 42px;
  margin-bottom: 28px;
}
.topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px;
}
.page-heading > div {
  min-width: 0;
}
.page-heading button {
  flex-shrink: 0;
}
h1 {
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.045em;
  font-weight: 780;
  overflow-wrap: anywhere;
}
.page-heading h1 {
  margin: 5px 0 10px;
}
.page-heading .eyebrow {
  margin-top: 0;
}
.page-heading .muted {
  margin-bottom: 0;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 18px;
}
button,
.button {
  border-radius: 12px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  color: white;
  background: var(--pink);
}
.button.secondary {
  border-color: #dedde8;
  color: #4c5573;
  background: white;
}
.button:hover {
  text-decoration: none;
  filter: brightness(0.98);
}
.filter-bar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  background: #fff;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.filter-bar label {
  flex: 1 1 160px;
  font-size: 11px;
}
.filter-bar .search-field {
  flex-grow: 2;
}
.filter-bar input,
.filter-bar select {
  font-size: 13px;
}
.filter-bar .link {
  padding: 12px 4px;
}
.filter-bar .form-error:empty {
  display: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 4px 18px #49362603;
  color: inherit;
}
.stat-card:hover {
  text-decoration: none;
  border-color: #e4b0c2;
}
.stat-card strong {
  font-size: 29px;
  font-weight: 750;
  line-height: 1.15;
  display: block;
}
.stat-card div > span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.stat-arrow {
  margin-left: auto;
  color: var(--pink);
}
.stat-arrow svg {
  width: 17px;
}
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.icon-circle svg {
  width: 25px;
  height: 25px;
}
.color-0 {
  background: #ffebd5;
  color: #cb660d;
}
.color-1 {
  background: #ebe7ff;
  color: #5b50a1;
}
.color-2 {
  background: #e1f5f0;
  color: #258479;
}
.color-3 {
  background: #fce6ef;
  color: #c72a62;
}
.subjects-section {
  margin: 0 0 28px;
}
.section-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.section-heading h2,
.panel-heading h2 {
  margin: 0;
}
.section-heading > a,
.panel-heading > a {
  font-size: 12px;
  flex-shrink: 0;
}
.subject-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.subject-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px;
  border: 1px solid #eee0d4;
  border-radius: 16px;
  color: inherit;
  min-width: 0;
}
.subject-card.tone-1 {
  border-color: #e6e1f7;
}
.subject-card.tone-2 {
  border-color: #d8ece5;
}
.subject-card.tone-3 {
  border-color: #f3dce5;
}
.subject-card > div {
  min-width: 0;
  flex: 1;
}
.subject-card > svg {
  width: 18px;
  color: var(--pink);
}
.subject-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}
.subject-card p {
  margin: 3px 0;
  font-size: 12px;
  color: var(--muted);
}
.subject-card .student-name {
  color: #173352;
  font-weight: 650;
  font-size: 14px;
}
.subject-card small {
  font-size: 12px;
}
.card-meta {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.subject-card:hover {
  text-decoration: none;
  border-color: #d4a4b6;
  box-shadow: 0 5px 18px #49362608;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.panel {
  margin: 0 0 20px;
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  min-width: 0;
}
.panel .report {
  margin: 0;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.panel-heading {
  margin-bottom: 18px;
}
.panel h3 {
  font-size: 17px;
}
.activity-list {
  display: grid;
  gap: 8px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  padding: 14px 0;
  border-bottom: 1px solid #eff0f3;
  min-width: 0;
}
.activity-row:last-child {
  border-bottom: 0;
}
.activity-row > div {
  min-width: 0;
  flex: 1;
}
.activity-row .icon-circle {
  width: 40px;
  height: 40px;
}
.activity-row .icon-circle svg {
  width: 20px;
}
.activity-row strong,
.activity-row small {
  display: block;
}
.activity-row strong {
  font-size: 14px;
  margin: 4px 0;
}
.activity-row small {
  font-size: 11px;
}
.activity-row:hover {
  text-decoration: none;
}
.activity-row:hover strong {
  color: var(--pink);
}
.item-context {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.row-action {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--pink);
  font-size: 11px;
}
.row-action svg {
  width: 14px;
}
.excerpt {
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-state {
  text-align: center;
  padding: 26px 15px;
  color: var(--muted);
}
.empty-state h3 {
  color: #344a62;
  margin: 13px 0 8px;
  font-size: 16px;
}
.empty-state p {
  max-width: 400px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.7;
}
.empty-icon {
  display: inline-flex;
  padding: 14px;
  border-radius: 50%;
  background: #f6f3f9;
  color: #9482a9;
}
.admin-shortcut {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: #f0edf8;
  border-radius: 18px;
  margin: 20px 0;
}
.admin-shortcut h2 {
  margin: 0 0 6px;
  font-size: 17px;
}
.admin-shortcut p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.admin-shortcut > div {
  flex: 1;
}
.admin-shortcut .button {
  flex-shrink: 0;
}
.dossier-heading {
  margin: 24px 0;
  align-items: center;
}
.dossier-heading > div:first-of-type {
  flex: 1;
}
.dossier-heading h1 {
  font-size: 34px;
}
.dossier-heading p {
  margin-bottom: 0;
}
.teacher-chip {
  padding: 14px 18px;
  border: 1px solid #f6dec4;
  border-radius: 15px;
  background: #fff4e8;
  max-width: 230px;
}
.teacher-chip span,
.teacher-chip strong {
  display: block;
  font-size: 12px;
  line-height: 1.7;
}
.teacher-chip span {
  color: #a66129;
}
.continuity-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 13px;
  background: #f0edfc;
  color: #62588b;
  border-radius: 12px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.dossier-stats .stat-card {
  padding: 18px;
}
.dossier-stats .stat-card strong {
  font-size: 25px;
}
.tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  padding-bottom: 12px;
  overflow-x: auto;
}
.tabs a {
  white-space: nowrap;
  padding: 12px 16px;
  font-size: 13px;
  color: #3f526a;
}
.tabs a.selected {
  background: var(--pink);
  color: white;
}
.progress-box,
.homework-box {
  background: #edf7f4;
  padding: 16px 18px;
  border-radius: 12px;
  margin: 16px 0;
}
.homework-box {
  background: #fff5e9;
}
.progress-box h4,
.homework-box h4 {
  margin: 0 0 8px;
}
.progress-box p,
.homework-box p {
  margin: 0;
}
.timeline {
  list-style: none;
  padding: 0 0 0 10px;
  margin: 0;
}
.timeline li {
  border-left: 2px solid #e9e4f3;
  padding: 0 0 25px 22px;
  position: relative;
}
.timeline li:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d99457;
  position: absolute;
  left: -6px;
  top: 4px;
}
.timeline li:nth-child(even):before {
  background: #57a89a;
}
.timeline strong,
.timeline small {
  display: block;
  margin-top: 6px;
}
.timeline strong {
  font-size: 14px;
}
.timeline small,
.timeline time,
.timeline a {
  font-size: 12px;
}
.assignment-details {
  margin-top: 26px;
}
.assignment-details summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  min-height: 32px;
  padding: 6px 0;
}
.report-picker {
  display: grid;
  gap: 12px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  margin-top: 20px;
}
.report {
  scroll-margin-top: 20px;
}
.report:focus {
  outline: 2px solid #dbaa82;
  outline-offset: 5px;
}
.menu-toggle {
  display: none;
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 218px minmax(0, 1fr);
  }
  aside {
    padding: 30px 14px;
  }
  .workspace {
    padding: 20px 24px;
  }
  .stat-card {
    padding: 16px 12px;
    gap: 10px;
  }
  .stat-card .icon-circle {
    width: 40px;
    height: 40px;
  }
  .stat-arrow {
    display: none;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-heading {
    align-items: flex-start;
  }
  .admin-shortcut {
    flex-wrap: wrap;
  }
  .dossier-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 800px) {
  .layout {
    display: block;
  }
  aside {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 17px 20px;
    position: relative;
    height: auto;
  }
  .side-brand {
    padding: 0;
    align-self: center;
  }
  .brand {
    font-size: 23px;
  }
  .brand-motto,
  .side-label,
  .profile {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    padding: 9px 13px;
  }
  #main-nav {
    display: none;
    grid-column: 1/-1;
    margin-top: 18px;
  }
  #main-nav.mobile-open {
    display: grid;
  }
  aside:has(#main-nav.mobile-open) .profile {
    display: grid;
    grid-column: 1/-1;
    margin-top: 20px;
    padding-top: 20px;
  }
  .workspace {
    padding: 14px 18px 28px;
  }
  .topbar {
    margin-bottom: 24px;
    font-size: 11px;
  }
  .topbar-user {
    font-size: 0;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading .muted {
    font-size: 14px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 14px;
    display: block;
  }
  .stat-card .icon-circle {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
  }
  .stat-card .icon-circle svg {
    width: 19px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .stat-card div > span {
    font-size: 11px;
    line-height: 1.5;
  }
  .subject-grid {
    grid-template-columns: 1fr;
  }
  .subject-card {
    padding: 19px;
  }
  .panel {
    padding: 20px;
  }
  .panel-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
  }
  .panel-heading h2,
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .activity-row .row-action {
    font-size: 0;
  }
  .row-action svg {
    width: 18px;
  }
  .filter-bar {
    padding: 14px;
    gap: 10px;
  }
  .filter-bar label {
    flex-basis: 100%;
  }
  .filter-bar .search-field {
    flex-basis: 100%;
  }
  .filter-bar button {
    flex: 1;
  }
  .admin-shortcut {
    padding: 20px;
  }
  .admin-shortcut .icon-circle {
    display: none;
  }
  .admin-shortcut .button {
    width: 100%;
  }
  .dossier-heading > .icon-circle {
    width: 46px;
    height: 46px;
  }
  .dossier-heading > div:first-of-type {
    flex-basis: calc(100% - 75px);
  }
  .teacher-chip {
    max-width: none;
    width: 100%;
  }
  .dossier-stats .stat-card {
    padding: 13px;
  }
  .tabs a {
    padding: 12px 14px;
  }
  .continuity-note {
    align-items: flex-start;
    font-size: 12px;
  }
  .report .prose {
    font-size: 14px;
  }
  .pagination {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
