:root { font-family: "Segoe UI", "Yu Gothic UI", sans-serif; color-scheme: light; --help-bg: #f7faf9; --help-text: #13271e; --help-muted: #445e52; --help-border: #cbdad1; --help-link: #006b39; --help-card: #fff; }
:root[data-theme="dark"] { color-scheme: dark; --help-bg: #081b13; --help-text: #eaf7ee; --help-muted: #b6cebf; --help-border: #345342; --help-link: #8be8ad; --help-card: #102b1d; }
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--help-bg); color: var(--help-text); }
a { color: var(--help-link); text-underline-offset: .25em; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible { outline: 3px solid #c68600; outline-offset: 4px; }
.help-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 1.2rem max(1.2rem, calc((100% - 960px)/2)); gap: 1rem; border-bottom: 1px solid var(--help-border); }
.help-header > a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.help-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.help-header button { background: var(--help-card); border: 1px solid var(--help-border); color: var(--help-text); border-radius: .6rem; padding: .7rem; font: inherit; cursor: pointer; }
.help-main { width: min(900px, calc(100% - 2.5rem)); margin: 3rem auto 5rem; }
.help-main h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.help-main h1 span { display: block; font-size: .62em; margin-top: 1rem; }
.help-main h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.5; overflow-wrap: anywhere; }
.help-main p { font-size: 1rem; line-height: 1.95; }
.help-main p[lang="ja"] { color: var(--help-muted); border-left: 3px solid var(--help-border); padding-left: 1rem; }
.help-main section { padding-block: 1.4rem; border-bottom: 1px solid var(--help-border); }
.help-toc, .help-contact { padding: 1.2rem; background: var(--help-card); border: 1px solid var(--help-border); border-radius: 1rem; }
.help-toc li, .help-main li { margin: .8rem 0; line-height: 1.7; }
.help-contact { margin-block: 2rem; }
.help-resources { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; font-size: 1rem; line-height: 1.8; }
.help-footer { padding: 2rem; text-align: center; color: var(--help-muted); font-size: 1rem; }
.help-skip { position: absolute; top: -100px; }
.help-skip:focus { top: .5rem; left: .5rem; padding: 1rem; background: var(--help-card); }
.help-checks { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; line-height: 1.75; background: var(--help-card); }
.help-checks th, .help-checks td { padding: 1rem; border: 1px solid var(--help-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.help-checks th:first-child { width: 24%; }
.help-checks thead { color: var(--help-link); }
.help-cell-label { display: none; }
.help-report { padding: 1.2rem; background: var(--help-card); border: 1px solid var(--help-border); border-radius: .7rem; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 2; }
@media (max-width: 640px) {
  .help-checks, .help-checks tbody { display: block; }
  .help-checks thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .help-checks tr { display: block; margin-bottom: 1rem; border: 1px solid var(--help-border); border-radius: .7rem; overflow: hidden; }
  .help-checks th, .help-checks td { display: block; width: 100%; border: 0; }
  .help-checks th:first-child { width: 100%; }
  .help-checks td { border-top: 1px solid var(--help-border); }
  .help-cell-label { display: block; font-weight: 600; color: var(--help-link); margin-bottom: .4rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
