.documentation-page {
  --manual-ink: #101c30;
  --manual-muted: #526174;
  --manual-blue: #245fb5;
  --manual-line: #d9e0e8;
  --manual-light: #f6f8fa;
  background: #ffffff;
}

.documentation-content {
  max-width: none;
  padding: 0;
}

.documentation-content > main {
  min-width: 0;
}

.manual {
  color: var(--manual-ink);
  background: #ffffff;
}

.manual-wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.manual h1,
.manual h2,
.manual h3,
.manual h4,
.manual p {
  margin-top: 0;
}

.manual h1,
.manual h2,
.manual h3,
.manual h4 {
  color: var(--manual-ink);
}

.manual p,
.manual li,
.manual dd {
  color: var(--manual-muted);
  line-height: 1.7;
}

.manual a:focus-visible,
.manual summary:focus-visible,
.manual [tabindex="0"]:focus-visible {
  outline: 3px solid rgb(36 95 181 / 28%);
  outline-offset: 3px;
}

.manual-intro {
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--manual-line);
}

.manual-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.manual-intro__copy {
  max-width: 720px;
}

.manual-label,
.manual-section__number {
  margin-bottom: 0.85rem;
  color: var(--manual-blue) !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manual-intro h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.manual-intro__lead {
  margin-bottom: 1rem;
  color: #33435a !important;
  font-size: 1.1rem;
}

.manual-intro__copy > p:not(.manual-label) {
  max-width: 680px;
}

.manual-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.65rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--manual-blue);
  border-radius: 3px;
  color: var(--manual-blue);
  font-weight: 600;
  text-decoration: none;
}

.manual-cta:hover {
  color: #174982;
  border-color: #174982;
  background: #f7faff;
}

.manual-intro__figure {
  width: 320px;
  margin: 0;
}

.manual-intro__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.manual-intro__figure figcaption {
  margin-top: 0.6rem;
  color: #6b7788;
  font-size: 0.75rem;
  text-align: left;
}

.manual-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(3rem, 6vw, 7.5rem);
  padding-top: 3.75rem;
  padding-bottom: 6rem;
}

.manual-toc {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}

.manual-toc > p {
  margin-bottom: 1.1rem;
  color: var(--manual-ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manual-toc nav {
  display: grid;
  border-top: 1px solid var(--manual-line);
}

.manual-toc a {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.65rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--manual-line);
  color: #34445a;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.manual-toc a:hover {
  color: var(--manual-blue);
}

.manual-toc a span {
  color: #8591a0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.65;
}

.manual-toc-mobile {
  display: none;
}

.manual-body {
  min-width: 0;
}

.manual-section {
  padding: 0 0 4.75rem;
  scroll-margin-top: 1.5rem;
}

.manual-section + .manual-section {
  padding-top: 4.75rem;
  border-top: 1px solid var(--manual-line);
}

.manual-section h2 {
  max-width: 680px;
  margin-bottom: 1.1rem;
  font-size: clamp(1.85rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.manual-section > p:not(.manual-section__number) {
  max-width: 680px;
}

.manual-subheading {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.35;
}

.manual-steps {
  margin: 2.25rem 0 2.75rem;
  padding: 0;
  border-top: 1px solid var(--manual-line);
  counter-reset: manual-step;
  list-style: none;
}

.manual-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--manual-line);
  counter-increment: manual-step;
}

.manual-steps li::before {
  color: var(--manual-blue);
  font-size: 0.78rem;
  font-weight: 700;
  content: counter(manual-step, decimal-leading-zero);
}

.manual-steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.manual-steps p {
  margin-bottom: 0;
}

.manual-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--manual-line);
  list-style: none;
}

.manual-checklist li {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--manual-line);
}

.manual-checklist strong {
  color: var(--manual-ink);
  font-size: 0.88rem;
}

.manual-checklist span {
  font-size: 0.86rem;
  line-height: 1.5;
}

.manual-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--manual-blue);
  background: var(--manual-light);
}

.manual-note strong {
  color: var(--manual-ink);
}

.manual-note p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

.manual-screenshot {
  width: 100%;
  margin: 2.25rem 0 2.75rem;
}

.manual-screenshot--narrow {
  width: min(520px, 100%);
}

.manual-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--manual-line);
}

.manual-screenshot figcaption {
  max-width: 620px;
  margin-top: 0.65rem;
  color: #6b7788;
  font-size: 0.78rem;
  line-height: 1.5;
}

.manual-plan-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--manual-line);
}

