/* SvgTrace user manual and Help hub. Sits on the public site theme. */
.manual-page {
  background: #fbf8f1;
  color: #334155;
}
.manual-page #wrapper,
.manual-page #content {
  background: #fbf8f1;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 2000;
  background: #fff;
  color: #1a1a2e;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
.manual-wrap {
  width: min(1120px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.manual-hero {
  position: static;
  width: auto;
  padding: 28px 0 8px;
  background: transparent;
  z-index: auto;
}
.manual-page .manual-eyebrow {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.manual-hero h1 {
  margin: 0;
  max-width: 18em;
  color: #1a1a2e;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.manual-hero .lead {
  max-width: 40em;
  margin: 14px 0 0;
  color: #526174;
  font-size: 18px;
  line-height: 1.6;
}
.manual-page .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 18px 0 0;
  position: static;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.breadcrumb a {
  color: #098781;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb svg {
  flex: none;
}
.manual-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
  padding: 18px 0 72px;
}
.manual-content p {
  margin: 14px 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.7;
}
.manual-content a {
  color: #098781;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.manual-content strong {
  color: #1a1a2e;
  font-weight: 650;
}
.manual-content h2 {
  margin: 28px 0 10px;
  color: #1a1a2e;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  scroll-margin-top: 88px;
}
.manual-steps,
.manual-bullets {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}
.manual-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.manual-steps > li {
  padding: 18px 18px 8px;
  background: #fff;
  border: 1px solid #e7decc;
  border-radius: 16px;
  box-shadow: 0 2px 5px #1e293b0a;
  scroll-margin-top: 88px;
}
.step-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  background: #242b3d;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}
.step-line p {
  margin: 2px 0 12px;
}
.manual-bullets > li {
  position: relative;
  padding: 4px 0 4px 18px;
}
.manual-bullets > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #098781;
}
.manual-shot {
  margin: 4px 0 16px;
}
.manual-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
  border: 1px solid #e7decc;
  border-radius: 12px;
}
.manual-video {
  margin: 28px 0 8px;
}
.manual-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  border: 1px solid #e7decc;
  border-radius: 14px;
}
.manual-video figcaption {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
}
.faq-block {
  padding: 4px 0 2px;
  border-bottom: 1px solid #e7decc;
}
.faq-block h2 {
  margin-top: 18px;
  font-size: 18px;
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #e7decc;
}
.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 46%;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7decc;
  border-radius: 12px;
  font-weight: 500;
}
.article-nav a.next {
  margin-left: auto;
  text-align: right;
}
.article-nav a:hover {
  border-color: #098781;
}
.article-nav .nav-kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-nav .nav-title {
  color: #1a1a2e;
  font-size: 15px;
  font-weight: 600;
}
.manual-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}
.mobile-chapters {
  display: none;
}
.sidebar-box,
.sidebar-cta {
  margin-bottom: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e7decc;
  border-radius: 16px;
}
.sidebar-label {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc-list,
.chapter-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc-list a,
.chapter-toc a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 8px;
  color: #526174;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  border-radius: 8px;
}
.toc-list a:hover,
.chapter-toc a:hover {
  color: #098781;
  background: #f4fbf8;
}
.chapter-toc a.current {
  color: #098781;
  font-weight: 650;
  background: #f4fbf8;
}
.toc-num,
.lp-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1ebe0;
  color: #526174;
  font-size: 11px;
  font-weight: 700;
}
.chapter-toc a.current .lp-num,
.toc-list a .toc-num {
  background: #242b3d;
  color: #fff;
}
.sidebar-cta p {
  margin: 0 0 12px;
  color: #526174;
  font-size: 14px;
  line-height: 1.5;
}
.sidebar-cta a,
.help-cta,
.manual-feature .open-manual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #2563eb;
  border-radius: 10px;
}
.sidebar-cta a {
  width: 100%;
}
.sidebar-cta a:hover,
.help-cta:hover,
.manual-feature .open-manual:hover {
  background: #1d4ed8;
  color: #fff;
}
.section-block {
  margin: 26px 0;
}
.section-label {
  display: block;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chapter-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7decc;
  border-radius: 16px;
}
.chapter-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid #e7decc;
}
.chapter-list .chapter-row:first-child {
  border-top: 0;
}
.chapter-row:hover {
  background: #fffdf8;
}
.chapter-row:hover .lp-num {
  background: #242b3d;
  color: #fff;
}
.chapter-row h2 {
  margin: 0 0 4px;
  color: #1a1a2e;
  font-size: 17px;
  font-weight: 600;
}
.chapter-row p {
  margin: 0;
  color: #526174;
  font-size: 14px;
  line-height: 1.5;
}
.help-hub {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}
.help-hub h1 {
  margin: 0;
  color: #1a1a2e;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.help-hub > .lead {
  max-width: 38em;
  margin: 12px 0 28px;
  color: #526174;
  font-size: 18px;
  line-height: 1.6;
}
.manual-feature {
  display: block;
  margin-bottom: 22px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7decc;
  border-radius: 18px;
  box-shadow: 0 2px 5px #1e293b0a;
}
.manual-feature:hover {
  border-color: #d9cbb3;
  box-shadow: 0 6px 16px #1e293b14;
}
.manual-feature h2 {
  margin: 0 0 8px;
  color: #1a1a2e;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.manual-feature p {
  max-width: 40em;
  margin: 0 0 16px;
  color: #526174;
  font-size: 16px;
  line-height: 1.6;
}
.manual-feature .open-manual {
  margin-top: 4px;
}
.help-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.help-sections a {
  display: inline-block;
  padding: 6px 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #fbf8f1;
  border-radius: 999px;
}
.help-sections a:hover {
  color: #098781;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.help-card {
  display: block;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7decc;
  border-radius: 16px;
}
.help-card:hover {
  border-color: #d9cbb3;
}
.help-card h2 {
  margin: 0 0 6px;
  color: #1a1a2e;
  font-size: 18px;
  font-weight: 600;
}
.help-card p {
  margin: 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .manual-layout {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }
  .manual-sidebar {
    position: static;
    max-height: none;
  }
  .chapter-nav {
    display: none;
  }
  .mobile-chapters {
    display: block;
    margin: 0 0 16px;
    padding: 4px 14px 8px;
    background: #fff;
    border: 1px solid #e7decc;
    border-radius: 12px;
  }
  .mobile-chapters summary {
    padding: 10px 0;
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
  }
  .mobile-chapters .chapter-toc {
    max-height: 280px;
    overflow: auto;
    padding-bottom: 8px;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .manual-wrap,
  .help-hub {
    width: min(100% - 32px, 1120px);
  }
  .manual-hero h1,
  .help-hub h1 {
    font-size: 34px;
  }
  .article-nav {
    flex-direction: column;
  }
  .article-nav a,
  .article-nav a.next {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }
  .manual-feature {
    padding: 22px 18px;
  }
}
