.worked-example {
  margin: 10px 0.84% 0;
  color: #263642;
  font-size: 1rem;
  line-height: 1.48;
  --answer-ink: color-mix(in srgb, var(--worked-accent), #192127 22%);
}
.worked-card {
  background: var(--worked-tint);
  padding: 12px clamp(12px, 1.8vw, 23px) 14px;
}
.worked-title,
.worked-scoring h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.013em;
}
.worked-title {
  margin-bottom: 6px;
}
.worked-row {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  column-gap: 0.68rem;
  align-items: start;
}
.worked-badge {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #7030a0;
  color: white;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
}
.worked-prompt {
  color: #67348d;
}
.worked-body {
  min-width: 0;
  overflow-wrap: anywhere;
}
.worked-choices {
  display: grid;
  grid-template-columns: repeat(var(--choice-columns), minmax(0, 1fr));
  gap: 4px;
  list-style: none;
  margin: 6px 0 2px;
  padding: 0;
}
.worked-choices li {
  display: grid;
  place-content: center;
  padding: 3px 7px;
  border: 1px solid #d5dce0;
  background: white;
  font-size: 0.9rem;
  text-align: center;
}
.worked-format,
.worked-evidence,
.worked-ref-note {
  font-size: 0.9375rem;
  line-height: 1.48;
  color: #374852;
  margin-top: 5px;
}
.worked-answer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px dotted color-mix(in srgb, var(--worked-accent) 26%, #e0e2df);
}
.worked-answer .worked-badge {
  background: var(--answer-ink);
}
.worked-answer-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.48;
  color: var(--answer-ink);
}
.worked-answer-grid {
  display: grid;
  grid-template-columns: minmax(0, min(50%, 29rem)) minmax(0, 1fr);
  align-items: start;
  gap: 8px clamp(10px, 1.5vw, 20px);
  margin: 6px 0;
}
.worked-answer-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 57rem;
}
.worked-answer-grid figcaption,
.worked-reference-data {
  font-size: 0.9rem;
  line-height: 1.45;
}
.worked-answer-grid figcaption,
.worked-box-line,
.worked-ref-list {
  margin-top: 5px;
}
.worked-reference-title {
  margin-bottom: 7px;
}
.worked-reference-data > .worked-evidence {
  margin-top: 0.75rem;
}
.worked-ref-list {
  margin-bottom: 0;
}
.worked-ref-list dt:not(:first-child) {
  margin-top: 7px;
}
.worked-ref-list dd {
  margin: 1px 0 0 1em;
}
.worked-ref-list,
.worked-box-line,
.worked-answer-grid figcaption,
.worked-table {
  font-variant-numeric: tabular-nums;
}
.worked-ref {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  line-height: 0;
}
.worked-ref > img {
  display: block;
  width: 100%;
  height: auto;
}
.worked-ref-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}
.worked-ref > svg,
#dialog-picture[data-reference] > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.worked-ref svg text,
#dialog-picture svg text {
  pointer-events: auto;
  user-select: text;
  cursor: text;
}
#dialog-picture[data-reference] {
  position: relative;
  width: min(
    100%,
    var(--reference-width),
    calc(73dvh * var(--reference-ratio))
  );
  margin-inline: auto;
}
#dialog-picture[data-reference] #dialog-image {
  width: 100%;
  height: auto;
  max-height: none;
}
.actual-size #dialog-picture[data-reference] {
  width: var(--reference-width);
}
.worked-table {
  width: 100%;
  border-collapse: collapse;
  color: #27363e;
  font-size: 0.9rem;
  line-height: 1.42;
  text-align: left;
}
.worked-table :is(th, td) {
  text-align: left;
  vertical-align: top;
  padding: 4px 8px;
}
.worked-table th,
.worked-example strong {
  font-weight: 650;
}
.worked-segments {
  width: auto;
  max-width: 100%;
  margin-top: 4px;
}
.worked-segments :is(th, td) {
  padding: 1px 16px 1px 0;
}
.worked-segments th:first-child {
  white-space: nowrap;
}
.worked-scoring {
  margin-top: 9px;
}
.worked-scoring h4 {
  margin: 0 0 4px;
}
.worked-scoring table {
  border-block: 1.5px solid #43515a;
}
.worked-scoring thead {
  border-bottom: 1px solid #abb3b8;
}
.worked-scoring tbody tr + tr {
  border-top: 1px solid #e1e4e6;
}
.worked-rubric thead th:nth-child(1) {
  width: 15%;
}
.worked-rubric thead th:nth-child(2),
.worked-rubric thead th:nth-child(3) {
  width: 10%;
}
.worked-weight,
.worked-critical {
  color: var(--answer-ink);
}
.worked-metrics th {
  width: 15%;
}
@media (max-width: 650px) {
  .worked-card {
    padding: 10px 11px 12px;
  }
  .worked-row {
    grid-template-columns: 1.36rem minmax(0, 1fr);
    column-gap: 7px;
  }
  .worked-badge {
    width: 1.36rem;
    height: 1.36rem;
    font-size: 0.81rem;
  }
  .worked-example {
    margin-top: 8px;
  }
  .worked-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .worked-answer-grid:not(.worked-answer-pair) {
    grid-template-columns: minmax(0, 1fr);
  }
  .worked-ref-list {
    margin-block-start: 0;
  }
  .worked-ref-list dt:not(:first-child) {
    margin-top: 4px;
  }
  .worked-table :is(th, td) {
    padding-inline: 4px;
  }
  .worked-rubric thead th:nth-child(-n + 3) {
    width: 1%;
  }
}
@media (max-width: 460px) {
  .worked-example {
    margin-inline: 0;
  }
  .worked-choices li {
    font-size: 0.875rem;
  }
  .worked-answer-grid figcaption {
    font-size: 0.84rem;
  }
  .worked-metrics th {
    width: 24%;
  }
  .worked-rubric th[scope="col"],
  .worked-rubric th[scope="row"] {
    overflow-wrap: normal;
  }
  .worked-rubric {
    font-size: 0.84rem;
  }
  .worked-rubric :is(th, td) {
    padding-inline: 3px;
  }
  .worked-rubric td:last-child {
    overflow-wrap: anywhere;
  }
}
