.toc-public-page { scroll-padding-top: 115px; }
.toc-public-page:not(.toc-guide-embedded) { scrollbar-gutter: stable; }
.toc-public-header, .toc-public-skip {
  --toc-ink: #241e22;
  --toc-muted: #62565b;
  --toc-brand: #a32132;
  --toc-brand-dark: #781725;
  --toc-line: #e8ded9;
  --toc-soft-red: #f9e9e9;
  color: var(--toc-ink);
  font-synthesis: initial;
  font: 16px/1.65 "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
.toc-public-header, .toc-public-header * { box-sizing: border-box; }
.toc-public-header :focus-visible, .toc-public-skip:focus-visible {
  outline: 3px solid var(--toc-brand);
  outline-offset: 4px;
}
.toc-public-skip {
  position: fixed; left: 1rem; top: -100px; z-index: 21;
  padding: 8px 15px; background: #fff;
}
.toc-public-skip:focus { top: 1rem; }
.toc-public-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff; border-bottom: 1px solid var(--toc-line);
}
.toc-public-shell { width: min(calc(100% - 40px), 1120px); margin-inline: auto; }
.toc-public-header-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  column-gap: 28px; min-height: 78px;
}
.toc-public-brand { display: block; width: 133px; }
.toc-public-brand img { display: block; width: 100%; height: auto; }
.toc-public-main-nav { display: flex; justify-content: center; align-items: center; gap: 3px; }
.toc-public-main-nav a {
  padding: 10px 9px; border-radius: 6px; white-space: nowrap;
  color: var(--toc-muted); font-size: 13.76px; font-weight: 700; text-decoration: none;
}
.toc-public-main-nav a:is(:hover, [aria-current="page"]) {
  color: var(--toc-brand); background: var(--toc-soft-red);
}
.toc-public-header-actions { display: flex; align-items: center; gap: 9px; }
.toc-public-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 7px 11px; border: 1px solid transparent; border-radius: 8px;
  background: var(--toc-brand); color: #fff; white-space: nowrap;
  font-size: 13.12px; font-weight: 700; text-decoration: none;
}
.toc-public-button:hover { background: var(--toc-brand-dark); color: #fff; }
.toc-public-header-lms {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px 4px 6px;
  border: 1px solid #283747;
  border-radius: 5px;
  background: #192635;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.toc-public-header-lms:hover { background: #2a3b4d; border-color: #42586f; color: #fff; }
.toc-public-header-lms:focus-visible { outline: 2px solid #466782; outline-offset: 2px; }
.toc-public-header-lms .lms-shortcut-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid #597086;
  border-radius: 3px;
  background: #30455a;
  color: #fff;
}
.lms-shortcut-icon::before {
  content: "";
  width: 13px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 1px;
  transform: translateY(-2px);
}
.lms-shortcut-icon::after {
  content: "";
  position: absolute;
  top: calc(50% + 3px);
  width: 7px;
  height: 3px;
  background: linear-gradient(currentColor,currentColor) center top / 1px 2px no-repeat,
              linear-gradient(currentColor,currentColor) center bottom / 100% 1px no-repeat;
}
.lms-shortcut-label { display: grid; gap: 2px; line-height: 1.05; }
.lms-shortcut-label strong { font-size: 13px; font-weight: 750; }
.lms-shortcut-label small { color: #d8e5f0; font-size: 11px; font-weight: 600; }
.lms-shortcut-arrow {
  display: grid;
  place-items: center;
  min-height: 20px;
  padding-inline-start: 7px;
  border-inline-start: 1px solid #637b91;
  color: #f0f6fc;
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 1060px) {
  .toc-public-header-inner { grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 8px; }
  .toc-public-main-nav {
    grid-column: 1 / -1; grid-row: 2; justify-content: flex-start;
    flex-wrap: wrap; padding-bottom: 6px;
  }
  .toc-public-main-nav a { min-height: 36px; }
}
@media (max-width: 760px) {
  .toc-public-shell { width: calc(100% - 30px); }
}
@media (max-width: 460px) {
  .toc-public-header-lms { gap: 5px; padding-inline: 5px 6px; }
  .toc-public-header-lms .lms-shortcut-icon { width: 21px; height: 21px; }
  .lms-shortcut-label strong { font-size: 12px; }
  .lms-shortcut-label small { font-size: 10px; }
  .lms-shortcut-arrow { padding-inline-start: 4px; font-size: 13px; }
  .toc-public-page { scroll-padding-top: 147px; }
  .toc-public-shell { width: calc(100% - 24px); }
  .toc-public-brand { width: 105px; }
  .toc-public-header-inner { column-gap: 7px; }
  .toc-public-header-actions { gap: 6px; }
  .toc-public-button { padding-inline: 7px; }
  .toc-public-main-nav { gap: 0; }
  .toc-public-main-nav a { padding: 7px 6px; font-size: 12px; }
}
@media (max-width: 360px) {
  .toc-public-header-lms .lms-shortcut-icon { display: none; }
  .toc-public-brand { width: 84px; }
  .toc-public-button { font-size: 12px; }
  .toc-public-button { gap: 4px; }
}
.toc-guide-embedded { scroll-padding-top: 0; }
.toc-guide-embedded .toc-public-header, .toc-guide-embedded .toc-public-skip { display: none; }
