.toe-customer-guide {
  --toe-guide-navy: #18324a;
  --toe-guide-blue: #2d6fa3;
  --toe-guide-teal: #2e7d76;
  --toe-guide-ink: #263238;
  --toe-guide-muted: #657682;
  --toe-guide-line: #d7e0e6;
  --toe-guide-pale: #f4f7f9;
  color: var(--toe-guide-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  margin-inline: auto;
  max-width: 1280px;
  padding: clamp(20px, 4vw, 56px);
}

.toe-customer-guide-page .hero-section { display: none !important; }

.toe-customer-guide *,
.toe-customer-guide *::before,
.toe-customer-guide *::after { box-sizing: border-box; }
.toe-customer-guide [hidden] { display: none !important; }

.toe-customer-guide__hero {
  background: linear-gradient(135deg, #eaf6f4 0%, #eaf3f9 100%);
  border: 1px solid var(--toe-guide-line);
  border-radius: 24px;
  margin-bottom: clamp(28px, 5vw, 60px);
  padding: clamp(28px, 6vw, 72px);
  text-align: center;
}

.toe-customer-guide__kicker {
  color: var(--toe-guide-teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.toe-customer-guide__hero h1 {
  color: var(--toe-guide-navy);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 auto 20px;
  max-width: 850px;
}

.toe-customer-guide__intro {
  color: var(--toe-guide-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 auto 28px;
  max-width: 760px;
}

.toe-customer-guide__download {
  background: var(--toe-guide-blue);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  padding: 12px 22px;
  text-decoration: none !important;
}

.toe-customer-guide__layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
}

.toe-customer-guide__sidebar-inner { position: sticky; top: 28px; }
.toe-customer-guide__sidebar label { display: block; font-weight: 700; margin-bottom: 7px; }
.toe-customer-guide__sidebar input {
  border: 1px solid #aebbc4;
  border-radius: 10px;
  font: inherit;
  margin-bottom: 24px;
  padding: 11px 12px;
  width: 100%;
}
.toe-customer-guide__sidebar h2 { color: var(--toe-guide-navy); font-size: 1.15rem; }
.toe-customer-guide__toc { list-style: none; margin: 0; max-height: calc(100vh - 190px); overflow: auto; padding: 0 8px 0 0; }
.toe-customer-guide__toc li { margin: 0; }
.toe-customer-guide__toc a {
  align-items: baseline;
  border-bottom: 1px solid #edf1f3;
  color: var(--toe-guide-ink);
  display: grid;
  font-size: 0.88rem;
  gap: 9px;
  grid-template-columns: 24px 1fr;
  padding: 8px 3px;
  text-decoration: none;
}
.toe-customer-guide__toc a:hover { color: var(--toe-guide-blue); }
.toe-customer-guide__toc span { color: var(--toe-guide-blue); font-weight: 700; }

.toe-customer-guide__section {
  border-bottom: 1px solid var(--toe-guide-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 0 0 clamp(34px, 5vw, 58px);
  scroll-margin-top: 28px;
}
.toe-customer-guide__section + .toe-customer-guide__section { padding-top: clamp(34px, 5vw, 58px); }
.toe-customer-guide__section-number {
  align-items: center;
  background: var(--toe-guide-blue);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.toe-customer-guide__section h2 { color: var(--toe-guide-navy); font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; margin: 5px 0 22px; }
.toe-customer-guide__body p { margin: 0.55em 0; }
.toe-customer-guide__body ul,
.toe-customer-guide__body ol { margin: 1em 0; padding-left: 1.4em; }
.toe-customer-guide__body li { margin: 0.45em 0; }
.toe-customer-guide__table-wrap { border: 1px solid var(--toe-guide-line); border-radius: 12px; overflow-x: auto; }
.toe-customer-guide__body table { border-collapse: collapse; display: table !important; margin: 0; min-width: 560px; width: 100%; }
.toe-customer-guide__body thead { display: table-header-group !important; }
.toe-customer-guide__body tbody { display: table-row-group !important; }
.toe-customer-guide__body tr { display: table-row !important; }
.toe-customer-guide__body th,
.toe-customer-guide__body td { border: 0; border-bottom: 1px solid var(--toe-guide-line); display: table-cell !important; padding: 13px 16px; text-align: left; vertical-align: top; }
.toe-customer-guide__body th { background: var(--toe-guide-navy); color: #fff; font-weight: 700; }
.toe-customer-guide__body th:first-child,
.toe-customer-guide__body td:first-child { font-weight: 700; width: 38%; }
.toe-customer-guide__body tbody tr:nth-child(even) { background: var(--toe-guide-pale); }
.toe-customer-guide__body tbody tr:last-child td { border-bottom: 0; }
.toe-customer-guide figure { margin: 0 0 26px; }
.toe-customer-guide figure a { display: block; }
.toe-customer-guide figure img { border: 1px solid var(--toe-guide-line); border-radius: 14px; box-shadow: 0 14px 34px rgba(24, 50, 74, 0.11); display: block; height: auto; width: 100%; }
.toe-customer-guide figcaption { color: var(--toe-guide-muted); font-size: 0.88rem; margin-top: 9px; text-align: center; }
.toe-customer-guide__top { color: var(--toe-guide-blue); display: inline-block; font-size: 0.88rem; margin-top: 18px; }
.toe-customer-guide__empty { background: #fff6e5; border: 1px solid #e2c27f; border-radius: 12px; padding: 16px; }

@media (max-width: 820px) {
  .toe-customer-guide__layout { grid-template-columns: 1fr; }
  .toe-customer-guide__sidebar-inner { position: static; }
  .toe-customer-guide__toc { columns: 2; max-height: none; }
  .toe-customer-guide__toc li { break-inside: avoid; }
}

@media (max-width: 560px) {
  .toe-customer-guide { padding-inline: 16px; }
  .toe-customer-guide__hero { border-radius: 16px; padding-inline: 20px; }
  .toe-customer-guide__toc { columns: 1; }
  .toe-customer-guide__section { gap: 10px; grid-template-columns: 36px minmax(0, 1fr); }
  .toe-customer-guide__section-number { height: 32px; width: 32px; }
}

@media print {
  .toe-customer-guide__sidebar,
  .toe-customer-guide__download,
  .toe-customer-guide__top { display: none !important; }
  .toe-customer-guide__layout { display: block; }
  .toe-customer-guide__section { break-inside: avoid; }
}
