:root {
  --ink: #12233a;
  --navy: #1a365d;
  --navy-deep: #0f2340;
  --teal: #1d5c5c;
  --teal-dark: #154747;
  --paper: #f3f0e9;
  --white: #ffffff;
  --line: #d8d1c3;
  --muted: #5b6570;
  --gold: #9a7b3c;
  --danger: #8b2e2e;
  --success: #1e5a3a;
  --radius: 6px;
  --max: 1080px;
  --header-h: 4.25rem;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Georgia", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Login honeypot: off-screen text field (not type=hidden) for simple bots */
.login-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--teal-dark);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-kicker {
  background: var(--navy-deep);
  color: #d5deea;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-kicker .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link,
.nav-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-summary:hover,
.nav-details[open] > .nav-summary {
  background: var(--paper);
  color: var(--navy);
}

.nav-details {
  position: relative;
}

.nav-details > .nav-summary {
  list-style: none;
}

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

.nav-panel {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 0.35rem);
  min-width: 16rem;
  max-width: min(22rem, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(18, 35, 58, 0.12);
}

.nav-panel a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
}

.nav-panel a:hover {
  background: var(--paper);
}

.nav-panel-login {
  min-width: 18.5rem;
  padding: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.field input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: var(--white);
}

.field input:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0.85rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.eklase-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
}

.eklase-link:hover {
  background: #ebe6db;
  color: var(--ink);
}

.eklase-link img {
  display: block;
  height: 1.5rem;
  width: auto;
}

.eklase-link-icon {
  margin: 0.85rem auto 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  width: fit-content;
  max-width: 12rem;
}

.eklase-link-icon:hover {
  background: transparent;
  opacity: 0.88;
}

.eklase-link-icon img {
  height: auto;
  width: 100%;
  max-width: 12rem;
}

.eklase-link-hero {
  display: inline-block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 17rem;
}

.eklase-link-hero:hover {
  background: transparent;
  opacity: 0.9;
}

.eklase-link-hero img {
  height: auto;
  width: 100%;
  max-width: 17rem;
}

/* Alerts */

.site-alert {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.site-alert-error {
  background: #f6e8e8;
  color: var(--danger);
}

.site-alert-success {
  background: #e7f2ea;
  color: var(--success);
}

/* Main */

.site-main {
  flex: 1;
  padding: 2rem 0 3.5rem;
}

/* Home */

.hero {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 18ch;
}

.hero-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.motto {
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.15rem;
  border: 0;
  border-left: 3px solid var(--teal);
  color: var(--ink);
}

.motto-quote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
}

.motto-desc {
  margin: 0.75rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.motto-desc strong {
  font-weight: 700;
  color: var(--ink);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.grade-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 9.5rem;
  padding: 1rem 1rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}

.grade-card:hover {
  border-color: var(--navy);
  color: var(--ink);
}

.grade-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}

