:root {
  --paper: #f6f2e8;
  --paper-raised: #fffdf6;
  --paper-sunk: #efe9db;
  --ink: #1f2430;
  --ink-soft: #5b6272;
  --ink-faint: #8b8f9c;
  --rule: #e0d8c6;
  --rule-strong: #cdc3ac;
  --chalk: #2e7d53;
  --chalk-bright: #69b58d;
  --pencil: #b8862f;
  --revision: #bf7a1c;
  --late: #a83a2e;
  --focus: #3b6fd4;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(31, 36, 48, .07), 0 8px 24px -12px rgba(31, 36, 48, .28);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  /* Faint ruled-register texture, kept well below text contrast. */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 31px,
    rgba(31, 36, 48, .035) 31px 32px
  );
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .35em;
}

h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
h2 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--focus); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  color: #f3efe4;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 10px 30px -22px rgba(0, 0, 0, .9);
}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: .65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 9px;
  background: rgba(105, 181, 141, .16);
  color: var(--chalk-bright);
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small { font-size: .78rem; color: #a9b0bf; }

.topbar-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* ---------- Layout ---------- */

main { max-width: 1400px; margin: 0 auto; padding: 1.6rem 1.1rem 4rem; }

.view-narrow { max-width: 640px; margin: 0 auto; }

.lede { color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 62ch; }

.loading { color: var(--ink-soft); padding: 3rem 0; text-align: center; }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: .8rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--rule);
}

/* ---------- Forms ---------- */

.field { margin-bottom: 1.1rem; }

label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .3rem;
  color: var(--ink);
}

input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: .6rem .7rem;
}

textarea { resize: vertical; min-height: 84px; }

input::placeholder, textarea::placeholder { color: var(--ink-faint); }

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.hint { display: block; font-size: .8125rem; color: var(--ink-soft); margin-top: .35rem; }

.form-error {
  color: var(--late);
  font-size: .9rem;
  font-weight: 600;
  margin: .8rem 0 0;
}

.inline-form { display: flex; gap: .55rem; margin-top: .8rem; }
.inline-form input { flex: 1 1 auto; min-width: 0; }
.inline-form .btn { flex: none; }

.btn {
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-raised);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: .55rem .95rem;
  cursor: pointer;
  transition: background-color .13s ease, border-color .13s ease, transform .08s ease;
}
.btn:hover:not(:disabled) { background: var(--paper-sunk); border-color: var(--ink-faint); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: progress; }

