:root {
        --ink: #18314f;
        --muted-ink: #597086;
        --paper: #ffffff;
        --screen: #eaf2f7;
        --jewel: #15a8c9;
        --jewel-dark: #087a9f;
        --jewel-light: #92e4ef;
        --gold: #f2b84b;
        --panel: #f4fafc;
        --line: #bed3dd;
      }

      * {
        box-sizing: border-box;
      }

      @page {
        size: Letter portrait;
        margin: 0.5in;
      }

      html {
        background: var(--screen);
      }

      body {
        margin: 0;
        color: var(--ink);
        font-family: "Aptos", "Segoe UI", Arial, sans-serif;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }

      .worksheet {
        display: flex;
        flex-direction: column;
        width: min(45rem, calc(100% - 2rem));
        min-height: 60rem;
        margin: 2.1rem auto;
        padding: 0.22in 0.28in 0.18in;
        overflow: visible;
        background: var(--paper);
        border-radius: 0.16in;
        box-shadow: 0 0.12in 0.4in rgb(24 49 79 / 14%);
      }

      .worksheet-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 0.28in;
        padding-bottom: 0.1in;
        border-bottom: 2px solid var(--ink);
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 0.1in;
        flex: 0 0 auto;
        color: inherit;
        text-decoration: none;
      }

      .brand-jewel {
        display: block;
        width: 0.43in;
        height: 0.34in;
        object-fit: contain;
        filter: drop-shadow(0 0.012in 0.012in rgb(24 49 79 / 24%));
      }

      .brand-name {
        font-size: 0.23in;
        font-weight: 850;
        letter-spacing: 0.015em;
      }

      .student-fields {
        display: flex;
        gap: 0.22in;
        flex: 1 1 auto;
        justify-content: flex-end;
        color: var(--muted-ink);
        font-size: 0.13in;
        font-weight: 700;
      }

      .student-field {
        display: flex;
        align-items: flex-end;
        gap: 0.06in;
      }

      .student-field.name {
        width: 2.05in;
      }

      .student-field.date {
        width: 1.25in;
      }

      .student-field-line {
        flex: 1;
        min-width: 0.6in;
        height: 0.18in;
        border-bottom: 1.5px solid var(--muted-ink);
      }

      main {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
      }

      .problem {
        padding: 0.18in 0.08in 0.08in;
      }

      .problem-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 2.4in;
        align-items: start;
        gap: 0.2in;
        margin-bottom: 0.16in;
      }

      .problem-title-block {
        min-width: 0;
      }

      h1 {
        margin: 0;
        overflow-wrap: break-word;
        font-size: 0.35in;
        line-height: 1.12;
        letter-spacing: -0.02em;
      }

      .title-accent {
        width: 0.72in;
        height: 0.055in;
        margin: 0.12in 0 0;
        background: var(--gold);
        border-radius: 999px;
      }

      .problem-content {
        font-size: 0.205in;
        line-height: 1.48;
      }

      .problem-content > :first-child {
        margin-top: 0;
      }

      .problem-content > :last-child {
        margin-bottom: 0;
      }

      .problem-content p,
      .problem-content ul,
      .problem-content ol {
        margin: 0 0 0.14in;
      }

      .problem-content strong {
        color: var(--jewel-dark);
      }

      .problem-setup {
        margin: 0 0 0.2in;
        padding: 0.16in 0.18in 0.15in;
        background: #fffaf0;
        border: 1px solid #ead79c;
        border-left: 0.055in solid var(--gold);
        border-radius: 0.08in;
        break-inside: avoid;
      }

      .problem-setup > :last-child {
        margin-bottom: 0;
      }

      .problem-content .problem-setup p {
        font-size: 0.215in;
        line-height: 1.48;
      }

      .problem-section-label {
        margin: 0 0 0.055in;
        color: var(--jewel-dark);
        font-size: 0.125in;
        line-height: 1.2;
        font-weight: 850;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .problem-data {
        margin: 0.16in 0;
        padding: 0.11in 0.14in;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 0.08in;
        break-inside: avoid;
      }

      .problem-data table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.17in;
        line-height: 1.3;
      }

      .problem-data th,
      .problem-data td {
        padding: 0.06in 0.08in;
        text-align: left;
        border-bottom: 1px solid var(--line);
      }

      .problem-data tbody tr:last-child > :is(th, td) {
        border-bottom: 0;
      }

      .problem-response-surface {
        background: #fffdf4;
        border-color: #d9c98f;
      }

      .problem-response-surface > p {
        margin: 0 0 0.07in;
        font-size: 0.14in;
        line-height: 1.35;
      }

      .problem-response-surface caption {
        margin-bottom: 0.045in;
        color: var(--muted-ink);
        font-size: 0.125in;
        text-align: left;
      }

      .problem-response-surface th {
        font-weight: 800;
      }

      .problem-response-surface tbody td {
        min-height: 0.28in;
        background: #ffffff;
        border-left: 1px solid var(--line);
      }

      .problem-question {
        margin: 0.22in 0 0.14in;
        padding: 0.14in 0.16in 0.15in;
        background: #f4fafc;
        border: 1px solid var(--line);
        border-left: 0.055in solid var(--gold);
        border-radius: 0.08in;
        break-inside: avoid;
      }

      .problem-question-header {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.18in;
        margin-bottom: 0.09in;
      }

      .problem-question-header .problem-section-label {
        margin: 0;
      }

      .problem-content .problem-question .problem-paper-note {
        margin: 0;
        color: var(--muted-ink);
        font-size: 0.125in;
        line-height: 1.3;
        font-weight: 750;
        text-align: right;
      }

      .problem-content .problem-question p,
      .problem-content .problem-question ul,
      .problem-content .problem-question ol {
        margin: 0;
        font-size: 0.215in;
        line-height: 1.4;
        font-weight: 750;
      }

      .problem-content .problem-question ul,
      .problem-content .problem-question ol {
        padding-left: 0.24in;
      }

      .problem-question li + li {
        margin-top: 0.06in;
      }

      .problem-question--multipart {
        break-inside: auto;
      }

      .problem-content .problem-question .problem-parts {
        margin: 0;
        padding-left: 0.28in;
        font-size: inherit;
        line-height: inherit;
        font-weight: 400;
      }

      .problem-part {
        padding: 0.13in 0 0.14in 0.02in;
        break-inside: avoid;
      }

      .problem-part::marker {
        color: var(--jewel-dark);
        font-size: 0.2in;
        font-weight: 900;
      }

      .problem-part + .problem-part {
        margin-top: 0.07in;
        border-top: 1px solid var(--line);
      }

      .problem-part-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 0.14in;
      }

      .problem-content .problem-part-copy p,
      .problem-content .problem-part-copy ul {
        margin: 0;
        font-size: 0.195in;
        line-height: 1.4;
        font-weight: 750;
      }

      .problem-content .problem-part-copy .problem-part-role {
        margin-bottom: 0.035in;
        color: var(--jewel-dark);
        font-size: 0.125in;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .problem-directions {
        margin: 0.12in 0 0;
        padding: 0.1in 0.14in;
        border: 1px solid var(--line);
        border-radius: 0.08in;
        break-inside: avoid;
      }

      .problem-content .problem-directions p,
      .problem-content .problem-directions ul,
      .problem-content .problem-directions ol {
        margin: 0;
        font-size: 0.16in;
        line-height: 1.4;
      }

      .problem-directions li + li {
        margin-top: 0.04in;
      }

      .problem-figure {
        margin: 0.18in auto;
        text-align: center;
      }

      .problem-figure img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 3.35in;
        margin: 0 auto;
        object-fit: contain;
      }

      .problem-figure figcaption {
        margin-top: 0.06in;
        color: var(--muted-ink);
        font-size: 0.13in;
        line-height: 1.3;
      }

      .problem-heading h1 {
        text-wrap: balance;
      }

      .problem-section-label--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;
      }

      .problem-content p,
      .problem-content li {
        text-wrap: pretty;
      }

      .problem-data,
      .problem-response-surface,
      .mj-layout--data-lab {
        font-variant-numeric: tabular-nums lining-nums;
      }

      .mj-layout__opening,
      .mj-layout__question-zone {
        min-width: 0;
      }

      .mj-layout__visual {
        min-width: 0;
      }

      .mj-layout__visual .problem-figure:first-child {
        margin-top: 0;
      }

      .mj-layout__visual .problem-figure:last-child {
        margin-bottom: 0;
      }

      .mj-layout--scene-prompt .mj-layout__opening:has(.mj-layout__visual),
      .mj-layout--text-led-feature .mj-layout__opening:has(.mj-layout__visual),
      .mj-layout__question-zone:has(.mj-layout__visual--questions) {
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(1.7in, 0.88fr);
        gap: 0.2in;
        align-items: center;
      }

      .mj-layout--scene-prompt .mj-layout__opening:has(.mj-layout__visual) .problem-setup,
      .mj-layout--text-led-feature .mj-layout__opening:has(.mj-layout__visual) .problem-setup,
      .mj-layout__question-zone:has(.mj-layout__visual--questions) .problem-question {
        margin-block: 0;
      }

      .mj-layout--diagram-hero .mj-layout__visual--central,
      .mj-layout--construction-canvas .mj-layout__visual--central,
      .mj-layout--construction-canvas .mj-layout__visual--response {
        width: min(100%, 6.5in);
        margin-inline: auto;
      }

      .mj-layout--compare-gallery .mj-layout__visual--central {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.16in;
        align-items: start;
      }

      .mj-layout--sequence-path .mj-layout__visual--central {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 0.12in;
        align-items: center;
      }

      .problem-figure--decorative-hero img {
        max-height: 2.7in;
      }

      .problem-figure--accent {
        max-width: 2.1in;
      }

      .image-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.18in;
        align-items: center;
      }

      .worksheet-footer {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.2in;
        margin-top: 0.08in;
        color: var(--muted-ink);
        font-size: 0.1in;
        letter-spacing: 0.03em;
      }

      .problem-url {
        color: var(--ink);
        font-weight: 850;
        white-space: nowrap;
      }

      .problem-url[href] {
        text-decoration: underline;
        text-decoration-thickness: 0.01in;
        text-underline-offset: 0.02in;
      }

      .problem-url[href]:hover {
        color: var(--jewel-dark);
      }

      .problem-url[href]:focus-visible {
        outline: 2px solid var(--jewel);
        outline-offset: 2px;
        border-radius: 0.03in;
      }

      .problem-url:not([href]) {
        color: var(--muted-ink);
      }

      .problem-url strong {
        color: inherit;
        font-weight: inherit;
      }

      .fit-warning {
        position: fixed;
        right: 0.2in;
        bottom: 0.2in;
        left: 0.2in;
        z-index: 10;
        max-width: 7.5in;
        margin: auto;
        padding: 0.12in 0.18in;
        color: #6d240d;
        background: #fff2d8;
        border: 2px solid #e57d31;
        border-radius: 0.1in;
        box-shadow: 0 0.06in 0.2in rgb(24 49 79 / 18%);
        font-size: 0.14in;
        font-weight: 750;
        text-align: center;
      }

      [hidden] {
        display: none !important;
      }

      /* Used by the local authoring/release probe to measure print geometry in a headless screen context. */
      html[data-print-fit-probe],
      html[data-print-fit-probe] body {
        width: 7.5in;
        min-height: 10in;
      }

      html[data-print-fit-probe] .worksheet {
        display: flex;
        width: 7.5in;
        height: 9.98in;
        min-height: 0;
        margin: 0;
        overflow: hidden;
        border-radius: 0;
        box-shadow: none;
      }

      html[data-print-fit-probe] .worksheet[data-print-pages="2"] {
        height: 19.98in;
      }

      html[data-print-fit-probe] .worksheet[data-print-pages="3"] {
        height: 29.98in;
      }

      @media print {
        html,
        body {
          width: 7.5in;
          height: auto;
          background: #ffffff;
        }

        .worksheet {
          display: flex;
          width: 7.5in;
          height: 9.98in;
          min-height: 0;
          margin: 0;
          overflow: hidden;
          border-radius: 0;
          box-shadow: none;
          break-inside: avoid;
        }

        .worksheet[data-print-pages="2"] {
          height: 19.98in;
          break-inside: auto;
        }

        .worksheet[data-print-pages="3"] {
          height: 29.98in;
          break-inside: auto;
        }

        .fit-warning {
          display: none !important;
        }

      }

