:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14382e;
  background: #f7f8f4;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: #174f3c; text-underline-offset: 0.2em; }
a:hover { color: #09271f; }
a:focus-visible, summary:focus-visible { outline: 3px solid #23628c; outline-offset: 5px; border-radius: 3px; }
p, ol, ul { margin: 0 0 1.2rem; }
li + li { margin-top: 0.7rem; }
ol, ul { padding-left: 1.4rem; }
h1, h2 { color: #09271f; letter-spacing: -0.035em; line-height: 1.12; }
h1 { margin: 0 0 1.5rem; font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { margin: 0 0 1.4rem; font-size: clamp(1.65rem, 4vw, 2.1rem); }
strong { color: #09271f; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; background: #edf2e9; padding: 0.15rem 0.3rem; border-radius: 4px; overflow-wrap: anywhere; }
pre { margin: 1.3rem 0; padding: 1rem 1.2rem; overflow-x: auto; background: #102e24; color: #f0f8ec; border-radius: 12px; }
pre code { padding: 0; background: transparent; border-radius: 0; overflow-wrap: normal; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: 0.7rem 1rem; z-index: 10; background: white; }
.skip-link:focus { top: 1rem; }
.guide-header { max-width: 1120px; margin: auto; padding: 1.3rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid #dce5dc; }
.guide-header > a:last-child { font-size: 0.9rem; font-weight: 650; white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.brand img { object-fit: contain; }
main { max-width: 800px; padding: 4rem 2rem 2rem; margin: auto; }
.eyebrow { color: #48645b; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 750; margin-bottom: 1.1rem; }
.lead { font-size: 1.15rem; color: #48645b; max-width: 39rem; }
.notice { padding: 1rem 1.25rem; border-left: 3px solid #89bf36; border-radius: 0 10px 10px 0; background: #edf4e8; font-size: 0.9rem; }
.contents { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding: 1.5rem 0; margin-top: 0.5rem; font-size: 0.88rem; }
section { margin-top: 2.6rem; padding-top: 2.5rem; border-top: 1px solid #dce5dc; scroll-margin-top: 1rem; }
.muted { color: #48645b; font-size: 0.9rem; }
details { border: 1px solid #dce5dc; border-radius: 12px; margin-top: 0.75rem; background: #fff; }
summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; line-height: 1.45; }
summary::marker { color: #1c5744; }
.details-body { padding: 0.25rem 1.2rem 0.4rem; font-size: 0.93rem; }
.guide-footer { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #dce5dc; font-size: 0.85rem; color: #48645b; }
.guide-footer > a { font-weight: 700; }

@media (max-width: 520px) {
  .guide-header { padding: 1rem; gap: 0.6rem; }
  .guide-header > a:last-child { font-size: 0.8rem; }
  .brand { font-size: 1.1rem; gap: 0.35rem; }
  .brand img { width: 38px; height: 28px; }
  main { padding: 2.7rem 1.15rem 1.5rem; }
  .contents { flex-direction: column; }
  section { margin-top: 2rem; padding-top: 2rem; }
  pre { padding: 0.9rem; }
}

@media print {
  :root { color: #000; background: #fff; }
  .guide-header, .contents, .skip-link { display: none; }
  main { max-width: none; padding: 0; }
  h1 { font-size: 2rem; }
  section { break-inside: avoid; }
  pre { background: #eee; color: #000; white-space: pre-wrap; }
}
