@font-face {
  font-family: "Rubik";
  src: url("./Assets/Rubik-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --sky: #fff;
  --blue: #245676;
  --blue-soft: #bdd9ea;
  --ink: #000;
  --paper: #f9fcfe;
  --line: rgba(36, 86, 118, 0.2);
  --checked: #d4eadc;
  --checked-ink: #285c3c;
  --developing: #f8dfc4;
  --developing-ink: #8a4b12;
  --open: #ebe4f5;
  --open-ink: #4a3570;
  --strand-sentence: #3f6f8f;
  --strand-text: #2d7a6c;
  --strand-editing: #5a8447;
  --strand-punctuation: #b56a3e;
  --strand-vocabulary: #6a5c94;
  --strand-word-types: #9a7a32;
  --strand-language: #3f738c;
  --strand-handwriting: #4a5c86;
  --strand-spelling: #9a5d70;
  --strand-purpose: #3a7384;
  --strand-ideas: #4e7d5c;
  --strand-multimodal: #6d6090;
  --strand-structure: #8a6348;
  --strand-grammar: #3d6f82;
}

[data-strand="sentence"] { --strand-accent: var(--strand-sentence); }
[data-strand="text"] { --strand-accent: var(--strand-text); }
[data-strand="editing"] { --strand-accent: var(--strand-editing); }
[data-strand="punctuation"] { --strand-accent: var(--strand-punctuation); }
[data-strand="vocabulary"] { --strand-accent: var(--strand-vocabulary); }
[data-strand="word-types"] { --strand-accent: var(--strand-word-types); }
[data-strand="language"] { --strand-accent: var(--strand-language); }
[data-strand="handwriting"] { --strand-accent: var(--strand-handwriting); }
[data-strand="spelling"] { --strand-accent: var(--strand-spelling); }
[data-strand="purpose"] { --strand-accent: var(--strand-purpose); }
[data-strand="ideas"] { --strand-accent: var(--strand-ideas); }
[data-strand="multimodal"] { --strand-accent: var(--strand-multimodal); }
[data-strand="structure"] { --strand-accent: var(--strand-structure); }
[data-strand="grammar"] { --strand-accent: var(--strand-grammar); }

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--sky);
  color: var(--ink);
  font-family: "Rubik", sans-serif;
}

body {
  padding-bottom: 32px;
}

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  background: linear-gradient(90deg, rgba(189, 217, 234, 0.96), rgba(203, 225, 239, 0.93));
  border-bottom: 1px solid rgba(36, 86, 118, 0.1);
  box-shadow: 0 6px 24px rgba(36, 86, 118, 0.06);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 3vw, 32px);
}

.view-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 0 8px;
}

.filter-row {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #000;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.filter-chip:last-child {
  border-right: 0;
}

.filter-chip[aria-pressed="true"] {
  background: var(--blue-soft);
  color: #000;
}

.filter-chip:hover {
  background: #cfe3f0;
  color: #000;
}

.filter-chip[aria-pressed="true"]:hover {
  background: #a8cde0;
}

.dates-toggle,
.print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #000;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.print-menu {
  position: relative;
}

.print-menu-panel {
  position: absolute;
  z-index: 140;
  top: calc(100% + 7px);
  right: 0;
  width: 210px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(36, 86, 118, 0.2);
}

.print-menu-options,
.print-pdf-options,
.print-student-options {
  display: grid;
  gap: 3px;
}

.print-menu-panel p {
  margin: 5px 7px 7px;
  color: #385263;
  font-size: 11px;
  font-weight: 600;
}

.print-menu-panel button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.print-menu-panel button:hover {
  background: #ddecf5;
}

.print-menu-panel .print-pdf-download {
  justify-content: center;
  background: #000;
  color: #fff;
}

.print-menu-panel .print-pdf-download:hover {
  background: #245676;
}

.print-student-list {
  max-height: 224px;
  margin: 0 1px 5px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 7px;
}

.print-student-choice {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 0 7px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  cursor: pointer;
}