.grade-label {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.grade-go {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
}

.info-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Task list / worksheet */

.page-title {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.page-meta {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.list-search {
  display: block;
  margin: 0 0 0.85rem;
}

.list-search input {
  width: 100%;
  max-width: 28rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.list-search input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.list-search-empty {
  margin: 0;
  padding: 1.1rem 1rem;
  color: var(--muted);
  text-align: center;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.data-table th,
.data-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.data-table a:hover {
  text-decoration: underline;
}

.worksheet {
  background: var(--white);
  padding: 0.4rem 0 0.8rem;
}

@media screen {
  body.is-worksheet .site-main {
    padding-left: max(2.5rem, 8vw);
    padding-right: max(2.5rem, 8vw);
  }

  body.is-worksheet .site-main > .wrap {
    width: 100%;
    max-width: 54rem;
    margin-inline: auto;
  }

  body.is-worksheet .worksheet {
    padding: 1rem 2.5rem 1.5rem;
  }
}

.ws-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.ws-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13.5rem;
  gap: 1.5rem 2rem;
  align-items: start;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.ws-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ws-head h1 {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}

.ws-desc {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.ws-id {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.78rem;
  min-width: 12.5rem;
}

.ws-id-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.ws-id-write {
  display: block;
  width: 100%;
  height: 1.15rem;
  border-bottom: 1px solid var(--ink);
}

.ws-id-caption {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-align: center;
}

.ws-id-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem;
}

.ws-id-field {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

.ws-id-field:first-child {
  flex: 0 1 42%;
}

.ws-id-field-date {
  flex: 1 1 58%;
}

.ws-id-field i {
  flex: 1;
  border-bottom: 1px solid var(--ink);
  height: 0.95rem;
  min-width: 1.75rem;
  font-style: normal;
}

.ws-id-date-mask {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.ws-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  column-gap: 1.75rem;
  row-gap: 0;
  counter-reset: q;
}

.ws-list-cols-2 {
  grid-template-columns: 1fr 1fr;
}

.ws-list-cols-1 {
  grid-template-columns: 1fr;
}

.ws-list-split {
  grid-template-columns: 1fr;
}

.ws-list-split .ws-layout-inline .ws-body {
  grid-template-columns: minmax(0, 1fr) var(--answer-ch, 8ch);
}

.ws-list-split .ws-checkbox .ws-body {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ws-span-2 {
  grid-column: 1 / -1;
}

.ws-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0 0.75rem;
  border: 0;
  border-bottom: 1px solid #e6e1d6;
  background: transparent;
  break-inside: avoid;
  page-break-inside: avoid;
}

.ws-n {
  position: static;
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
  box-shadow: none;
  counter-increment: q;
}

.ws-n::before {
  content: counter(q);
}

.ws-body {
  flex: 1;
  min-width: 0;
}

.ws-layout-inline .ws-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--answer-ch, 8ch);
  column-gap: 0.85rem;
  align-items: start;
}

.ws-layout-inline .ws-prompt {
  min-width: 0;
}

.ws-layout-inline .ws-prompt .chem_equation {
  display: inline-block;
  white-space: nowrap;
  max-width: none;
}

.ws-layout-inline .ws-body:has(.chem_equation) {
  grid-template-columns: max-content minmax(6ch, 1fr);
}

.ws-layout-inline .ws-body:has(.chem_equation) .ws-prompt {
  min-width: max-content;
}

.ws-layout-inline .ws-answer {
  align-self: start;
  padding-top: 0.1rem;
}

.ws-layout-inline .ws-answer-field {
  display: block;
  width: 100%;
  min-height: 1.1rem;
}

.ws-layout-stack .ws-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.ws-layout-stack .ws-prompt {
  width: 100%;
}

.ws-layout-stack .ws-answer {
  width: 100%;
}

.ws-layout-stack .ws-answer-field {
  display: block;
  width: min(100%, max(10ch, var(--answer-ch, 12ch)));
  min-height: 1.1rem;
}

.ws-layout-block .ws-body {
  display: block;
}

.ws-checkbox .ws-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: start;
}

.ws-checkbox .ws-prompt {
  min-width: 0;
  font-weight: 400;
}

.ws-checkbox .ws-prompt,
.ws-checkbox .ws-prompt .chem_equation {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
}

.ws-checkbox .ws-answer {
  justify-self: end;
  align-self: start;
  min-width: 0;
}

.ws-checkbox .ws-choices {
  justify-content: flex-end;
  margin: 0;
}

.ws-equation .ws-body {
  display: block;
}

.ws-prompt {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.4;
}

.ws-formula .ws-prompt,
.ws-formula .ws-prompt .chem_equation,
.chem_equation {
  white-space: nowrap;
}

.ws-formula.ws-layout-inline .ws-prompt {
  min-width: max-content;
}

.ws-formula.ws-layout-inline .ws-body {
  grid-template-columns: max-content minmax(6ch, 1fr);
}

.eq-line {
  display: block;
  width: 100%;
}

.eq-arrow {
  margin-left: 0.35rem;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--navy);
}

.eq-coef {
  display: inline-block;
  width: 1.2em;
  height: 0.85em;
  margin: 0 0.15em 0 0.05em;
  vertical-align: -0.08em;
}

.chem_equation {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05em;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.chem_equation sub {
  font-size: 0.72em;
}

.answer_label:empty {
  display: none;
}

.answer_label {
  margin: 0;
  text-align: center;
  color: var(--navy);
  font-size: 1.02rem;
}

.answer_input {
  width: 100%;
  margin: 0;
  padding: 0.05rem 0.15rem 0.1rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
}

.answer_input.formula {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0.02em;
}

.answer_input:focus {
  outline: none;
  border-bottom-color: var(--teal);
}

.print-only {
  display: none;
}

.ws-prompt img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.ws-write {
  display: block;
  min-height: 1.1rem;
}

.ws-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.ws-choices li {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.92rem;
  font-weight: 400;
}

.ws-choice-text {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
}

.ws-box {
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #d7deea;
  padding: 1.6rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-title {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer a {
  color: #e8eef6;
}

.footer-meta {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #2a4060;
  font-size: 0.82rem;
  color: #9eabc0;
}

@media screen and (max-width: 900px) {
  .grade-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-grid,
  .footer-grid,
  .ws-list {
    grid-template-columns: 1fr;
  }

  .ws-span-2 {
    grid-column: auto;
  }
}

@media screen and (max-width: 720px) {
  .ws-head-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media screen and (max-width: 768px) {
  .header-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 0 0.9rem;
    min-height: 0;
  }

  .brand {
    width: 100%;
  }

  .brand-sub {
    display: none;
  }

  .site-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .site-nav > .btn {
    width: 100%;
  }

  .nav-details {
    width: 100%;
    min-width: 0;
  }

  .nav-summary {
    width: 100%;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .nav-panel,
  .nav-panel-login {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .grade-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-side {
    justify-content: flex-end;
  }

  .eklase-link-hero {
    max-width: 14rem;
  }

  .hero h1 {
    max-width: none;
  }
}

@page {
  size: A4 portrait;
  margin: 10mm 12mm;
}

@media print {
  .skip-link,
  .site-header,
  .site-footer,
  .site-alert,
  .no-print {
    display: none !important;
  }

  html,
  body.site {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  body.site {
    display: block;
    min-height: 0;
  }

  .site-main {
    padding: 0;
  }

  .site-main .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .worksheet {
    padding: 0;
  }

  .ws-head {
    break-inside: avoid;
    page-break-inside: avoid;
    break-after: avoid;
    page-break-after: avoid;
    margin-bottom: 3mm;
    padding-bottom: 2.5mm;
    border-bottom: 0.4pt solid #000;
  }

  .ws-head-grid {
    display: grid;
    grid-template-columns: 1fr 44mm;
    gap: 3mm 6mm;
    align-items: start;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .ws-head h1 {
    font-size: 13pt;
  }

  .ws-id {
    gap: 1.8mm;
    font-size: 8.5pt;
  }

  .ws-id-write,
  .ws-id-field i {
    border-bottom-color: #000;
  }

  .ws-id-caption {
    font-size: 7pt;
  }

  .ws-list {
    column-gap: 8mm;
    row-gap: 0;
  }

  .ws-list-cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .ws-list-cols-1 {
    grid-template-columns: 1fr;
  }

  .ws-span-2 {
    grid-column: 1 / -1;
  }

  .ws-item {
    display: flex;
    align-items: flex-start;
    gap: 2mm;
    break-inside: avoid;
    page-break-inside: avoid;
    border: 0;
    border-bottom: 0.3pt solid #c8c8c8;
    padding: 1.5mm 0;
    margin: 0;
    background: transparent;
  }

  .ws-n {
    width: 5mm;
    height: 5mm;
    font-size: 8.5pt;
    background: #1a365d;
    color: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .eq-coef {
    border-bottom: 0;
  }

  .ws-formula .ws-prompt,
  .ws-formula .ws-prompt .chem_equation,
  .chem_equation {
    white-space: nowrap;
  }

  .ws-prompt img {
    max-height: 32mm;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .ws-box {
    border-color: #000;
  }

  .ws-checkbox .ws-answer {
    justify-self: end;
  }

  .ws-checkbox .ws-choices {
    justify-content: flex-end;
  }

  .print-only {
    display: block !important;
  }

  .answer_input,
  .answer_label {
    display: none !important;
  }
}
