/* Only portal information pages opt in. Sub-app styles are not changed. */
.lab-home.lab-document-page { display: flex; flex-direction: column; min-height: 100vh; }
.lab-document-page > .lab-header { flex-shrink: 0; }
.lab-document { width: min(960px, calc(100% - 96px)); margin-inline: auto; padding-block: 68px 88px; flex: 1; font-size: 15px; line-height: 2; overflow-wrap: anywhere; }
.lab-home .lab-document h1 { margin: 0 0 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.5; letter-spacing: -.045em; font-weight: 800; }
.lab-home .lab-document h2 { margin: 0 0 13px; color: var(--ink); font-size: 21px; line-height: 1.7; font-weight: 700; }
.lab-home .lab-document h3 { margin: 0 0 12px; color: var(--ink); font-size: 18px; line-height: 1.7; }
.lab-document p, .lab-document li { color: #55594f; }
.lab-home .lab-document p + p { margin-top: 14px; }
.lab-document section + section, .lab-document section + p { margin-top: 35px; }
.lab-document p + section { margin-top: 30px; }
.lab-document a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lab-document a:hover { text-decoration-thickness: 2px; }
.lab-document ul, .lab-document ol { margin: 14px 0 0; padding-left: 1.5em; }
.lab-document li + li { margin-top: 8px; }
.lab-document hr { margin-block: 40px; border: 0; border-top: 1px solid var(--line); }
.lab-document table { width: 100%; border-collapse: collapse; line-height: 1.9; margin-bottom: 40px; }
.lab-document th, .lab-document td { padding: 21px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lab-document tr:first-child th, .lab-document tr:first-child td { border-top: 1px solid var(--line); }
.lab-document th { width: 25%; font-weight: 700; background: #eceee3; color: var(--ink); }
.lab-document td { color: #55594f; }
.lab-document .lab-notice { padding: 25px 28px; border-left: 3px solid #b5c44a; background: #eceee3; border-radius: 0 8px 8px 0; }
.lab-document .lab-guide-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 28px; }
.lab-guide-columns > div { padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.lab-document .lab-inline-icon { width: 1em; height: 1em; vertical-align: -.1em; }
.lab-document .lab-platform-icon { margin-right: 8px; }
.lab-document .lab-guide-tip { margin-block: 28px; padding: 24px; background: #eceee3; border-radius: 8px; }
.lab-contact-intro { margin-bottom: 25px !important; }
.lab-document .contact-form { font-size: 14px; color: var(--ink); }
.lab-document .contact-form > input, .lab-document .contact-form > select, .lab-document .contact-form > textarea { border-color: #c9ccbd; border-radius: 6px; background: #fffef9; color: var(--ink); }
.lab-document .contact-form > input:focus, .lab-document .contact-form > select:focus, .lab-document .contact-form > textarea:focus { border-color: #74832b; box-shadow: 0 0 0 3px #e5f45d66; }
.lab-document-page .contact-submit { border-radius: 6px; background: var(--ink); color: #fff; }
.lab-document-page .contact-submit:hover { background: #454b37; }
.lab-document-page .contact-confirm-modal { margin: auto; border-radius: 10px; }
.lab-document-page .contact-confirm-panel { border-radius: 10px; background: var(--paper); color: var(--ink); }
.lab-document-page .contact-confirm-panel h2 { margin-bottom: 20px; }
.lab-document-page .contact-confirm-cancel { border-color: var(--line); border-radius: 6px; color: var(--ink); }
.lab-document-page .contact-character-count, .lab-document-page .contact-confirm-list dt { color: var(--muted); }
@media (max-width: 760px) {
  .lab-document { width: calc(100% - 40px); padding-block: 36px 52px; font-size: 14px; }
  .lab-home .lab-document h1 { margin-bottom: 28px; padding-bottom: 22px; font-size: 28px; }
  .lab-home .lab-document h2 { font-size: 19px; }
  .lab-document .lab-guide-columns { grid-template-columns: 1fr; gap: 16px; }
  .lab-document th, .lab-document td { display: block; width: 100%; padding: 15px 17px; }
  .lab-document th { border-bottom: 0; padding-bottom: 10px; }
  .lab-document tr:first-child td { border-top: 0; }
  .lab-document td { background: #fffef9; }
  .lab-document .lab-notice { padding: 20px; }
}