.print-student-choice:last-child {
  border-bottom: 0;
}

.print-student-actions {
  display: flex;
  gap: 4px;
}

.print-student-actions button {
  flex: 1;
}

.dates-toggle:hover,
.print-button:hover {
  background: #cfe3f0;
}

.dates-toggle[aria-pressed="true"] {
  background: var(--blue-soft);
}

.dates-toggle[aria-pressed="true"]:hover {
  background: #a8cde0;
}

#strand-filters .filter-chip {
  box-shadow: inset 4px 0 0 var(--strand-accent, transparent);
}

#strand-filters .filter-chip[aria-pressed="true"] {
  background: color-mix(in srgb, var(--strand-accent, var(--blue-soft)) 32%, #fff);
}

#strand-filters .filter-chip:hover {
  background: color-mix(in srgb, var(--strand-accent, #8aa8bb) 18%, #cfe3f0);
}

#strand-filters .filter-chip[aria-pressed="true"]:hover {
  background: color-mix(in srgb, var(--strand-accent, var(--blue-soft)) 42%, #fff);
}

.filter-chip:disabled {
  cursor: default;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  color: #000;
  text-decoration: none;
}

.logo span {
  font-family: "Rubik", sans-serif;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo .brand-heavy {
  font-weight: 500;
}

.logo .brand-light {
  font-weight: 300;
}

.checklist-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
}

.checklist-toggle a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  color: #000;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 130ms ease;
}

.checklist-toggle a:hover {
  background: rgba(255, 255, 255, 0.7);
}

.checklist-toggle a[aria-current="page"] {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.view-mode {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
}

.view-mode-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.view-mode-btn:last-child {
  border-right: 0;
}

.view-mode-btn[aria-pressed="true"] {
  background: #000;
  color: #fff;
}

.student-slot {
  position: relative;
  flex: none;
  width: min(220px, 36vw);
  height: 36px;
}

.class-cohort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.class-cohort-btn:hover,
.view-mode-btn:hover:not([aria-pressed="true"]) {
  background: rgba(255, 255, 255, 0.85);
}

.student-slot .student-select,
.student-slot .class-cohort-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  box-sizing: border-box;
}

.student-slot .student-select[hidden],
.student-slot .class-cohort-btn[hidden] {
  display: none;
}

.student-select,
.quiet-link {
  min-height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  font: inherit;
  font-size: 13px;
}

.student-select {
  width: 100%;
  padding: 0 32px 0 11px;
  cursor: pointer;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  text-decoration: none;
  transition: background 130ms ease, transform 130ms ease, box-shadow 130ms ease;
}

.faq-toggle,
.students-nav {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transform-origin: center center;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 220ms cubic-bezier(0.22, 1.2, 0.36, 1);
}

.faq-toggle:hover,
.students-nav:hover {
  background: rgba(255, 255, 255, 0.85);
}

.faq-toggle[aria-pressed="true"],
.students-nav[aria-current="page"] {
  z-index: 3;
  border-color: #168a3c;
  background: #1f9d48;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: scale(1.22);
  box-shadow:
    0 0 0 4px rgba(31, 157, 72, 0.32),
    0 10px 28px rgba(22, 138, 60, 0.38);
  animation: faq-pop 700ms cubic-bezier(0.22, 1.2, 0.36, 1);
}

.faq-toggle[aria-pressed="true"]:hover,
.students-nav[aria-current="page"]:hover {
  background: #178a3f;
  border-color: #178a3f;
  color: #fff;
}

@keyframes faq-pop {
  0% {
    transform: scale(0.86);
    box-shadow: 0 0 0 0 rgba(31, 157, 72, 0.5);
  }
  40% {
    transform: scale(1.32);
    box-shadow: 0 0 0 16px rgba(31, 157, 72, 0);
  }
  70% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1.22);
    box-shadow:
      0 0 0 4px rgba(31, 157, 72, 0.32),
      0 10px 28px rgba(22, 138, 60, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-toggle[aria-pressed="true"],
  .students-nav[aria-current="page"] {
    animation: none;
  }
}

