.maths-sample-page {
  min-width: 320px;
  margin: 0;
  color: #253442;
  background: #eaf5f3;
}

.sample-toolbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(18px, calc((100% - 900px) / 2));
  background: #07565c;
}

.sample-toolbar a,
.sample-toolbar button {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sample-toolbar a {
  text-decoration: none;
}

.sample-toolbar button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #0a8c80;
  cursor: pointer;
}

.sample-document {
  width: min(900px, calc(100% - 28px));
  margin: 32px auto 55px;
  padding: 52px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 86, 92, 0.16);
}

.sample-document-brand,
.student-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sample-document-brand {
  padding-bottom: 20px;
  border-bottom: 2px solid #0a8c80;
}

.sample-document-brand .brand-logo {
  width: 220px;
  margin-bottom: 6px;
}

.sample-document-brand {
  border-bottom-color: #4b86c6;
}

.sample-toolbar {
  background: #263766;
}

.sample-toolbar button {
  color: #263766;
  background: #f2bd3e;
}

.sample-document-brand strong,
.sample-title-block h1,
.notebook-block h2,
.test-questions h2 {
  font-family: "Salsa", cursive;
  font-weight: 400;
}

.sample-document-brand strong {
  display: block;
  color: #07565c;
  font-size: 25px;
}

.sample-document-brand span,
.sample-document-brand p,
.sample-title-block span {
  color: #697481;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-title-block {
  margin: 34px 0;
  text-align: center;
}

.sample-title-block h1 {
  margin: 8px 0;
  color: #07565c;
  font-size: 42px;
}

.sample-title-block p {
  margin: 0;
  color: #66717d;
}

.notebook-block {
  padding: 19px 22px 20px 68px;
  border-bottom: 1px solid #b9d9ee;
  background: repeating-linear-gradient(#fff 0, #fff 35px, #d9edf8 36px);
}

.notebook-block h2,
.test-questions h2 {
  margin: 0 0 10px;
  color: #07565c;
  font-size: 23px;
}

.notebook-block p,
.notebook-block li,
.test-questions li,
.test-instructions li {
  font-size: 14px;
  line-height: 1.8;
}

.sample-equation {
  margin: 18px 0;
  color: #0a8c80;
  font-family: "Salsa", cursive;
  font-size: 32px;
  text-align: center;
}

.worked-example,
.sample-tip,
.sample-practice,
.test-instructions,
.print-answer-key {
  margin: 20px 0;
  padding: 18px 22px;
  border-radius: 12px;
  background: #eef8f6;
}

.worked-example span,
.sample-tip strong {
  color: #0a8c80;
  font-weight: 800;
}

.sample-practice {
  background: #fff4d6;
}

.student-line {
  margin-bottom: 25px;
  color: #596571;
  font-size: 12px;
}

.test-instructions {
  border-left: 4px solid #ffb31f;
}

.test-instructions ul {
  margin-bottom: 0;
}

.test-questions {
  margin: 32px 0;
}

.test-questions li {
  min-height: 70px;
  padding: 8px 0 32px 6px;
  border-bottom: 1px dotted #afb8bf;
}

.print-answer-key summary {
  color: #07565c;
  font-weight: 800;
  cursor: pointer;
}

.print-answer-key ol {
  columns: 2;
}

.sample-document footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #dce3e5;
  color: #78818a;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 680px) {
  .sample-document {
    padding: 28px 20px;
  }

  .sample-document-brand,
  .student-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-document-brand .brand-logo {
    width: 190px;
  }

  .sample-title-block h1 {
    font-size: 34px;
  }

  .notebook-block {
    padding-left: 20px;
  }

  .print-answer-key ol {
    columns: 1;
  }
}

@media print {
  .maths-sample-page {
    background: #fff;
  }

  .sample-toolbar {
    display: none;
  }

  .sample-document {
    width: 100%;
    margin: 0;
    padding: 20px;
    box-shadow: none;
  }
}
