/* ヘルプ（help.php） */
main.wide { padding: 0; }
.help { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; max-width: 1080px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.help-toc { position: sticky; top: 1rem; align-self: start; display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; }
.help-toc strong { margin-bottom: .4rem; }
.help-toc a { color: var(--muted); padding: .25rem .5rem; border-radius: 6px; }
.help-toc a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.help-body { min-width: 0; line-height: 1.8; }
.help-body h1 { font-size: 1.8rem; margin: .5rem 0 .5rem; }
.help-body .lead { color: var(--muted); margin-bottom: 1.5rem; }
.help-body section { padding: 1.5rem 0; border-top: 1px solid var(--border); scroll-margin-top: 1rem; }
.help-body h2 { font-size: 1.3rem; margin: 0 0 .8rem; }
.help-body h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.help-body p, .help-body ul, .help-body ol { margin: 0 0 .8rem; }
.help-body li { margin: .2rem 0; }
.help-body table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: .92rem; }
.help-body th, .help-body td { text-align: left; vertical-align: top; padding: .5rem .7rem; border-bottom: 1px solid var(--border); }
.help-body th { width: 30%; color: var(--muted); font-weight: 600; background: #fafbfd; }
.help-body table.keys th { width: 12%; white-space: nowrap; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
.help-body code { background: #eef1f6; padding: .1em .35em; border-radius: 4px; font-size: .88em; }
.help-body pre { background: #1f2530; color: #e6ebf5; padding: .9rem 1rem; border-radius: 8px; overflow-x: auto; font-size: .8rem; line-height: 1.5; }
.help-body .note { padding: .6rem .9rem; background: #fff8e6; border-left: 3px solid #f0b429; border-radius: 6px; font-size: .9rem; }
.help-body dl dt { font-weight: 700; margin-top: .8rem; }
.help-body dl dd { margin: .2rem 0 0 1rem; color: var(--muted); }
figure.layout { margin: .5rem 0 1rem; display: grid; grid-template-columns: 1fr 2fr 1fr; grid-template-areas: "top top top" "left center right"; gap: 6px; font-size: .82rem; }
figure.layout .cell { padding: .6rem .7rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
figure.layout .top { grid-area: top; } figure.layout .left { grid-area: left; } figure.layout .center { grid-area: center; min-height: 110px; display: grid; place-items: center; background: #eef0f4; } figure.layout .right { grid-area: right; }
@media (max-width: 760px) {
  .help { grid-template-columns: 1fr; gap: 1rem; }
  .help-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  figure.layout { grid-template-columns: 1fr; grid-template-areas: "top" "left" "center" "right"; }
}