.faq-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 4px 32px;
}

.faq-panel[hidden] {
  display: none;
}

body.faq-view .checklist-block {
  display: none;
}

body.faq-view .faq-panel {
  display: block;
}

.save-dialog {
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 65, 88, 0.2);
  color: var(--ink);
  font: inherit;
}

.save-dialog::backdrop {
  background: rgba(36, 86, 118, 0.22);
}

.save-dialog p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
}

.save-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.save-dialog-discard,
.save-dialog-keep {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.save-dialog-keep {
  border-color: #000;
  background: #000;
  color: #fff;
}

.student-select:hover,
.quiet-link:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 3px 10px rgba(36, 86, 118, 0.08);
  transform: translateY(-1px);
}

main {
  padding: clamp(16px, 3vw, 40px);
}

main:has(.checklist-block) {
  padding-top: 8px;
}

.students-main {
  max-width: 720px;
  margin: 0 auto;
}

.guide-main {
  max-width: 720px;
  margin: 0 auto;
}

.guide {
  padding: 8px 4px 24px;
}

.guide-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.guide h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.guide-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
}

.guide-toc {
  margin: 0 0 32px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(249, 252, 254, 0.82);
}

.guide-toc-title {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.guide-toc ol {
  margin: 0;
  padding-left: 1.25em;
}

.guide-toc li {
  margin: 0 0 6px;
  line-height: 1.4;
}

.guide-toc li:last-child {
  margin-bottom: 0;
}

.guide-toc a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.guide section {
  margin: 0 0 28px;
  scroll-margin-top: 88px;
}

.guide h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.guide h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}

.guide p,
.guide li {
  margin: 0 0 10px;
  line-height: 1.55;
}