.btn-primary { background: var(--ink); border-color: var(--ink); color: #f7f3e8; }
.btn-primary:hover:not(:disabled) { background: #303849; border-color: #303849; }

.btn-chalk { background: var(--chalk); border-color: var(--chalk); color: #fff; }
.btn-chalk:hover:not(:disabled) { background: #276b47; border-color: #276b47; }

.btn-quiet { background: transparent; border-color: transparent; color: #cfd4de; }
.btn-quiet:hover:not(:disabled) { background: rgba(255, 255, 255, .1); border-color: transparent; }

.btn-small { font-size: .8125rem; padding: .35rem .65rem; }

.btn-danger { color: var(--late); border-color: rgba(168, 58, 46, .4); }
.btn-danger:hover:not(:disabled) { background: rgba(168, 58, 46, .08); border-color: var(--late); }

/* ---------- Roster picker ---------- */

.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .5rem;
}

.roster button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: .5rem .85rem .5rem .5rem;
  cursor: pointer;
  transition: border-color .13s ease, background-color .13s ease;
}
.roster button:hover { background: var(--paper-sunk); border-color: var(--ink-faint); }

.roster-empty { color: var(--ink-soft); font-size: .9375rem; margin: 0; padding: .2rem 0 .6rem; }

.dot {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-body);
}

.dot-rose { background: #b8546a; }
.dot-amber { background: #b8862f; }
.dot-moss { background: #5c7f3a; }
.dot-sky { background: #3d7fa6; }
.dot-plum { background: #7d5491; }
.dot-teal { background: #2f7d78; }
.dot-clay { background: #a5673f; }
.dot-indigo { background: #4a5aa0; }

/* ---------- Banner & toast ---------- */

.banner {
  max-width: 1400px;
  margin: 0 auto 1rem;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 134, 47, .45);
  background: #fdf5e3;
  color: #6d4d10;
  font-size: .875rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 60;
  max-width: min(92vw, 30rem);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f7f3e8;
  font-size: .9375rem;
  font-weight: 600;
  box-shadow: 0 12px 34px -12px rgba(0, 0, 0, .7);
}
.toast-error { background: var(--late); }

/* ---------- Board head ---------- */

.board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.board-head h1 { margin-bottom: .2rem; }
.board-head .lede { margin-bottom: 0; }

.board-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.legend {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--ink-soft);
}
.legend span { display: flex; align-items: center; gap: .32rem; }

.key { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--rule-strong); background: #fff; }
.key-student { border-color: var(--pencil); background: rgba(184, 134, 47, .18); }
.key-verified { border-color: var(--chalk); background: var(--chalk); }
.key-revision { border-color: var(--revision); background: rgba(191, 122, 28, .2); }
.key-late { border-color: var(--late); background: rgba(168, 58, 46, .2); }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }

.chip {
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: .3rem .8rem;
  cursor: pointer;
}
.chip:hover { background: var(--paper-sunk); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #f7f3e8; }

/* ---------- Teacher grid ---------- */

.grid-scroll {
  overflow: auto;
  max-height: 72vh;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}

table.grid { border-collapse: separate; border-spacing: 0; width: 100%; }

.grid th, .grid td { padding: 0; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }

.grid thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper-sunk);
  vertical-align: bottom;
  padding: .5rem .35rem;
  min-width: 92px;
  max-width: 150px;
  border-bottom: 2px solid var(--rule-strong);
}

.grid thead th[scope="col"] .col-head {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  align-items: center;
  text-align: center;
}

.col-title {
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col-meta { font-size: .6875rem; color: var(--ink-soft); font-weight: 600; }
.col-due-soon { color: var(--late); }

.grid tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--paper-raised);
  text-align: left;
  padding: .4rem .7rem;
  min-width: 168px;
  max-width: 220px;
  border-right: 2px solid var(--rule-strong);
}

.student-cell { display: flex; align-items: center; gap: .55rem; }
.student-cell .name {
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.student-cell .tally { font-size: .75rem; color: var(--ink-soft); font-weight: 600; }

.grid thead th:first-child {
  left: 0;
  z-index: 4;
  background: var(--paper-sunk);
  border-right: 2px solid var(--rule-strong);
}

.grid tbody tr:hover th, .grid tbody tr:hover td { background: #fdfaf1; }
.grid tbody tr:hover th { background: #f9f4e7; }

.tick-cell { width: 100%; height: 100%; min-height: 58px; }

.tick {
  width: 100%;
  height: 100%;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: .3rem .2rem;
  color: var(--ink);
}
.tick:hover { background: rgba(105, 181, 141, .12); }

.tick-box {
  width: 30px; height: 30px;
  border-radius: 7px;
  border: 2px solid var(--rule-strong);
  background: #fff;
  display: grid;
  place-items: center;
  color: transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.tick-box svg { width: 19px; height: 19px; }

.tick-sent .tick-box { border-color: var(--pencil); background: rgba(184, 134, 47, .16); color: var(--pencil); }
.tick-verified .tick-box { border-color: var(--chalk); background: var(--chalk); color: #fff; }
.tick-revision .tick-box { border-color: var(--revision); background: rgba(191, 122, 28, .18); color: var(--revision); }
.tick-late .tick-box { border-color: var(--late); background: rgba(168, 58, 46, .16); color: var(--late); }

.tick-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .2rem .28rem;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--ink-soft);
  min-height: 15px;
}

.pill {
  padding: 0 .32rem;
  border-radius: 4px;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  line-height: 1.35;
}
.pill-chalk { background: rgba(46, 125, 83, .14); border-color: rgba(46, 125, 83, .4); color: var(--chalk); }
.pill-revision { background: rgba(191, 122, 28, .14); border-color: rgba(191, 122, 28, .4); color: #8a5710; }
.pill-late { background: rgba(168, 58, 46, .12); border-color: rgba(168, 58, 46, .38); color: var(--late); }
.pill-note { background: rgba(59, 111, 212, .12); border-color: rgba(59, 111, 212, .35); color: #2c56a8; }

/* ---------- Student list ---------- */

.task {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: .85rem;
  box-shadow: var(--shadow);
}
.task-sent { border-left-color: var(--pencil); }
.task-verified { border-left-color: var(--chalk); }
.task-revision { border-left-color: var(--revision); }
.task-late { border-left-color: var(--late); }

.task-top { display: flex; align-items: flex-start; gap: .9rem; }

.big-tick {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 11px;
  border: 2.5px solid var(--rule-strong);
  background: #fff;
  color: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.big-tick svg { width: 27px; height: 27px; }
.big-tick:hover { border-color: var(--chalk); }
.big-tick:active { transform: scale(.94); }
.big-tick[aria-pressed="true"] { border-color: var(--chalk); background: var(--chalk); color: #fff; }

.task-body { flex: 1 1 auto; min-width: 0; }
.task-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 0 0 .15rem; }
.task-meta { font-size: .8125rem; color: var(--ink-soft); font-weight: 600; margin-bottom: .4rem; }
.task-details { font-size: .9375rem; color: var(--ink); margin: 0 0 .6rem; white-space: pre-wrap; }

.task-status { flex: none; text-align: right; }

.task-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px dashed var(--rule);
}

.teacher-note {
  margin-top: .7rem;
  padding: .6rem .8rem;
  border-radius: 8px;
  background: rgba(46, 125, 83, .09);
  border: 1px solid rgba(46, 125, 83, .28);
  font-size: .875rem;
}
.teacher-note strong { color: var(--chalk); }

/* ---------- Drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(31, 36, 48, .45);
  display: flex;
  justify-content: flex-end;
}

.drawer {
  width: min(560px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  border-left: 1px solid var(--rule-strong);
  box-shadow: -18px 0 50px -24px rgba(0, 0, 0, .6);
  padding: 1.3rem 1.3rem 3rem;
}

.drawer-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.drawer-head h2 { font-size: 1.35rem; margin-bottom: .15rem; }
.drawer-head .sub { font-size: .875rem; color: var(--ink-soft); font-weight: 600; }
.drawer-close { margin-left: auto; flex: none; }

.drawer-section { margin-bottom: 1.4rem; }
.drawer-section > h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: .6rem;
}

.big-toggle {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  font: inherit;
  text-align: left;
  background: var(--paper-raised);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  cursor: pointer;
}
.big-toggle:hover { background: #fff; }
.big-toggle[aria-pressed="true"] { border-color: var(--chalk); background: rgba(46, 125, 83, .08); }
.big-toggle[aria-pressed="true"] .tick-box { border-color: var(--chalk); background: var(--chalk); color: #fff; }
.big-toggle .label { font-weight: 700; font-size: 1rem; }
.big-toggle .label small { display: block; font-weight: 500; font-size: .8125rem; color: var(--ink-soft); }

.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; }

.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-pill span {
  display: block;
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem .4rem;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
}
.radio-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #f7f3e8; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

.thread { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-direction: column; gap: .55rem; }

.comment {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: .55rem .75rem;
}
.comment-teacher { background: rgba(46, 125, 83, .08); border-color: rgba(46, 125, 83, .28); }
.comment-head {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: .15rem;
}
.comment-teacher .comment-head { color: var(--chalk); }
.comment-head time { font-weight: 500; color: var(--ink-faint); margin-left: auto; }
.comment-body { font-size: .9375rem; margin: 0; white-space: pre-wrap; word-break: break-word; }

.attachments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.attachment {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: .45rem .7rem;
  font-size: .875rem;
}
.attachment .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment .size { color: var(--ink-soft); font-size: .75rem; flex: none; }
.attachment .spacer { margin-left: auto; flex: none; display: flex; gap: .35rem; }

.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-soft);
  background: var(--paper-raised);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
}
.empty h2 { color: var(--ink); }

.file-drop { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.file-drop input[type="file"] { flex: 1 1 200px; padding: .4rem; font-size: .875rem; }

.progress { font-size: .8125rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(31, 36, 48, .5);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}
.modal-actions { display: flex; gap: .55rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- Board tools (added features) ---------- */

.btn-tiny {
  font-size: .6875rem;
  padding: .18rem .42rem;
  border-radius: 7px;
  font-weight: 700;
}

.col-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  justify-content: center;
  margin-top: .3rem;
}

.topbar-note {
  font-size: .75rem;
  color: #a9b0bf;
  align-self: center;
  white-space: nowrap;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  overflow: hidden;
  margin-bottom: .4rem;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--chalk);
  transition: width .25s ease;
}
.progress-note { font-size: .8125rem; color: var(--ink-soft); font-weight: 600; margin: 0 0 1.1rem; }

.pill-new { background: rgba(59, 111, 212, .14); border-color: rgba(59, 111, 212, .42); color: #2c56a8; }
.pill-due { background: rgba(168, 58, 46, .1); border-color: rgba(168, 58, 46, .32); color: var(--late); }

.archived-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.archived-list .name { font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  main { padding: 1.1rem .75rem 3rem; }
  .topbar-inner { padding: .6rem .75rem; }
  .brand-text small { display: none; }
  .board-head { align-items: flex-start; flex-direction: column; }
  .legend { display: none; }
  .grid tbody th { min-width: 132px; max-width: 150px; }
  .grid thead th { min-width: 76px; }
  .tick-cell, .tick { min-height: 52px; }
  .tick-box { width: 26px; height: 26px; }
  .tick-marks { font-size: .625rem; }
  .two-col { grid-template-columns: 1fr; }
  .drawer { padding: 1rem 1rem 3rem; }
  .task-top { flex-wrap: wrap; }
  .task-status { display: flex; gap: .35rem; flex-wrap: wrap; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
