/* Preserve the accepted shared legal layout while displaying the complete MR text. */
.legal-sidebar { max-height: calc(100svh - 124px); overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; }
.legal-sidebar::-webkit-scrollbar, .legal-mobile-toc nav::-webkit-scrollbar { display: none; }
.legal-doc .legal-toc__group { color: #202d3b; font-size: 13px; font-weight: 700; margin: 20px 6px 6px; }
.legal-doc .legal-toc__group:first-child { margin-top: 0; }
.legal-group + .legal-group { margin-top: 40px; }
.legal-group > .legal-article:first-of-type { padding-top: 0; }
.legal-doc .legal-group__heading { color: #202d3b; font-family: var(--font-body); font-size: 24px; line-height: 1.5; margin: 0 0 24px; }
.legal-doc .legal-article h3 { align-items: baseline; border: 0; color: #202d3b; display: flex; font-family: var(--font-body); font-size: 21px; font-weight: 700; gap: 14px; line-height: 1.6; margin: 0 0 14px; padding: 0; }
.legal-article__content ol { margin: 0 0 16px; padding-left: 1.6em; }
.legal-article__content li { margin-bottom: 10px; overflow-wrap: anywhere; }
.legal-article__content :is(ol, ul) :is(ol, ul) { margin-top: 10px; }
.legal-doc .legal-numbered-copy { list-style: none; padding-left: 0; }
.legal-doc .legal-article .legal-table { border-collapse: collapse; table-layout: fixed; width: 100%; margin: 0 0 24px; }
.legal-doc .legal-table :is(th, td) { border: 1px solid #dfe4e9; padding: 12px 10px; color: #354150; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; vertical-align: middle; }
.legal-doc .legal-table th { background: #f5f7fa; font-weight: 600; }
.legal-doc .legal-table--cancellation td { text-align: center; }
.legal-doc .legal-table :is(dl, dt, dd) { margin: 0; padding: 0; }
.legal-doc .legal-revision { color: #637080; font-size: 14px; margin: 28px 0 0; text-align: right; }

.recruit-page .page-hero { background: #fff; color: var(--navy); padding: 40px 0 32px; }
.recruit-page .page-hero .crumbs { color: var(--muted); opacity: 1; }
.recruit-page .page-hero .eyebrow { color: var(--navy); }
.recruit-main > .pad { padding: 8px 0 64px; }
.recruit-status { border: 1px solid var(--line); border-radius: 14px; padding: 32px; background: #fff; }
.recruit-status h2 { color: var(--navy); font-family: var(--font-body); font-size: 24px; font-weight: 700; letter-spacing: 0; line-height: 1.6; margin: 0 0 12px; }
.recruit-status p { color: var(--muted); font-size: 15px; font-weight: 400; margin: 0; line-height: 1.9; }
@media (max-width: 767px) {
  .legal-mobile-toc nav { max-height: min(60svh, 440px); overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; }
  .legal-doc .legal-article h3 { font-size: 19px; gap: 12px; margin-bottom: 12px; }
  .legal-doc .legal-group__heading { font-size: 22px; }
  .recruit-status { padding: 24px; }
  .recruit-status h2 { font-size: 20px; }
}
@media (max-width: 600px) {
  .legal-table--cancellation, .legal-table--cancellation tbody { display: block; }
  .legal-table--cancellation thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .legal-doc .legal-table--cancellation tbody tr { display: block; border: 1px solid #dfe4e9; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
  .legal-doc .legal-table--cancellation tbody th { display: block; border: 0; padding: 10px 14px; text-align: left; }
  .legal-doc .legal-table--cancellation tbody td { display: flex; justify-content: space-between; gap: 12px; border: 0; border-top: 1px solid #edf0f3; padding: 8px 14px; text-align: right; }
  .legal-table--cancellation td::before { content: attr(data-label); text-align: left; color: #637080; }
  .legal-doc .legal-table--fees :is(th, td) { padding: 10px 8px; font-size: 13px; }
}