.guide ul,
.guide ol {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.guide li + li {
  margin-top: 6px;
}

.guide-marks {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}

.guide-mark {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(249, 252, 254, 0.82);
}

.guide-mark h3 {
  margin-top: 0;
}

.guide-mark p:last-child {
  margin-bottom: 0;
}

.guide-mark-swatch {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  background: #fff;
}

.guide-mark-developing .guide-mark-swatch {
  background: var(--developing);
}

.guide-mark-confirmed .guide-mark-swatch {
  background: var(--checked);
}

.guide a {
  color: var(--blue);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide a:hover {
  color: #1a4060;
}

.guide .guide-toc a,
.guide .guide-toc a:hover {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.guide .guide-toc a:hover {
  text-decoration: underline;
}

.guide-level-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.guide-level-links li {
  margin: 0;
}

.guide-sources li + li {
  margin-top: 10px;
}

.guide-note {
  margin-top: 14px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
}

.guide-footer {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.guide-footer a {
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}

.guide-footer a:hover {
  text-decoration: underline;
}

.student-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(249, 252, 254, 0.82);
  box-shadow: 0 10px 30px rgba(45, 89, 116, 0.08);
}

.student-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(189, 217, 234, 0.36);
}

.student-form input,
.student-form button,
.remove-student {
  min-height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 7px;
  color: #000;
  font: inherit;
  font-size: 13px;
}

.student-form input {
  min-width: 0;
  padding: 0 12px;
  background: #fff;
}

.student-form button {
  padding: 0 18px;
  background: #000;
  color: #fff;
  cursor: pointer;
}

.student-hint {
  margin: 0;
  padding: 10px 14px 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  line-height: 1.4;
}

.student-row {
  display: flex;
  min-height: 52px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.student-row:last-child {
  border-bottom: 0;
}

.student-row.is-active {
  box-shadow: inset 3px 0 0 var(--blue);
}

.student-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.student-name {
  font-size: 14px;
  font-weight: 500;
}

.student-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pick {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tag-pick:hover {
  background: rgba(36, 86, 118, 0.08);
}

.tag-pick[aria-pressed="true"] {
  border-color: #000;
  background: #000;
  color: #fff;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.tag-chip:hover {
  background: rgba(36, 86, 118, 0.08);
}

.tag-chip-x {
  opacity: 0.55;
  font-size: 13px;
  line-height: 1;
}

.tag-form {
  display: flex;
  gap: 6px;
  max-width: 260px;
}

.tag-input {
  flex: 1;
  min-width: 0;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 7px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 12px;
}

.tag-add {
  flex: none;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 7px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.tag-add:hover {
  background: rgba(36, 86, 118, 0.07);
}

.remove-student {
  flex: none;
  min-height: 32px;
  padding: 0 10px;
  background: transparent;
  cursor: pointer;
}

.remove-student:hover:not(:disabled) {
  background: rgba(36, 86, 118, 0.07);
}

.remove-student:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.checklist-block {
  max-width: 1500px;
  margin: 0 auto;
  overflow: visible;
}

.print-heading {
  display: none;
}

.table-frame {
  position: relative;
  overflow: visible;
  border: 2px solid #000;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(45, 89, 116, 0.08);
}

.table-scroll {
  overflow-x: auto;
  border-radius: 14px;
}

.table-scroll:has(.standard[open]) {
  overflow: visible;
}

.mark-float {
  position: absolute;
  top: 0;
  left: 8px;
  z-index: 40;
  width: calc(196px - 16px);
  transform: translateY(calc(-100% - 6px));
  pointer-events: none;
}

.mark-cancel {
  width: 100%;
  max-height: 0;
  margin: 0;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  box-shadow: 0 6px 18px rgba(36, 86, 118, 0.14);
  pointer-events: none;
  cursor: pointer;
  transition:
    max-height 220ms ease,
    opacity 180ms ease,
    transform 220ms ease,
    padding 220ms ease,
    border-color 180ms ease,
    background 130ms ease,
    box-shadow 130ms ease;
}

.table-frame:has(table.marking) .mark-cancel {
  max-height: 32px;
  padding: 4px 6px;
  border-color: rgba(0, 0, 0, 0.22);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mark-cancel:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 8px 20px rgba(36, 86, 118, 0.18);
}

.mark-cancel:disabled {
  cursor: default;
}

.table-frame:has(table.marking) .mark-cancel:disabled {
  opacity: 0.35;
}

table {
  width: 100%;
  min-width: 1100px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

table.has-collapsed-cols {
  min-width: 0;
}

#checklist th,
#checklist td {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

#checklist tbody tr:first-child > * {
  border-top: 2px solid #000;
}

#checklist tr:last-child th,
#checklist tr:last-child td {
  border-bottom: 0;
}

#checklist th:last-child,
#checklist td:last-child {
  border-right: 0;
}

.spelling-checklists {
  border-top: 1px solid #000;
}

.spelling-checklists.is-collapsed {
  display: none;
}

.spelling-table {
  --open-row-height: 100px;
  min-width: 1100px;
}

.spelling-table.has-collapsed-cols,
#checklist.has-collapsed-cols ~ .spelling-checklists .spelling-table {
  min-width: 0;
}

.spelling-table th,
.spelling-table td {
  border-right: 1px solid #000;
}

.spelling-table tbody th {
  border-right: 2px solid #000;
}

.spelling-table th:last-child,
.spelling-table td:last-child {
  border-right: 0;
}

.spelling-table td {
  height: auto;
  min-height: 0;
  vertical-align: top;
}

.spelling-stack {
  padding: 0;
  background: rgba(249, 252, 254, 0.82);
}

.spelling-stack-inner {
  display: flex;
  flex-direction: column;
}

.spelling-stack .cell {
  height: var(--open-row-height, 100px);
  min-height: var(--open-row-height, 100px);
  border-bottom: 1px solid #000;
}

.spelling-stack .cell:last-child {
  border-bottom: 0;
}

.spelling-stack .cell[data-mark="confirmed"] {
  background: var(--checked);
}

.spelling-stack .cell[data-mark="developing"] {
  background: var(--developing);
}

.spelling-stack .cell:has(.standard[open]) {
  z-index: 21;
  background: var(--open);
}

td.spelling-stack:has([data-mark="confirmed"]),
td.spelling-stack:has([data-mark="developing"]),
td.spelling-stack:has(.standard[open]) {
  background: rgba(249, 252, 254, 0.82);
}

thead th {
  height: auto;
  min-height: 48px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  vertical-align: middle;
}

thead th.mark-corner {
  width: 196px;
  padding: 8px 8px 7px;
  vertical-align: middle;
}

.label-col {
  width: 196px;
}

col.is-collapsed,
th.year-head.is-collapsed,
td.is-collapsed,
tr.is-collapsed {
  display: none;
}

.mark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

table.marking .mark-row {
  gap: 4px;
}

.mark-mode {
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 130ms ease, color 130ms ease, box-shadow 130ms ease, border-color 130ms ease;
}

.mark-mode.is-tags {
  border-color: #0b5f8a;
  background: #0b5f8a;
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(11, 95, 138, 0.28),
    0 8px 22px rgba(11, 95, 138, 0.35);
}

.mark-mode.is-tags:hover {
  background: #094d70;
  border-color: #094d70;
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(11, 95, 138, 0.34),
    0 10px 24px rgba(11, 95, 138, 0.4);
}

.mark-mode.is-tags[aria-pressed="true"] {
  background: #083f5c;
  border-color: #083f5c;
  color: #fff;
}

.mark-mode.tags-arrive {
  animation: tags-arrive 820ms cubic-bezier(0.22, 1.2, 0.36, 1);
}

@keyframes tags-arrive {
  0% {
    transform: scale(0.55);
    opacity: 0.35;
    box-shadow: 0 0 0 0 rgba(11, 95, 138, 0.55);
  }
  35% {
    transform: scale(1.22);
    opacity: 1;
    box-shadow: 0 0 0 14px rgba(11, 95, 138, 0);
  }
  58% {
    transform: scale(0.94);
  }
  76% {
    transform: scale(1.06);
    box-shadow:
      0 0 0 4px rgba(11, 95, 138, 0.32),
      0 10px 26px rgba(11, 95, 138, 0.42);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(11, 95, 138, 0.28),
      0 8px 22px rgba(11, 95, 138, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark-mode.tags-arrive {
    animation: none;
  }
}

.mark-history {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 0;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  cursor: pointer;
  transition:
    width 220ms ease,
    opacity 180ms ease,
    border-color 180ms ease,
    background 130ms ease,
    box-shadow 130ms ease;
}

table.marking .mark-history {
  width: 28px;
  border-color: rgba(0, 0, 0, 0.22);
  opacity: 1;
  pointer-events: auto;
}

.mark-history svg {
  width: 14px;
  height: 14px;
}

.mark-history:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(36, 86, 118, 0.1);
}

.mark-history:disabled {
  opacity: 0.35;
  cursor: default;
}

.mark-mode:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(36, 86, 118, 0.1);
}

.mark-mode[aria-pressed="true"] {
  border-color: #000;
  background: #000;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .mark-cancel,
  .mark-history {
    transition: none;
  }
}

tbody th {
  padding: 8px 12px 8px 18px;
  background: color-mix(in srgb, var(--strand-accent, #6d93ad) 40%, #fff);
  box-shadow: inset 8px 0 0 var(--strand-accent, #6d93ad);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  vertical-align: top;
}

#checklist tbody th,
#checklist thead th.mark-corner {
  border-right: 2px solid #000;
}

td {
  position: relative;
  height: var(--open-row-height, 116px);
  padding: 0;
  background: rgba(249, 252, 254, 0.82);
  vertical-align: top;
  transition: background 150ms ease;
}

td:has([data-mark="confirmed"]) {
  background: var(--checked);
}

td:has([data-mark="developing"]) {
  background: var(--developing);
}

td:has(.standard[open]) {
  z-index: 21;
  background: var(--open);
}

.cell:has(.standard[open])::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  border: 2px solid var(--blue);
}

.cell.is-also-target {
  z-index: 20;
  background: rgba(88, 132, 214, 0.22);
}

.cell.is-also-target::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  border: 2px solid var(--blue);
  box-shadow: inset 0 0 0 1px rgba(88, 132, 214, 0.35);
}

table.marking {
  user-select: none;
  -webkit-user-select: none;
}

table.marking .selection {
  touch-action: none;
}

.cell {
  position: relative;
  height: 100%;
  min-height: var(--open-row-height, 116px);
}

.selection {
  position: absolute;
  inset: 0 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 480;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.selection:hover {
  background: rgba(36, 86, 118, 0.025);
}

.standard {
  height: 0;
}

.standard > summary {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  padding: 0;
  border-top: 1px solid rgba(36, 86, 118, 0.08);
  list-style: none;
  cursor: pointer;
}

.standard > summary::-webkit-details-marker {
  display: none;
}

.standard > summary::after {
  content: "⌄";
  position: absolute;
  left: 7px;
  bottom: 1px;
  color: var(--ink);
  font-size: 14px;
  transition: transform 150ms ease;
}

.standard > summary:hover {
  background: rgba(36, 86, 118, 0.07);
}

.standard[open] > summary::after {
  transform: rotate(180deg);
}

.standard[open] > summary {
  color: var(--ink);
}

.cd-count {
  position: absolute;
  right: 5px;
  bottom: 2px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(36, 86, 118, 0.12);
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.cell:has(.standard[open]) .cd-count {
  background: rgba(74, 53, 112, 0.16);
  color: var(--open-ink);
}

.class-pct {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  z-index: 2;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}

.mark-date {
  position: absolute;
  right: 6px;
  bottom: 22px;
  z-index: 2;
  color: #5a6570;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  pointer-events: none;
  white-space: nowrap;
}

body.show-dates .selection {
  inset: 0 0 34px;
}

body.class-view .selection {
  inset: 0 0 42px;
}

body.class-view .cd-count {
  bottom: 2px;
}

.class-lead {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.class-groups {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.class-group .code {
  display: block;
  margin-bottom: 4px;
}

.class-name-list {
  margin: 0;
  padding-left: 1.1em;
}

.class-name-list li {
  margin: 0 0 2px;
  font-size: 13px;
  line-height: 1.35;
}

.class-empty {
  margin: 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 13px;
}

.class-cohort-dialog,
.class-tags-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: min(80vh, 640px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #000;
}

.class-cohort-dialog::backdrop,
.class-tags-dialog::backdrop {
  background: rgba(20, 40, 55, 0.28);
}

.class-cohort-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 8px;
}

.class-cohort-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.class-cohort-close,
.class-cohort-all,
.class-cohort-done,
.class-tags-close,
.class-tags-clear,
.class-tags-done {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 7px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.class-cohort-done,
.class-tags-done {
  background: #000;
  color: #fff;
  border-color: #000;
}

.class-cohort-summary {
  margin: 0;
  padding: 0 16px 10px;
  color: rgba(0, 0, 0, 0.65);
  font-size: 13px;
}

.class-cohort-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}

.class-tag-chip {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: rgba(249, 252, 254, 0.9);
  color: #000;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.class-tag-chip[aria-pressed="true"] {
  background: #000;
  color: #fff;
  border-color: #000;
}

.class-tag-empty {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
}

.class-cohort-list {
  overflow: auto;
  max-height: 42vh;
  padding: 0 8px 8px;
  border-top: 1px solid var(--line);
}

.class-student-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.class-student-row:hover {
  background: rgba(36, 86, 118, 0.06);
}

.class-student-row input {
  margin-top: 3px;
}

.class-student-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.class-student-name {
  font-size: 14px;
  font-weight: 600;
}

.class-student-tags {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
}

.class-cohort-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}

.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;
}

.empty {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  min-height: 116px;
  padding: 7px;
  color: rgba(36, 86, 118, 0.35);
  text-align: left;
}

.popover {
  position: absolute;
  z-index: 20;
  top: calc(100% - 5px);
  left: 7px;
  width: min(440px, calc(100vw - 48px));
  max-height: min(70vh, 620px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--open);
  box-shadow: 0 14px 34px rgba(28, 65, 88, 0.2);
}

.popover.is-fixed {
  position: fixed;
  z-index: 120;
}

td:nth-last-child(-n + 2) .popover {
  right: 7px;
  left: auto;
}

.code {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 7px;
}

.code-row .code {
  margin-bottom: 0;
}

.code-row .cd-also {
  margin: 0;
}

.cd-also {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}

.cd-also-label {
  color: rgba(36, 86, 118, 0.7);
  font-weight: 650;
}

.cd-also-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cd-also-link:hover {
  color: var(--ink);
}

.curriculum-standard.is-flash {
  border-radius: 8px;
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.description {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.curriculum-standard + .curriculum-standard {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.curriculum-standard.is-expandable {
  cursor: pointer;
  border-radius: 8px;
  margin-left: -6px;
  margin-right: -6px;
  padding-left: 6px;
  padding-right: 6px;
  transition: background 160ms ease;
}

.curriculum-standard.is-expandable:hover {
  background: rgba(255, 255, 255, 0.35);
}

.curriculum-standard.is-open {
  background: rgba(255, 255, 255, 0.45);
}

.elaboration-inline {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(36, 86, 118, 0.55);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  vertical-align: baseline;
}

.elaboration-inline::after {
  content: " +";
}

.curriculum-standard.is-open .elaboration-inline {
  color: rgba(36, 86, 118, 0.72);
}

.curriculum-standard.is-open .elaboration-inline::after {
  content: " −";
}

.elaboration-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 220ms ease, opacity 180ms ease;
}

.curriculum-standard.is-open .elaboration-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.elaboration-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.elaboration-panel ul {
  margin: 8px 0 0;
  padding: 8px 0 0 18px;
  border-top: 1px solid var(--line);
}

.elaboration-panel li {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink);
}

.elaboration-panel li:last-child {
  margin-bottom: 0;
}

.elaboration-panel .teacher-definition {
  margin-top: 8px;
}

.term-link {
  display: inline;
  padding: 0 1px;
  border: 0;
  border-bottom: 1px dashed rgba(36, 86, 118, 0.55);
  border-radius: 3px;
  background: rgba(36, 86, 118, 0.07);
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

.term-link:hover,
.term-link.is-active {
  background: #fff4c8;
  border-bottom-color: #8a4b12;
}

.teacher-lead {
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.teacher-examples {
  margin-top: 10px;
}

.teacher-examples ul {
  margin: 6px 0 0;
  padding-left: 1.15em;
}

.teacher-examples li {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
}

.teacher-examples li:last-child {
  margin-bottom: 0;
}

.teacher-writing {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.teacher-writing-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
}

.teacher-writing-toggle::-webkit-details-marker {
  display: none;
}

.teacher-writing-toggle::after {
  content: "+";
  flex: none;
  color: rgba(0, 0, 0, 0.55);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.teacher-writing[open] .teacher-writing-toggle::after {
  content: "–";
}

.teacher-writing-hint {
  margin-right: auto;
  margin-left: 8px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  font-weight: 600;
}

.teacher-writing ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.teacher-writing li.example-writing {
  margin: 0 0 12px;
}

.teacher-writing li.example-writing:last-child {
  margin-bottom: 0;
}

.example-quote {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #1f9d48;
  border-radius: 0 8px 8px 0;
  background: rgba(31, 157, 72, 0.06);
  color: #111;
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
  white-space: pre-wrap;
}

.example-note {
  margin: 6px 0 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 11px;
  line-height: 1.4;
}

.example-source {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.teacher-examples a.source-link,
.teacher-writing a.source-link {
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.teacher-examples a.source-link:hover,
.teacher-writing a.source-link:hover {
  color: #1d4f75;
}

.teacher-definition {
  margin-top: 14px;
  padding: 10px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: rgba(218, 236, 247, 0.6);
}

.teacher-definition > .code {
  display: block;
  margin-bottom: 8px;
}

.teacher-definition dl {
  margin: 0;
}

.teacher-term {
  margin: 0 -6px 10px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.teacher-term:last-child {
  margin-bottom: 0;
}

.teacher-term.is-active {
  background: #fff4c8;
  box-shadow: inset 0 0 0 1px rgba(180, 130, 20, 0.35);
}

.teacher-term:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.teacher-term dt {
  font-size: 12px;
  font-weight: 700;
}

.teacher-term dd {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.term-meaning {
  display: block;
}

.term-source-row {
  display: block;
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 11px;
  font-weight: 600;
}

.term-source-row .term-source,
a.term-source {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .logo span {
    font-size: 28px;
  }

  .checklist-toggle {
    order: 3;
    width: 100%;
    justify-content: stretch;
  }

  .checklist-toggle a {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 0 8px;
  }

  .header-actions {
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .student-slot {
    flex: 1 1 140px;
    width: auto;
    min-width: 0;
    max-width: 220px;
  }

  .view-filters {
    padding-bottom: 8px;
  }

  .filter-chip {
    min-height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }

  main {
    padding: 12px;
  }

  main:has(.checklist-block) {
    padding-top: 8px;
  }

  .table-frame {
    border-radius: 10px;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 7mm;
  }

  body {
    padding: 0;
    background: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .topbar {
    height: 8mm;
    padding: 0 2mm;
    background: #fff;
  }

  .header-inner {
    padding: 0;
  }

  .header-actions,
  .checklist-toggle,
  .print-menu,
  .view-filters {
    display: none;
  }

  .logo span {
    font-size: 13pt;
  }

  main {
    padding: 0;
  }

  .print-heading {
    display: block;
    height: 5mm;
    margin: 0;
    color: #000;
    font-size: 7pt;
    font-weight: 600;
    line-height: 5mm;
  }

  .table-frame {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .table-scroll {
    overflow: visible;
    border-radius: 0;
  }

  .mark-float {
    display: none;
  }

  table {
    min-width: 0;
  }

  thead th {
    height: 7mm;
    padding: 1mm;
    font-size: 7pt;
  }

  thead th:first-child {
    width: 25mm;
  }

  tbody th {
    padding: 1.3mm 1.3mm 1.3mm 2.8mm;
    font-size: 6.2pt;
  }

  col.is-collapsed,
  th.year-head.is-collapsed,
  td.is-collapsed,
  tr.is-collapsed,
  .spelling-checklists.is-collapsed {
    display: none !important;
  }

  td,
  .cell,
  .selection,
  .empty {
    height: 14mm;
    min-height: 14mm;
  }

  .spelling-table td {
    height: auto;
    min-height: 0;
  }

  .spelling-stack .cell,
  .spelling-stack .selection {
    height: 8.5mm;
    min-height: 8.5mm;
  }

  .selection {
    position: static;
    padding: 1.2mm;
    font-size: 5pt;
    line-height: 1.18;
  }

  td:has(.standard[open]) {
    box-shadow: none;
  }

  .cell:has(.standard[open])::after {
    content: none;
  }

  .standard > summary,
  .cd-count,
  .mark-mode,
  .mark-history,
  .mark-cancel,
  .save-dialog,
  .popover {
    display: none;
  }

  body.print-blank td:has([data-mark="confirmed"]),
  body.print-blank td:has([data-mark="developing"]),
  body.print-blank td.spelling-stack:has([data-mark="confirmed"]),
  body.print-blank td.spelling-stack:has([data-mark="developing"]),
  body.print-blank .spelling-stack .cell[data-mark="confirmed"],
  body.print-blank .spelling-stack .cell[data-mark="developing"] {
    background: #fff !important;
  }

}
