:root {
  color-scheme: light;
  font-family: "Malgun Gothic", system-ui, sans-serif;
  color: #172b42;
  background: #f0f1f3;
  line-height: 1.65;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; }
a { color: #164a83; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #164a83; outline-offset: 4px; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: #173c65;
  background: white;
  transform: translateY(-150%);
  z-index: 1;
}
.skip-link:focus { transform: none; }
.guide-header { padding: 0 20px; background: #173c65; }
.guide-header-inner {
  max-width: 1180px;
  margin: auto;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.guide-header a { color: white; }
.guide-header a:focus-visible { outline-color: white; }
.brand { font-size: 1.25rem; font-weight: 750; text-decoration: none; }
.header-link { font-size: .92rem; }
.guide-layout {
  width: min(1220px, 100%);
  margin: auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.guide-toc {
  position: sticky;
  top: 18px;
  padding: 16px;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  background: white;
}
.guide-toc h2 { margin: 0 0 8px; font-size: 1rem; }
.guide-toc ul { padding: 0; margin: 0; list-style: none; }
.guide-toc a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: .94rem;
}
.guide-toc a:hover { background: #edf3f9; }
.guide-intro { margin-bottom: 28px; }
.guide-intro h1 { margin: 0 0 8px; font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.25; }
.guide-intro p { margin: 8px 0; }
.guide-note, .guide-summary { color: #4c6076; }
.guide-note { font-size: .9rem; }
.guide-section + .guide-section { margin-top: 28px; }
.guide-section h2 { margin: 0; font-size: 1.48rem; line-height: 1.4; }
.guide-summary { margin: 3px 0 12px; }
.guide-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 20px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  background: white;
}
.guide-card + .guide-card { margin-top: 12px; }
.guide-card-text { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.guide-card-text p { margin: 8px 0 0; }
.guide-card-text code { overflow-wrap: anywhere; }
.guide-steps h3 { margin: 0 0 10px; font-size: 1.15rem; }
.guide-steps ol { margin: 0; padding-left: 1.35rem; }
.guide-steps li + li { margin-top: 8px; }
.guide-steps li::marker { font-weight: 750; color: #164a83; }
.guide-screen { margin: 0; min-width: 0; }
.guide-screen a { display: block; border-radius: 8px; }
.guide-screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #f0f1f3;
}
.guide-footer { margin-top: 26px; text-align: end; }
@media (max-width: 900px) {
  .guide-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .guide-header { padding: 0 14px; }
  .guide-layout { padding: 14px; display: block; }
  .guide-toc { position: static; margin-bottom: 20px; }
  .guide-toc ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .guide-card { gap: 16px; }
}
@media print {
  :root { background: white; }
  .guide-header, .guide-toc, .skip-link, .guide-footer { display: none; }
  .guide-layout { padding: 0; display: block; }
  .guide-card { grid-template-columns: 1fr 1fr; break-inside: avoid; }
}