.manual-plan-group > div h3 {
  margin-bottom: 0.35rem;
  font-size: 1.16rem;
}

.manual-plan-group > div p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.manual-plan-group dl,
.manual-result {
  margin: 0;
}

.manual-plan-group dl > div,
.manual-result > div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--manual-line);
}

.manual-plan-group dl > div:first-child,
.manual-result > div:first-child {
  padding-top: 0;
}

.manual-plan-group dt,
.manual-result dt {
  color: var(--manual-ink);
  font-size: 0.87rem;
  font-weight: 700;
}

.manual-plan-group dd,
.manual-result dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.manual-example {
  margin-top: 2.5rem;
}

.manual-example h3 {
  margin-bottom: 0.15rem;
  font-size: 1.35rem;
}

.manual-context {
  margin-bottom: 2rem;
  color: #758294 !important;
  font-size: 0.8rem;
}

.manual-example h4 {
  margin: 1.75rem 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.manual-example blockquote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid #aeb9c7;
  color: #34445a;
  background: var(--manual-light);
  font-size: 0.94rem;
  line-height: 1.7;
}

.manual-example--secondary {
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--manual-line);
}

.manual-example--secondary > p {
  max-width: 680px;
}

.manual-table-scroll {
  margin-top: 1.75rem;
  overflow-x: auto;
}

.manual-status-table {
  width: 100%;
  min-width: 570px;
  border-collapse: collapse;
  border-top: 1px solid var(--manual-line);
}

.manual-status-table th,
.manual-status-table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--manual-line);
  color: var(--manual-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.manual-status-table thead th {
  color: var(--manual-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manual-status-table tbody th {
  width: 180px;
  color: var(--manual-ink);
  font-weight: 700;
}

.manual-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  display: inline-block;
  margin-right: 0.55rem;
  border-radius: 50%;
  vertical-align: 0.02rem;
}

.manual-status-dot--open { background: #6b7788; }
.manual-status-dot--decision { background: #b56b0b; }
.manual-status-dot--resolved { background: #247a4c; }

.manual-handoff {
  margin-top: 2rem;
  border-top: 1px solid var(--manual-line);
}

.manual-handoff section {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--manual-line);
}

.manual-handoff h3 {
  margin: 0;
  font-size: 1.05rem;
}

.manual-handoff p {
  margin: 0;
}

.manual-faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--manual-line);
}

.manual-faq details {
  border-bottom: 1px solid var(--manual-line);
}

.manual-faq summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  color: var(--manual-ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.manual-faq summary::-webkit-details-marker {
  display: none;
}

.manual-faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--manual-blue);
  font-size: 1.25rem;
  font-weight: 400;
  content: "+";
  transform: translateY(-50%);
}

.manual-faq details[open] summary::after {
  content: "−";
}

.manual-faq details p {
  max-width: 680px;
  margin-bottom: 1.15rem;
}

@media (max-width: 1023.98px) {
  .manual-intro__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.5rem;
  }

  .manual-intro__figure {
    width: 280px;
  }

  .manual-layout {
    grid-template-columns: minmax(0, 760px);
    justify-content: start;
    gap: 2.5rem;
  }

  .manual-toc {
    display: none;
  }

  .manual-toc-mobile {
    width: min(100%, 760px);
    display: block;
    border-top: 1px solid var(--manual-line);
    border-bottom: 1px solid var(--manual-line);
  }

  .manual-toc-mobile summary {
    padding: 0.85rem 0;
    color: var(--manual-ink);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
  }

  .manual-toc-mobile nav {
    display: grid;
    padding-bottom: 0.85rem;
  }

  .manual-toc-mobile a {
    padding: 0.42rem 0;
    color: #3d4d63;
    font-size: 0.84rem;
    text-decoration: none;
  }
}

@media (max-width: 699.98px) {
  .manual-wrap {
    width: min(100% - 32px, 1200px);
  }

  .manual-intro {
    padding: 3rem 0;
  }

  .manual-intro__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .manual-intro h1 {
    font-size: 2.25rem;
  }

  .manual-intro__figure {
    width: min(100%, 320px);
  }

  .manual-layout {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .manual-section {
    padding-bottom: 3.5rem;
  }

  .manual-section + .manual-section {
    padding-top: 3.5rem;
  }

  .manual-checklist {
    grid-template-columns: 1fr;
  }

  .manual-plan-group {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .manual-handoff section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 479.98px) {
  .manual-plan-group dl > div,
  .manual-result > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .manual-steps li {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .manual-cta {
    width: 100%;
    justify-content: center;
  }
}
