/* Help pages. Loaded AFTER /shell.css and /ap.css, on <body class="ap help">.
   Classes are h- prefixed so nothing here can reach a marketing page.

   Help screenshots are generated from production renderers with fictional data.
   See marketing-videos/help/screenshots/README.md for the capture workflow. */

.help .h-page{max-width:760px;margin:0 auto;padding:40px 24px 80px}
.help .h-crumbs{font-size:14px;color:var(--a-ink-2,#6E6E73);margin:0 0 18px}
.help .h-crumbs a{color:var(--accent);text-decoration:none}
.help .h-crumbs a:hover{text-decoration:underline}
.help .h-crumbs span{margin:0 6px}
.help h1.h-title{font-size:40px;line-height:1.1;letter-spacing:-.02em;font-weight:600;margin:0 0 14px;color:var(--a-ink,#1D1D1F)}
.help .h-intro{font-size:19px;line-height:1.5;color:var(--a-ink-2,#6E6E73);margin:0 0 28px}
.help h2{font-size:26px;letter-spacing:-.01em;font-weight:600;margin:48px 0 12px;color:var(--a-ink,#1D1D1F);scroll-margin-top:90px}
.help h3{font-size:19px;font-weight:600;margin:28px 0 8px;color:var(--a-ink,#1D1D1F)}
.help p,.help li{font-size:17px;line-height:1.6;color:var(--a-ink,#1D1D1F)}
.help p{margin:0 0 14px}
.help ul{margin:0 0 16px;padding-left:22px}
.help li{margin:4px 0}
.help a.h-in{color:var(--accent)}
.help .h-ui{font-weight:600}  /* a button or label as it reads on screen */

/* The "in this guide" box */
.help .h-toc{border:1px solid var(--a-hair,#D2D2D7);border-radius:14px;padding:16px 20px;margin:0 0 8px}
.help .h-toc p{font-size:14px;font-weight:600;margin:0 0 6px;color:var(--a-ink-2,#6E6E73)}
.help .h-toc ol{margin:0;padding-left:20px}
.help .h-toc li{font-size:15.5px;margin:3px 0}
.help .h-toc a{color:var(--accent);text-decoration:none}

/* Numbered steps */
.help ol.h-steps{list-style:none;counter-reset:hs;padding:0;margin:0}
.help ol.h-steps>li{counter-increment:hs;position:relative;padding:0 0 26px 48px;margin:0}
.help ol.h-steps>li::before{content:counter(hs);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;
  background:var(--accent-wash,#F2F1FB);color:var(--accent);font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center}
.help ol.h-steps>li>p:first-child{margin-top:4px}

/* A note that matters */
.help .h-note{background:#F5F5F7;border-radius:12px;padding:14px 18px;margin:0 0 18px}
.help .h-note p{margin:0;font-size:16px}
.help .h-note p+p{margin-top:8px}
.help .h-note b{font-weight:600}

/* Screenshots: preserve the captured aspect ratio and offer the full-size original. */
.help .h-media{margin:16px 0 24px;min-width:0}
.help .h-media img{display:block;width:100%;height:auto;border:1px solid var(--a-hair,#D2D2D7);border-radius:10px;box-sizing:border-box}
.help .h-image-link{display:block;border-radius:10px;cursor:zoom-in}
.help .h-image-link:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.help .h-media figcaption{font-size:14px;line-height:1.5;color:var(--a-ink-2,#6E6E73);margin-top:10px}
.help .h-media figcaption a{color:var(--accent);white-space:nowrap}
.help .h-media.h-phone{max-width:420px;margin-left:auto;margin-right:auto}
/* ⚠ A SCREENSHOT NOT MADE YET. <figure class="h-media todo" data-media="INV-01"
   data-ratio="16:9|9:16" data-save="/assets/help/<module>/<id>.png" data-brief="...">
   The brief is in data-brief and in marketing-videos/help/<module>.md. To finish one:
   save the PNG at data-save, then swap the figure for the "done" markup the Payroll
   pages use (image link + width/height + alt). Pages go public with the boxes in
   (Kevin, 2026-09-25: "can just push to google too, no issue"). */
.help .h-media.todo .h-shot-slot{aspect-ratio:16/9;border:1.5px dashed var(--a-hair,#D2D2D7);border-radius:10px;background:#FAFAFB;
  display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--a-ink-2,#6E6E73)}
.help .h-media.todo[data-ratio="9:16"]{max-width:300px;margin-left:auto;margin-right:auto}
.help .h-media.todo[data-ratio="9:16"] .h-shot-slot{aspect-ratio:9/16}
.help .h-demo-note{font-size:14px;color:var(--a-ink-2,#6E6E73);margin-bottom:24px}

/* Cards on the Help home and a module page */
.help .h-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:8px 0 24px}
.help .h-card{display:block;border:1px solid var(--a-hair,#D2D2D7);border-radius:14px;padding:18px;text-decoration:none;background:#fff}
.help a.h-card:hover{border-color:var(--accent)}
.help .h-card-t{font-size:17px;font-weight:600;color:var(--a-ink,#1D1D1F);margin:0 0 6px}
.help .h-card-d{font-size:15px;line-height:1.5;color:var(--a-ink-2,#6E6E73);margin:0}
.help .h-card.soon{background:#F5F5F7}
.help .h-card .h-soon{display:inline-block;font-size:12px;font-weight:600;color:var(--a-ink-2,#6E6E73);margin-top:10px}

/* A plain table (which resolution to use) */
.help .h-tbl{width:100%;border-collapse:collapse;margin:6px 0 20px;font-size:15.5px}
.help .h-tbl th,.help .h-tbl td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--a-hair,#D2D2D7);line-height:1.5}
.help .h-tbl th{font-size:14px;color:var(--a-ink-2,#6E6E73);font-weight:600}
.help .h-tbl-wrap{overflow-x:auto}

/* Questions */
.help details.h-q{border-bottom:1px solid var(--a-hair,#D2D2D7);padding:14px 0}
.help details.h-q summary{cursor:pointer;font-size:17px;font-weight:600;color:var(--a-ink,#1D1D1F);list-style:none}
.help details.h-q summary::-webkit-details-marker{display:none}
.help details.h-q summary::after{content:"+";float:right;color:var(--a-ink-2,#6E6E73);font-weight:400}
.help details.h-q[open] summary::after{content:"\2212"}
.help details.h-q p{margin:10px 0 0;font-size:16.5px}

.help .h-next{margin-top:48px;padding-top:20px;border-top:1px solid var(--a-hair,#D2D2D7);font-size:16px}
.help .h-next a{color:var(--accent)}

@media (max-width:700px){
  .help .h-page{padding:28px 16px 64px}
  .help h1.h-title{font-size:31px}
  .help .h-intro{font-size:17px}
  .help h2{font-size:22px}
  .help p,.help li{font-size:16px}
}