/* Screen-only worksheet context and actions. */
html { scroll-padding-top: 4.5rem; }
  [data-jewel-reward] {
    display: inline-flex;
    min-width: 2.25in;
    max-width: 2.75in;
    min-height: 0.72in;
    padding: 0.09in 0.12in;
    align-items: center;
    justify-content: flex-start;
    gap: 0.1in;
    color: #18314f;
    background: linear-gradient(145deg, #fffdf8, #fff1c9);
    border: 1px solid #d9b85d;
    border-radius: 0.16in;
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
    white-space: normal;
    box-shadow: 0 0.05in 0.12in rgb(24 49 79 / 12%);
  }

  /* Keep complete rating evidence visible on screen for every audience. */
  .problem-details {
    overflow: hidden;
  }
  .related-worksheets { margin-bottom: 1rem; }
  [data-jewel-reward] .jewel-placeholder {
    position: relative;
    display: inline-block;
    width: 0.5in;
    aspect-ratio: 1;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(145deg, rgb(255 255 255 / 78%), transparent 38%), linear-gradient(325deg, var(--jewel-accent), var(--jewel-color) 56%);
    border: 1px solid #31506b;
    border-radius: 30% 55% 36% 50%;
    clip-path: polygon(50% 1%, 88% 17%, 100% 57%, 73% 94%, 31% 100%, 3% 68%, 10% 25%);
    filter: drop-shadow(0 0.04in 0.035in rgb(13 38 61 / 22%));
    transform: rotate(-4deg);
  }
  [data-jewel-reward] .jewel-placeholder::before { position: absolute; width: 65%; height: 24%; top: 12%; left: 10%; content: ""; background: linear-gradient(115deg, rgb(255 255 255 / 84%), transparent); border-radius: 999px; transform: rotate(-18deg); }
  [data-jewel-reward] .jewel-placeholder[data-placeholder-shape="round"] { border-radius: 50%; clip-path: circle(49%); }
  [data-jewel-reward] .jewel-placeholder[data-placeholder-shape="cabochon"] { border-radius: 50%; clip-path: ellipse(47% 49%); }
  [data-jewel-reward] .jewel-placeholder[data-placeholder-shape="crystal"] { border-radius: 8%; clip-path: polygon(50% 0, 82% 15%, 100% 62%, 68% 100%, 20% 91%, 0 43%, 18% 10%); }
  [data-jewel-reward] .jewel-placeholder[data-placeholder-shape="prism"] { border-radius: 5%; clip-path: polygon(24% 0, 76% 0, 100% 50%, 74% 100%, 25% 100%, 0 50%); }
  [data-jewel-reward] .jewel-placeholder[data-placeholder-shape="faceted"] { border-radius: 5%; clip-path: polygon(28% 0, 72% 0, 100% 33%, 75% 100%, 25% 100%, 0 33%); }
  [data-jewel-reward] .jewel-placeholder.jewel-placeholder--artwork { overflow: visible; background: none; border: 0; border-radius: 0; clip-path: none; transform: none; }
  [data-jewel-reward] .jewel-placeholder.jewel-placeholder--artwork::before,
  [data-jewel-reward] .jewel-placeholder.jewel-placeholder--artwork > span { display: none; }
  [data-jewel-reward] .jewel-reward__copy { min-width: 0; display: grid; gap: 0.01in; text-align: left; }
  [data-jewel-reward] .jewel-reward__copy > span { color: #795000; font-size: 7.5pt; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
  [data-jewel-reward] .jewel-reward__copy > strong { overflow-wrap: anywhere; font-size: 10pt; line-height: 1.05; }
  [data-jewel-reward] .jewel-reward__copy > small { color: #496478; font-size: 7.5pt; font-weight: 700; }
  [data-worksheet-footer] {
    min-height: 0.58in;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.12in;
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
  }
  [data-worksheet-footer] .worksheet-footer__copy {
    min-width: 0;
    display: grid;
    gap: 0.01in;
    color: #496478;
    font-size: 7.5pt;
    line-height: 1.15;
  }
  [data-worksheet-footer] .worksheet-footer__copy > strong { color: #18314f; font-size: 8pt; }
  [data-worksheet-footer][data-footer-mode="personalized"] .worksheet-footer__copy > strong { color: #795000; font-size: 9pt; }
  [data-worksheet-footer] .worksheet-footer__copy a { color: inherit; overflow-wrap: anywhere; }
  [data-worksheet-footer] .worksheet-footer__qr-link { display: inline-flex; flex: 0 0 auto; color: inherit; }
  [data-worksheet-footer] .worksheet-footer__qr { display: block; width: 0.52in; height: 0.52in; background: #fff; }
  [data-worksheet-skip-link] {
    position: fixed;
    z-index: 1100;
    top: 0.4rem;
    left: 0.5rem;
    padding: 0.65rem 0.85rem;
    color: #fff;
    background: #18314f;
    border-radius: 0.45rem;
    font: 800 0.8rem/1 Aptos, "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    transform: translateY(-150%);
  }
  [data-worksheet-skip-link]:focus { outline: 3px solid #f2b84b; outline-offset: 2px; transform: none; }
  [data-global-navigation] {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: 3.75rem;
    color: #18314f;
    background: #fffdf8;
    border-bottom: 1px solid #bed3dd;
    box-shadow: 0 0.35rem 1rem rgb(24 49 79 / 10%);
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
  }
  [data-global-navigation] *, [data-global-navigation] *::before, [data-global-navigation] *::after { box-sizing: border-box; }
  [data-global-navigation] .site-header__inner {
    width: min(70rem, calc(100% - 2rem));
    min-height: 3.75rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  [data-global-navigation] .site-brand {
    min-height: 2.75rem;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
    color: #18314f;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
  }
  [data-global-navigation] .site-brand img { width: 2.25rem; height: 1.8rem; object-fit: contain; }
  [data-global-navigation] nav { min-width: 0; }
  [data-global-navigation] nav ul { margin: 0; padding: 0; display: flex; align-items: center; gap: 0.35rem; list-style: none; }
  [data-global-navigation] nav a {
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #087a9f;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
  }
  [data-global-navigation] nav a[aria-current] { color: #18314f; background: #e7f6f6; text-decoration: underline; text-underline-offset: 0.2em; }
  [data-global-navigation] a:hover { color: #18314f; background: #e7f6f6; }
  [data-global-navigation] a:focus-visible { outline: 3px solid #795000; outline-offset: 2px; }
  .worksheet-actions {
    position: static;
    width: min(7.5in, calc(100% - 2rem));
    margin: 1rem auto -0.6rem;
    padding: 0.7rem 0.8rem 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #18314f;
    background: #fffdf8;
    border: 1px solid #bed3dd;
    border-radius: 0.85rem;
    box-shadow: 0 0.5rem 1.5rem rgb(24 49 79 / 10%);
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
  }
  .worksheet-actions *, .worksheet-actions *::before, .worksheet-actions *::after { box-sizing: border-box; }
  .worksheet-actions__main { display: grid; min-width: 0; gap: 0.55rem; }
  .worksheet-actions__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 1rem; }
  .worksheet-actions__nav a { display: inline-flex; min-height: 2.1rem; align-items: center; color: #087a9f; font-size: 0.78rem; font-weight: 800; text-underline-offset: 0.18rem; }
  .worksheet-actions__nav a:hover { color: #18314f; }
  .worksheet-actions__nav a:focus-visible { outline: 3px solid #795000; outline-offset: 2px; border-radius: 0.25rem; }
  .worksheet-actions__copy { display: grid; gap: 0.1rem; }
  .worksheet-actions__copy strong { font-size: 0.86rem; line-height: 1.25; }
  .worksheet-actions__copy span { color: #536c7f; font-size: 0.76rem; line-height: 1.3; }
  .worksheet-actions__button {
    min-height: 2.65rem;
    padding: 0.62rem 1rem;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: #087a9f;
    border: 1px solid #087a9f;
    border-radius: 999px;
    box-shadow: 0 0.25rem 0.7rem rgb(8 122 159 / 20%);
    cursor: pointer;
    font: 800 0.84rem/1 Aptos, "Segoe UI", Arial, sans-serif;
  }
  .worksheet-actions__button:hover { background: #066d8e; border-color: #066d8e; }
  .worksheet-actions__button:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }
  .worksheet-actions__buttons { display: flex; flex: 0 0 auto; align-items: stretch; gap: 0.55rem; }
  .worksheet-actions__button--secondary { color: #087a9f; background: #fff; border-color: #87b9c8; box-shadow: none; }
  .worksheet-actions__button--secondary:hover { color: #18314f; background: #e7f6f6; border-color: #5e9ead; }
  .print-composer {
    width: min(42rem, calc(100% - 1.25rem));
    max-height: min(52rem, calc(100dvh - 1.25rem));
    margin: auto;
    padding: 0;
    color: #18314f;
    background: #fffdf8;
    border: 1px solid #bed3dd;
    border-radius: 1.1rem;
    box-shadow: 0 1.5rem 4rem rgb(24 49 79 / 28%);
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
  }
  .print-composer::backdrop { background: rgb(24 49 79 / 48%); backdrop-filter: blur(2px); }
  .print-composer__form { display: grid; max-height: inherit; overflow: auto; }
  .print-composer [hidden] { display: none !important; }
  .print-composer__header { display: flex; padding: 1.2rem 1.25rem 1rem; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #dbe7e9; }
  .print-composer__header h2, .print-composer__header p { margin: 0; }
  .print-composer__header h2 { margin-top: 0.15rem; font: 800 1.65rem/1.05 Georgia, "Times New Roman", serif; }
  .print-composer__header > div > p:last-child { margin-top: 0.35rem; color: #536c7f; font-size: 0.86rem; }
  .print-composer__eyebrow { color: #087a9f; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
  .print-composer__close { width: 2.25rem; height: 2.25rem; padding: 0; flex: 0 0 auto; color: #18314f; background: #edf7f7; border: 0; border-radius: 50%; cursor: pointer; font: 700 1.45rem/1 Arial, sans-serif; }
  .print-composer__close:hover { background: #d8eeee; }
  .print-composer__close:focus-visible, .print-composer input:focus-visible, .print-composer button:focus-visible, .print-composer a:focus-visible { outline: 3px solid #795000; outline-offset: 2px; }
  .print-composer__copies { display: grid; margin: 0; padding: 1rem 1.25rem 0.35rem; gap: 0.65rem; border: 0; }
  .print-composer__copies legend { padding: 0; font-weight: 850; }
  .print-composer__mode, .print-composer__answer { display: grid; padding: 0.8rem; align-items: start; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; background: #fff; border: 1px solid #dbe7e9; border-radius: 0.8rem; cursor: pointer; }
  .print-composer__mode:has(input:checked) { background: #edf8f8; border-color: #72b7bf; box-shadow: 0 0 0 1px #72b7bf inset; }
  .print-composer__mode input, .print-composer__answer input, .print-composer__student-choice input { width: 1.1rem; height: 1.1rem; margin: 0.12rem 0 0; accent-color: #087a9f; }
  .print-composer__mode span, .print-composer__answer span, .print-composer__student-choice span { display: grid; gap: 0.2rem; }
  .print-composer__mode small, .print-composer__answer small, .print-composer__student-choice small { color: #536c7f; font-size: 0.76rem; line-height: 1.35; }
  .print-composer__quantity { display: grid; padding: 0.15rem 0.8rem 0.45rem 2.55rem; grid-template-columns: minmax(0, 1fr) 6rem; align-items: center; gap: 0.75rem; font-size: 0.82rem; font-weight: 750; }
  .print-composer__quantity input, .print-composer__custom input { width: 100%; min-height: 2.5rem; padding: 0.45rem 0.55rem; color: #18314f; background: #fff; border: 1px solid #9fb9c2; border-radius: 0.5rem; font: inherit; }
  .print-composer__students { display: grid; margin-left: 2.55rem; gap: 0.45rem; }
  .print-composer__student-toolbar { display: flex; padding: 0.1rem 0 0.25rem; align-items: center; justify-content: space-between; gap: 1rem; color: #536c7f; font-size: 0.76rem; }
  .print-composer__student-toolbar button, .print-composer__adjust { padding: 0; color: #087a9f; background: transparent; border: 0; cursor: pointer; font: 800 0.74rem/1.2 Aptos, "Segoe UI", Arial, sans-serif; text-decoration: underline; text-underline-offset: 0.16rem; }
  .print-composer__student { display: grid; padding: 0.68rem 0.75rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.4rem 0.75rem; background: #fff; border: 1px solid #dbe7e9; border-radius: 0.7rem; }
  .print-composer__student:has(input:checked) { border-color: #72b7bf; }
  .print-composer__student-choice { display: grid; min-width: 0; align-items: start; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.55rem; cursor: pointer; }
  .print-composer__student-choice b { color: #087a9f; font-size: 0.75rem; white-space: nowrap; }
  .print-composer__student-choice:has(input:disabled) { cursor: default; opacity: 0.68; }
  .print-composer__custom { display: grid; grid-column: 1 / -1; padding: 0.25rem 0 0 1.65rem; grid-template-columns: minmax(0, 1fr) 8rem; align-items: center; gap: 0.75rem; color: #536c7f; font-size: 0.75rem; font-weight: 750; }
  .print-composer__account { margin: 0.6rem 1.25rem 0; padding: 0.85rem; color: #294358; background: #fff5d8; border: 1px solid #e8c770; border-radius: 0.8rem; }
  .print-composer__account p { margin: 0; font-size: 0.8rem; line-height: 1.45; }
  .print-composer__account div { display: flex; margin-top: 0.55rem; gap: 0.9rem; }
  .print-composer__account a { color: #087a9f; font-size: 0.78rem; font-weight: 850; text-underline-offset: 0.16rem; }
  .print-composer__account small { display: block; margin-top: 0.55rem; color: #675830; font-size: 0.7rem; }
  .print-composer__answer { margin: 0.9rem 1.25rem 0; }
  .print-composer__summary { display: grid; margin: 0.85rem 1.25rem 0; padding: 0.8rem; gap: 0.25rem; color: #18314f; background: #edf7f7; border-radius: 0.7rem; }
  .print-composer__summary span { color: #536c7f; font-size: 0.7rem; line-height: 1.4; }
  .print-composer__error { margin: 0.75rem 1.25rem 0; padding: 0.65rem 0.75rem; color: #7b241c; background: #fff0ed; border: 1px solid #d99a91; border-radius: 0.6rem; font-size: 0.78rem; font-weight: 750; }
  .print-composer__actions { display: flex; padding: 1rem 1.25rem 1.25rem; justify-content: flex-end; gap: 0.65rem; }
  .print-composer__cancel, .print-composer__continue { min-height: 2.6rem; padding: 0.62rem 0.95rem; border-radius: 999px; cursor: pointer; font: 850 0.8rem/1 Aptos, "Segoe UI", Arial, sans-serif; }
  .print-composer__cancel { color: #087a9f; background: transparent; border: 1px solid #9fc7cc; }
  .print-composer__continue { color: #fff; background: #087a9f; border: 1px solid #087a9f; }
  .print-composer__continue:disabled { cursor: wait; opacity: 0.65; }
  [data-print-packet] { display: none; }
  .student-field-line--filled { color: #18314f; font-size: 0.14in; font-weight: 850; }
  .problem-details {
    --details-ink: #18314f;
    --details-muted: #536c7f;
    --details-teal: #087a9f;
    --details-teal-soft: #e7f6f6;
    --details-gold: #f2b84b;
    --details-gold-soft: #fff5d8;
    --details-line: #bed3dd;
    width: min(7.5in, calc(100% - 2rem));
    margin: 0 auto 3rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    color: var(--details-ink);
    background: #fffdf8;
    border: 1px solid var(--details-line);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.6rem rgb(24 49 79 / 12%);
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
  }
  .problem-details *, .problem-details *::before, .problem-details *::after { box-sizing: border-box; }
  .problem-details h2, .problem-details h3, .problem-details h4, .problem-details p, .problem-details ul, .problem-details dl, .problem-details dt, .problem-details dd { margin: 0; }
  .problem-details ul { padding: 0; list-style: none; }
  .problem-details__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; }
  .problem-details__header h2 { margin-top: 0.15rem; color: var(--details-ink); font: 800 clamp(1.75rem, 4vw, 2.35rem)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -0.025em; }
  .problem-details__header > div > p:last-child { margin-top: 0.5rem; color: var(--details-muted); font-size: 0.9rem; }
  .problem-details__fit-line { margin-top: 0.65rem !important; color: var(--details-ink) !important; font-size: 0.9rem; }
  .problem-details__kicker { color: var(--details-teal); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
  .problem-details__rating { display: inline-flex; padding: 0.55rem 0.8rem; color: #fff; background: var(--details-ink); border-radius: 999px; font-size: 0.82rem; white-space: nowrap; }
  .problem-details__intro { max-width: 58rem; margin-top: 1rem !important; color: var(--details-muted); }
  .problem-details__dimensions { display: grid; margin-top: 1.4rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; align-items: start; }
  .problem-details__card { min-width: 0; padding: 1rem; background: #fff; border: 1px solid var(--details-line); border-radius: 0.85rem; }
  .problem-details__card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
  .problem-details__card-heading h3 { margin-top: 0.18rem; color: var(--details-ink); font-size: 1.15rem; line-height: 1.15; }
  .problem-details__card-heading > span { padding: 0.22rem 0.5rem; color: #6b4a00; background: var(--details-gold-soft); border-radius: 999px; font-size: 0.68rem; font-weight: 800; white-space: nowrap; }
  .problem-details__card > p { margin-top: 0.7rem; color: var(--details-muted); font-size: 0.84rem; }
  .problem-details__facts { display: grid; margin-top: 0.8rem !important; gap: 0.35rem; }
  .problem-details__facts > div { display: flex; justify-content: space-between; gap: 0.75rem; padding-top: 0.35rem; border-top: 1px solid #e2ecee; font-size: 0.75rem; }
  .problem-details__facts dt { color: var(--details-muted); }
  .problem-details__facts dd { font-weight: 800; text-align: right; }
  .problem-details__factor-list { display: grid; margin-top: 0.8rem !important; gap: 0.3rem; }
  .problem-details__factor-list li { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 0.6rem; color: var(--details-muted); font-size: 0.72rem; }
  .problem-details__factor-list strong { display: inline-flex; min-width: 2.2rem; padding: 0.12rem 0.35rem; justify-content: center; color: var(--details-ink); background: var(--details-teal-soft); border-radius: 999px; font-size: 0.68rem; }
  .problem-details__skills-grid { display: grid; margin-top: 1.4rem; grid-template-columns: 1fr; gap: 1rem; }
  .problem-details__skills-grid--split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-details__skill-group { min-width: 0; padding: 1.1rem; background: #fff; border: 1px solid var(--details-line); border-radius: 0.85rem; }
  .problem-details__subhead h3 { margin-top: 0.18rem; color: var(--details-ink); font-size: 1.25rem; }
  .problem-details__subhead > p:last-child { margin-top: 0.35rem; color: var(--details-muted); font-size: 0.82rem; }
  .problem-details__skill-list { display: grid; margin-top: 0.9rem !important; gap: 0.7rem; }
  .problem-details__skill { display: grid; padding-top: 0.75rem; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; border-top: 1px solid #e2ecee; }
  .problem-details__skill h4 { color: var(--details-ink); font-size: 0.9rem; line-height: 1.25; }
  .problem-details__skill p { margin-top: 0.28rem; color: var(--details-muted); font-size: 0.76rem; }
  .problem-details__skill-meta { display: flex; max-width: 11rem; align-content: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 0.3rem; }
  .problem-details__skill-meta li { padding: 0.2rem 0.45rem; color: var(--details-teal); background: var(--details-teal-soft); border-radius: 999px; font-size: 0.65rem; font-weight: 800; white-space: nowrap; }
  .problem-details__skills-grid--split .problem-details__skill { grid-template-columns: 1fr; }
  .problem-details__skills-grid--split .problem-details__skill-meta { max-width: none; justify-content: flex-start; }
  .problem-details__footer { display: flex; margin-top: 1.25rem; padding-top: 0.85rem; align-items: center; justify-content: space-between; gap: 1rem; color: var(--details-muted); border-top: 1px solid var(--details-line); font-size: 0.72rem; }
  .context-navigation, .related-worksheets { width: min(7.5in, calc(100% - 2rem)); margin: 0 auto 1rem; padding: clamp(1rem, 3vw, 1.5rem); color: var(--details-ink); background: #fffdf8; border: 1px solid var(--details-line); border-radius: 1rem; font-family: Aptos, "Segoe UI", Arial, sans-serif; }
  .context-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .context-navigation p, .context-navigation h2, .related-worksheets p, .related-worksheets h2, .related-worksheets ul { margin: 0; }
  .context-navigation h2, .related-worksheets h2 { margin-top: 0.18rem; font: 800 clamp(1.35rem, 3vw, 1.8rem)/1.1 Georgia, "Times New Roman", serif; }
  .context-navigation__links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 0.6rem; }
  .context-navigation__links a, .related-worksheets a { color: var(--details-teal); font-weight: 800; text-underline-offset: 0.18rem; }
  .context-navigation__links a { display: inline-flex; min-height: 2.5rem; padding: 0.55rem 0.75rem; align-items: center; background: var(--details-teal-soft); border-radius: 999px; }
  .related-worksheets { margin-bottom: 3rem; }
  .related-worksheets ul { display: grid; margin-top: 0.9rem; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; list-style: none; }
  .related-worksheets li { min-width: 0; }
  .related-worksheets a { display: grid; height: 100%; padding: 0.8rem; gap: 0.25rem; background: #fff; border: 1px solid #e2ecee; border-radius: 0.7rem; text-decoration: none; }
  .related-worksheets a span { color: var(--details-muted); font-size: 0.72rem; font-weight: 600; }
  .challenge-fit__intro { max-width: 42rem; margin-top: 0.55rem !important; color: var(--details-muted); font-size: 0.84rem; line-height: 1.5; }
  .challenge-fit__route > a { align-content: start; border-top: 4px solid var(--details-gold); }
  .challenge-fit__route strong { color: var(--details-ink); font-size: 0.9rem; line-height: 1.25; }
  .challenge-fit__route span { line-height: 1.45; }
  .context-navigation a:focus-visible, .related-worksheets a:focus-visible, .challenge-fit [data-challenge-path]:focus-visible { outline: 3px solid #795000; outline-offset: 2px; }
  @media screen and (max-width: 52rem) {
    .worksheet {
      width: calc(100% - 1rem);
      min-height: 0;
      margin: 0.75rem auto 1rem;
      padding: clamp(0.9rem, 3vw, 1.35rem);
      border-radius: 0.75rem;
    }
    .worksheet-header { gap: 1rem; padding-bottom: 0.75rem; }
    .brand { gap: 0.5rem; }
    .brand-jewel { width: 2.6rem; height: 2rem; }
    .brand-name { font-size: 1.25rem; }
    .student-fields { gap: 1rem; font-size: 0.78rem; }
    .student-field.name, .student-field.date { width: auto; min-width: 7rem; flex: 1 1 auto; }
    .student-field-line { height: 1.1rem; min-width: 2rem; }
    .problem { padding: 1.25rem 0.25rem 0.75rem; }
    .problem-heading { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; margin-bottom: 1.1rem; }
    h1 { font-size: clamp(1.85rem, 7vw, 2.6rem); }
    .title-accent { width: 4.5rem; height: 0.35rem; margin-top: 0.7rem; }
    .problem-content { font-size: 1.05rem; line-height: 1.55; }
    .problem-content .problem-setup p,
    .problem-content .problem-question p,
    .problem-content .problem-question ul,
    .problem-content .problem-question ol { font-size: 1.05rem; }
    .problem-setup, .problem-data, .problem-question, .problem-directions { margin-block: 0.9rem; padding: 0.85rem 0.95rem; }
    .problem-figure { margin-block: 1rem; }
    .problem-figure img { max-height: none; }
    .mj-layout--scene-prompt .mj-layout__opening:has(.mj-layout__visual),
    .mj-layout--text-led-feature .mj-layout__opening:has(.mj-layout__visual),
    .mj-layout__question-zone:has(.mj-layout__visual--questions),
    .mj-layout--compare-gallery .mj-layout__visual--central,
    .mj-layout--sequence-path .mj-layout__visual--central { display: block; }
    .mj-layout--scene-prompt .mj-layout__opening:has(.mj-layout__visual) .problem-setup,
    .mj-layout--text-led-feature .mj-layout__opening:has(.mj-layout__visual) .problem-setup,
    .mj-layout__question-zone:has(.mj-layout__visual--questions) .problem-question { margin-block: 0.9rem; }
    [data-jewel-reward] { width: min(100%, 22rem); min-width: 0; max-width: none; }
    .worksheet-footer { margin-top: 1rem; flex-wrap: wrap; gap: 0.65rem; font-size: 0.68rem; }
    [data-worksheet-footer] { min-height: 0; }
    .problem-details__dimensions, .problem-details__skills-grid--split, .related-worksheets ul, .challenge-fit__routes { grid-template-columns: 1fr; }
  }
  @media screen and (max-width: 36rem) {
    .worksheet-header { align-items: stretch; flex-direction: column; }
    .student-fields { justify-content: stretch; }
    .student-field.name, .student-field.date { min-width: 0; }
    .problem { padding-inline: 0; }
    .problem-question-header { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
    .problem-content .problem-question .problem-paper-note { text-align: left; }
    .image-row { grid-template-columns: 1fr; }
    [data-global-navigation] .site-header__inner { width: calc(100% - 0.75rem); gap: 0.3rem; }
    [data-global-navigation] .site-brand { width: 2.75rem; min-width: 2.75rem; justify-content: center; }
    [data-global-navigation] .site-brand span { display: none; }
    [data-global-navigation] .site-brand img { width: 2rem; height: 1.65rem; }
    [data-global-navigation] nav { flex: 1 1 auto; }
    [data-global-navigation] nav ul { width: 100%; gap: 0.2rem; }
    [data-global-navigation] nav li { min-width: 0; flex: 1 1 0; }
    [data-global-navigation] nav a { width: 100%; padding-inline: 0.35rem; font-size: 0.72rem; }
    [data-global-navigation] nav a[data-mobile-label] { font-size: 0; }
    [data-global-navigation] nav a[data-mobile-label]::after { content: attr(data-mobile-label); font-size: 0.68rem; }
    .worksheet-actions { padding: 0.85rem; align-items: stretch; flex-direction: column; }
    .worksheet-actions__buttons { flex-direction: column; }
    .worksheet-actions__button { width: 100%; }
    .print-composer__quantity { padding-left: 0.8rem; }
    .print-composer__students { margin-left: 0; }
    .print-composer__student-choice { grid-template-columns: auto minmax(0, 1fr); }
    .print-composer__student-choice b { grid-column: 2; }
    .print-composer__custom { padding-left: 0; grid-template-columns: 1fr; }
    .context-navigation { align-items: flex-start; flex-direction: column; }
    .context-navigation__links { justify-content: flex-start; }
    .problem-details__header, .problem-details__skill, .problem-details__footer { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; }
    .problem-details__skill-meta { max-width: none; justify-content: flex-start; }
  }
  @media screen and (max-height: 30rem) {
    html { scroll-padding-top: 0; }
    [data-global-navigation] { position: static; }
  }
  @media print {
    [data-global-navigation], [data-worksheet-skip-link] { display: none !important; }
    [data-worksheet-actions] { display: none !important; }
    [data-problem-details] { display: none !important; }
    [data-context-navigation], [data-related-worksheets] { display: none !important; }
    body:not([data-print-packet-active]) > :not([data-worksheet]) { display: none !important; }
    body[data-print-packet-active] > :not([data-print-packet]) { display: none !important; }
    body[data-print-packet-active] [data-print-packet] { display: block !important; }
    [data-print-packet] > [data-worksheet] { margin: 0; break-after: page; border-radius: 0; box-shadow: none; }
    [data-print-packet] > [data-print-packet-last] { break-after: auto; }
    [data-print-packet] > [data-print-answer-key] { width: 100%; margin: 0; padding: 0; color: #000; background: #fff; break-before: page; }
    .print-answer-key .answer-page__header { display: block; padding: 0 0 0.22in; border-bottom: 2px solid #000; }
    .print-answer-key .answer-page__header h1 { margin: 0.05in 0 0; font-size: 22pt; line-height: 1.05; }
    .print-answer-key .answer-page__header .difficulty-summary { display: none; }
    .print-answer-key .answer-page__body { min-height: 0; padding: 0.25in 0 0; color: #000; border: 0; box-shadow: none; }
    .print-answer-key .answer-page__body::before { color: #000; border-bottom-color: #777; }
    .print-answer-key .answer-page__body h2,
    .print-answer-key .answer-page__body h3,
    .print-answer-key .answer-page__body h4 { color: #000; break-after: avoid; }
    .print-answer-key .answer-page__body p,
    .print-answer-key .answer-page__body li { orphans: 3; widows: 3; }
    .print-answer-key .answer-page__body li,
    .print-answer-key .answer-page__body pre,
    .print-answer-key .answer-page__body tr { break-inside: avoid; }
    .print-answer-key__source { margin-top: 0.3in; padding-top: 0.1in; color: #333; border-top: 1px solid #777; font-size: 8.5pt; }
  }
