/* The Help page (help.html). Builds on style.css. */
body.help { height: auto; background: #f6f8f6; line-height: 1.5; }
.help-top {
  position: sticky; top: 0; z-index: 10; background: var(--green); color: #fff;
  padding: calc(10px + var(--safe-top)) 16px 10px; font-weight: 600; font-size: 17px;
}
.help main { max-width: 720px; margin: 0 auto; padding: 12px 16px calc(32px + var(--safe-bottom)); }
.help h2 { color: var(--green); margin: 28px 0 8px; font-size: 21px; scroll-margin-top: 60px; }
.help h3 { margin: 16px 0 4px; font-size: 16px; }
.help section { background: #fff; border-radius: 12px; padding: 4px 16px 12px; margin-top: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.help section h2 { margin-top: 14px; }
.help .intro { font-size: 17px; }
.help ul, .help ol { padding-left: 22px; }
.help li { margin: 5px 0; }
.help dt { font-weight: 700; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.help dd { margin: 2px 0 0; }
.help code { background: #eef4ef; padding: 1px 5px; border-radius: 4px; font-size: 14px; word-break: break-all; }
.help .tip { background: #eef4ef; border-left: 4px solid var(--green-2); padding: 8px 12px; border-radius: 6px; }
.toc { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.toc a { color: var(--green-2); }
.buttons { border-collapse: collapse; width: 100%; }
.buttons td { padding: 7px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.buttons td.b { font-size: 22px; width: 44px; text-align: center; }
.cp-demo { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--magenta); color: var(--magenta); font-size: 12px; font-weight: 800; align-items: center; justify-content: center; background: #fff; }
.dot-demo { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.dot-demo.faded { opacity: .45; }
.dot-inline { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #c33; vertical-align: middle; }
.dot-inline.ok { background: #4caf50; }
.dot-inline.wait { background: var(--warn); }
.ok-text { color: #2e7d32; font-weight: 600; }
.wait-text { color: #c62828; font-weight: 600; }
.help .back { text-align: center; margin-top: 20px; }
.help .version-label { margin-top: 24px; }
.help main a { color: var(--green-2); }
.release h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.release .current { font-size: 12px; font-weight: 600; background: #e3f1e6; color: #2e7d32; padding: 2px 8px; border-radius: 10px; }
.whats-new-link { font-weight: 600; }
