* {
  box-sizing: border-box;
}
html {
  color: #183b31;
  background: #edf0eb;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.print-toolbar {
  max-width: 960px;
  margin: 28px auto;
  padding: 0 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.print-toolbar p {
  flex-basis: 100%;
  margin: 0;
  color: #4e6058;
  font-size: 14px;
}
.print-toolbar a {
  color: inherit;
  text-underline-offset: 0.2em;
}
.print-button {
  border: 0;
  border-radius: 8px;
  background: #183b31;
  color: white;
  padding: 12px 20px;
  font: inherit;
  cursor: pointer;
}
.print-button:focus-visible,
a:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid #8c6c24;
  outline-offset: 3px;
}
.sheet {
  max-width: 960px;
  margin: 24px auto;
  padding: 48px 56px;
  background: white;
  box-shadow: 0 2px 18px #183b310d;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid #183b31;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sheet-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sheet h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
}
.sheet h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 22px 0 12px;
}
.intro {
  color: #4e6058;
  max-width: 76ch;
}
.identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.entry {
  display: block;
  min-height: 28px;
  border-bottom: 1px solid #9aa9a1;
  padding: 4px 2px;
  color: #183b31;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.identity label,
.label {
  font-size: 12px;
  font-weight: bold;
  color: #52635b;
}
.worksheet {
  table-layout: fixed;
  overflow-wrap: anywhere;
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
}
.worksheet .behaviour-column {
  width: 34%;
}
.worksheet .score-column {
  width: 10%;
}
.worksheet .evidence-column {
  width: 56%;
}
.worksheet th {
  text-align: left;
  background: #eef2ed;
  padding: 9px;
  font-size: 12px;
}
.worksheet td {
  padding: 10px 9px;
  border-bottom: 1px solid #ccd5cc;
  vertical-align: top;
}
.worksheet td:first-child {
  font-size: 14px;
  font-weight: bold;
}
.worksheet .entry {
  min-height: 34px;
  border: 0;
}
.worksheet td:nth-child(2) .entry {
  border-bottom: 1px solid #9aa9a1;
}
.totals {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.totals label {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: baseline;
  font-size: 14px;
}
.totals .entry {
  display: inline-block;
  min-width: 50px;
}
.next-step {
  margin: 18px 0;
}
.next-step .entry {
  min-height: 40px;
}
.rubric {
  margin: 22px 0;
}
.criterion {
  break-inside: avoid;
  margin: 0 0 18px;
}
.criterion h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.levels div {
  border-top: 2px solid #d8e1d6;
  padding-top: 7px;
}
.levels strong {
  display: block;
  font-size: 11px;
  color: #52635b;
  margin-bottom: 4px;
}
.levels p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}
.worked-copy p {
  margin: 12px 0;
}
.example-scores {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  max-width: 650px;
}
.example-scores li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid #d8e1d6;
  font-size: 14px;
}
.debrief {
  padding: 18px 22px;
  background: #eef2ed;
  margin-top: 24px;
}
.debrief h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.debrief ol {
  margin: 0;
  padding-left: 20px;
}
.debrief li + li {
  margin-top: 7px;
}
.sheet-footer {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid #d8e1d6;
  font-size: 11px;
  color: #52635b;
}
.sheet-footer a {
  color: inherit;
}
.method {
  padding-left: 20px;
  font-size: 14px;
}
.method li + li {
  margin-top: 8px;
}
@media (max-width: 650px) {
  .sheet {
    padding: 26px 20px;
    margin: 16px 12px;
  }
  .sheet h1 {
    font-size: 29px;
  }
  .levels,
  .identity {
    grid-template-columns: 1fr;
  }
  .worksheet td,
  .worksheet th {
    padding: 8px 4px;
  }
  .worksheet td:first-child {
    font-size: 12px;
  }
  .print-toolbar {
    padding: 0 24px;
  }
}
@page {
  size: A4;
  margin: 14mm;
}
@media print {
  html {
    background: white;
  }
  body {
    font-size: 10.5pt;
    line-height: 1.4;
  }
  .print-toolbar {
    display: none;
  }
  .sheet {
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    break-after: page;
  }
  .sheet:last-child {
    break-after: auto;
  }
  .sheet-header {
    font-size: 8pt;
  }
  .sheet-brand img {
    width: 16px;
    height: 16px;
  }
  .sheet h1 {
    font-size: 25pt;
    margin-top: 18px;
  }
  .sheet h2 {
    font-size: 22pt;
  }
  .intro {
    font-size: 10pt;
  }
  .identity {
    margin: 18px 0;
    gap: 12px;
  }
  .worksheet {
    margin: 16px 0;
  }
  .worksheet td {
    padding: 9px 7px;
  }
  .worksheet td:first-child {
    font-size: 10pt;
  }
  .worksheet th {
    font-size: 8pt;
  }
  .worksheet .entry {
    min-height: 29px;
  }
  .totals {
    margin-bottom: 14px;
  }
  .totals label {
    font-size: 10pt;
  }
  .next-step {
    margin: 12px 0;
  }
  .next-step .entry {
    min-height: 30px;
  }
  .criterion {
    margin-bottom: 14px;
  }
  .criterion h3 {
    font-size: 10.5pt;
    margin-bottom: 6px;
  }
  .levels {
    gap: 12px;
  }
  .levels strong {
    font-size: 8pt;
  }
  .levels p {
    font-size: 9.2pt;
    line-height: 1.38;
  }
  .method {
    font-size: 10pt;
  }
  .example-scores li {
    font-size: 10pt;
    padding: 6px 0;
  }
  .debrief {
    padding: 14px 18px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .debrief h3 {
    font-size: 12pt;
  }
  .sheet-footer {
    font-size: 8pt;
    margin-top: 20px;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .worksheet th {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
