.fix-main {
  max-width: 790px;
  padding-top: 28px;
  padding-bottom: 64px;
}
.fix-main h1 {
  margin: 22px 0 4px;
}
.fix-lead {
  max-width: 38rem;
  margin: 0 0 22px;
  font-size: 1.125rem;
}
.fix-form {
  background: #fff;
  border: 1px solid #c3cbd0;
  border-radius: 12px;
  padding: clamp(18px, 4vw, 32px);
}
.fix-form > label, .fix-form legend {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
#passage-topic {
  width: 100%;
  min-height: 48px;
  border: 1px solid #71848d;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
}
.fix-grade { margin-top: 17px; }
.fix-grade label { display: block; font-weight: 700; margin-bottom: 6px; }
.fix-grade select { min-height: 44px; padding: 8px 14px; font: inherit; }
.fix-grade p { margin: 4px 0 0; font-size: .9375rem; }
.fix-form fieldset {
  border: 0;
  margin: 17px 0 23px;
  padding: 0;
  min-width: 0;
}
.fix-options, .fix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
.fix-options label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  border: 1px solid #9aabb1;
  border-radius: 6px;
  padding: 6px 11px;
  cursor: pointer;
}
.fix-options label:has(:checked) {
  background: #e8f1ee;
  border-color: #41655b;
  font-weight: 700;
}
.fix-options input { accent-color: #234b42; }
.fix-link {
  min-height: 44px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.fix-form button:disabled { opacity: .65; cursor: wait; }
.fix-budget, #passage-status {
  margin: 12px 0 0;
  font-size: .9375rem;
}
#passage-status:empty { display: none; }
.fix-result { margin-top: 18px; scroll-margin-top: 96px; }
.fix-sheet {
  margin-top: 18px;
  background: white;
  border: 1px solid #ccd2d3;
  padding: clamp(18px, 4vw, 38px);
  color: #14272e;
  overflow-wrap: anywhere;
}
.fix-sheet h2 { margin: 0 0 14px; }
.fix-directions { white-space: pre-line; line-height: 1.65; }
.fix-tips {
  border-left: 3px solid #41655b;
  padding-left: 14px;
  font-size: .9375rem;
}
.fix-tips > div { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: 0 12px; }
.fix-tips > div + div { margin-top: 12px; }
@media (max-width: 520px) {
  .fix-tips > div { grid-template-columns: minmax(0, 1fr); }
}
.fix-tips span { display: block; }
.fix-passage { margin-top: 24px; font-size: 1.125rem; line-height: 1.9; }
.fix-passage, .fix-paragraphs { list-style: decimal outside; padding-inline-start: 1.5rem; }
.fix-passage > li + li { margin-top: 16px; }
.fix-passage > li::marker, .fix-paragraphs > li::marker { font-weight: 700; }
.fix-check {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin: 0 0 16px;
  font-size: .9375rem;
}
.fix-check span { display: inline-flex; align-items: center; gap: 5px; }
.fix-check input { width: 18px; height: 18px; margin: 0; accent-color: #234b42; }
.fix-key { margin-top: 14px; padding: 12px 16px; border: 1px solid #c3cbd0; }
.fix-key summary { cursor: pointer; font-weight: 700; }
.fix-key li + li { margin-top: 8px; }
.fix-main :focus-visible { outline: 2px solid #135769; outline-offset: 3px; }

.fix-changed { color: #ad121a; text-decoration: underline; text-underline-offset: .15em; }

.fix-edit-number { color: #ad121a; padding-inline: .1em; font-weight: 700; }
.fix-repair-line { display: grid; grid-template-columns: 3.3rem minmax(0, 1fr); column-gap: 8px; margin-top: 3px; }
#passage-repairs li { padding: 8px 0; border-bottom: 1px solid #ccd2d3; }

.fix-rewrite-heading { margin: 24px 0 0; font-size: 1rem; }
.fix-rewrite { list-style: decimal outside; padding-inline-start: 1.5rem; margin: 0; }
.fix-rewrite li { display: list-item; min-height: 2rem; border-bottom: 1px solid #71848d; }
