/* help.scrollwork.app [H263]: written by scripts/build-help.py from the site's tokens, templates/rail.css and
   help/help.css. Never edited by hand. */
:root{
  --ink:#171E2E; --ink-2:#4B566E; --ink-3:#5E6578;
  --paper:#F5F1E6; --paper-2:#ECE6D7; --line:#D3C9B2; --line-2:#E3DBC8;
  --accent:#8C2F27; --gold:#8A6A12;
  --gutter:clamp(16px,5vw,64px);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:#F0EADC; --ink-2:#A8A294; --ink-3:#928D7E;
    --paper:#101319; --paper-2:#171B24; --line:#2C3340; --line-2:#20262F;
    --accent:#DD8A72; --gold:#C9A227;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --ink:#F0EADC; --ink-2:#A8A294; --ink-3:#928D7E;
  --paper:#101319; --paper-2:#171B24; --line:#2C3340; --line-2:#20262F;
  --accent:#DD8A72; --gold:#C9A227;
  color-scheme:dark;
}
@font-face{ font-family:'EB Garamond'; font-style:normal; font-weight:400 800; font-display:swap; src:url('fonts/eb-garamond.woff2') format('woff2') }
@font-face{ font-family:'EB Garamond'; font-style:italic; font-weight:400 800; font-display:swap; src:url('fonts/eb-garamond-italic.woff2') format('woff2') }
@font-face{ font-family:'Noto Serif Hebrew'; font-style:normal; font-weight:400 700; font-display:swap; src:url('fonts/noto-serif-hebrew.woff2') format('woff2') }

/* The skip link [H274]: the first Tab stop on every page, off the screen until
   it is focused, then a small outlined label at the top left -- never a large
   filled block [H170]. It goes where the rail goes, and the application's own
   header carries it too. */
.skip-link{
  position:absolute; left:12px; top:-60px; z-index:100;
  padding:5px 12px; font-size:0.875rem; line-height:1.2; text-decoration:none;
  color:var(--accent); background:var(--paper); border:1px solid var(--accent); border-radius:6px;
}
.skip-link:focus, .skip-link:focus-visible{ top:10px }
/* ── the rail ─────────────────────────────────────────────────────────────
   Sticky, two registers; its one script only unhides [H97]. The numerals are the document's chapters
   and are hard-limited to what the document has [C11]; everything a reader can
   *do* lives in the thinner row beneath, where adding one more never crowds
   the numerals. */
.rail{
  position:sticky; top:0; z-index:30;
  background:color-mix(in srgb,var(--paper) 90%,transparent);
  backdrop-filter:blur(10px); border-bottom:1px solid var(--line-2);
}
.rail-in{ max-width:1180px; margin:0 auto; padding-inline:var(--gutter) }
.rail a{ text-decoration:none; color:var(--ink-2) }
.rail a:hover{ color:var(--accent) }
/* The row wraps rather than run off the page, at a large text size or on a
   phone [C6, H207]; Donate and the way in wrap together, as one. */
.rail-1{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:clamp(13px,2.3vw,28px); row-gap:10px; padding-top:13px }
.rail .mk{ display:block; margin-right:clamp(10px,2.4vw,30px); line-height:0; align-self:center }  /* centred in the row, not held to the labels' foot (his: "brand is not centered") */
.rail .mk img{ display:block; width:auto; height:34px }
@media (prefers-color-scheme:dark){
  /* The lockup is drawn in ink on nothing. On a dark ground it has to invert,
     and the mark is monochrome so a filter is honest rather than a hack. */
  :root:not([data-theme="light"]) .rail .mk img{ filter:invert(1) brightness(1.08) }
}
/* The page menu: the chapters, then Contact at its foot [H224]. Its words are
   set larger than the rail's other small capitals, in rem so the reader's text
   size carries them [H207], and in plain case, which stays readable at that
   size without taking the whole row. */
.rail .ch, .rail .ch-end{ text-align:center }
/* Not blackletter, for the same reason the chapter marks in the page are not:
   UnifrakturCook draws a capital I like a J, so I, II, III and IV read as J,
   JJ, JJJ and JV. It is the brand face and it still cannot spell a numeral. */
.rail .ch i{
  display:block; font-style:normal; font-weight:600;
  color:var(--accent); font-size:0.875rem; line-height:1;
  letter-spacing:.14em; margin-bottom:5px;
}
.rail .ch span, .rail .ch-end span{ font-size:1.0625rem; letter-spacing:.02em; white-space:nowrap }
.rail .ch-end i{
  display:block; font-style:normal; font-weight:600;
  color:var(--accent); font-size:0.875rem; line-height:1;
  margin-bottom:5px;
}
/* Donate, beside the avatar [H224]: made prominent by the accent colour and a
   frame, never by a large filled block [H170]. It and the way in -- Sign in,
   or the account -- are one group at the row's right end. */
.rail-act{ margin-left:auto; align-self:center; display:flex; align-items:center; gap:14px }
.rail .donate{
  padding:3px 12px; white-space:nowrap;
  font-size:0.6875rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; line-height:1.15;
  color:var(--accent); background:transparent; border:1px solid var(--accent); border-radius:6px;
}
.rail .donate:hover, .rail .donate:focus-visible{ color:var(--accent); background:color-mix(in srgb,var(--accent) 8%,transparent) }
.rail-2{
  display:flex; align-items:center; gap:clamp(14px,2.4vw,26px);
  margin-top:10px; padding:9px 0; border-top:1px solid var(--line-2);
  font-size:0.6875rem; letter-spacing:.24em; text-transform:uppercase;
}
/* The one action, set as a button [H52] -- and, this being Scrollwork, a
   scroll: a parchment band with a rolled end each side. Drawn in CSS alone, so
   no image and no change to any page's policy. The ends are the band's own
   pseudo-elements, shaded with the site's tokens, so dark mode follows. Sign in
   sits at the end of the first row, with the chapters [H96]. */
.rail .app{
  position:relative; padding:3px 16px;
  font:inherit; font-size:0.6875rem; letter-spacing:.24em; text-transform:uppercase; line-height:1.15;
  color:var(--accent); text-decoration:none; cursor:pointer;
  background:linear-gradient(var(--paper-2), var(--paper) 45%, var(--paper-2));
  border:0; border-block:1px solid var(--line); border-radius:0; margin:0;
}
.rail-1 > .app{ margin-left:auto; align-self:center }
.rail .app::before, .rail .app::after{
  content:""; position:absolute; top:-4px; bottom:-4px; width:7px;
  border:1px solid var(--line); border-radius:4px;
  background:linear-gradient(90deg, var(--line-2), var(--paper) 40%, var(--line));
}
.rail .app::before{ left:-6px }
.rail .app::after{ right:-6px }
.rail .app:hover, .rail .app:focus-visible{ color:var(--ink); filter:none }
/* Signed in [H96, H97]: the account (and, inside the application, signing
   out) in place of Sign in; the go buttons after Donate and Contact. On a
   public page they are hidden until /rail.js reads the hint, and [hidden] must
   win over the display each of them sets. */
.rail [hidden]{ display:none !important }
.rail form{ margin:0; display:inline }
.rail-auth{ margin-left:auto; align-self:center; display:flex; align-items:center; gap:10px }
.rail-go{ margin-left:auto; display:flex; align-items:center; gap:18px }
/* A go button the server adds [H100] -- any button in .rail-go but the
   scroll-look Open app -- set like the rail's words, in a plain frame. Named
   by position, not by what it is, so a public page's styles say nothing of
   what the server may add. */
.rail-go button:not(.app){
  font:inherit; font-size:0.6875rem; letter-spacing:.24em; text-transform:uppercase; line-height:1.15;
  margin:0; cursor:pointer; padding:3px 14px; color:var(--ink-2); background:var(--paper-2);
  border:1px solid var(--line); border-radius:6px;
}
.rail-go button:not(.app):hover, .rail-go button:not(.app):focus-visible{ color:var(--accent); border-color:var(--accent); filter:none }
.rail .avatar, .rail .icon-button{
  width:30px; height:30px; border-radius:50%; margin:0; padding:0;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--ink-2); background:var(--paper-2); border:1px solid var(--line); cursor:pointer;
}
.rail .avatar:hover, .rail .icon-button:hover{ color:var(--accent); border-color:var(--accent); filter:none }
/* The reader's own avatar or initials in the account button [H103]. */
.rail .avatar{ overflow:hidden }
.rail .avatar img{ display:block; width:100%; height:100%; object-fit:cover }
.rail .avatar .initials{ font-size:0.75rem; font-weight:600; letter-spacing:.06em; color:var(--ink) }
/* Last, so the shared .rail .avatar margin:0 above cannot undo it: the
   account button sits at the rail's right edge, where Sign in sits [H103]. */
.rail-1 > .rail-account{ margin-left:auto; align-self:center }
/* The second row holds only the go buttons now; with none shown it is not drawn. */
.rail-2:not(:has(button:not([hidden]))){ display:none }
.rail .app em{ font-style:italic; letter-spacing:.04em; text-transform:none; color:var(--ink-3) }
/* The opening screen already sits below a rail now, so it need not be a whole
   viewport tall as well. */
.open{ min-height:calc(88svh - 96px) }
section{ scroll-margin-top:104px }
@media (max-width:1100px){ .rail .ch span{ display:none } }
@media (max-width:620px){
  .rail .ch{ display:none }
  .rail-2{ margin-top:0; border-top:0 }
  /* A phone: the mark, then Contact, Donate and the way in, wrapping to a
     second line rather than running off the page [C6]. */
  .rail-1{ padding-bottom:9px; align-items:center }
  .rail .mk img{ height:28px }
  .rail .ch-end i{ display:none }
  /* Donate and the way in are tapped here: 24px tall at least [H263, WCAG 2.5.8]. */
  .rail .donate, .rail .app{ padding-block:5px }
}

/* ── help.scrollwork.app [H263] ──────────────────────────────────────────────
   The public site's paper and ink, its serif and its rail; a band naming Help with the search and the ways back;
   the contents beside the page on a wide screen and behind a toggle on a phone. Font sizes in rem, so a reader's
   own browser setting carries them. Controls are small and outlined, never large filled blocks [H170]. */
*{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100%; scroll-padding-top:7rem }
body{
  margin:0; background:var(--paper); color:var(--ink-2);
  font-family:"EB Garamond",Georgia,serif; font-size:1.1875rem; line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-wrap:break-word;
}
a{ color:var(--accent); text-underline-offset:2px }
a:focus-visible, button:focus-visible, input:focus-visible{ outline:2px solid var(--accent); outline-offset:2px }
.visually-hidden{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0 }

/* The band under the rail: Help's name, its search, and the two ways back. */
.help-band{ border-bottom:1px solid var(--line-2); background:var(--paper-2) }
.help-band-in{ max-width:1180px; margin:0 auto; padding:10px var(--gutter); display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px }
.help-name{ margin:0; font-size:1.25rem; font-weight:500; letter-spacing:.01em }
.help-name a{ color:var(--ink); text-decoration:none }
.help-back{ margin:0 0 0 auto; display:flex; flex-wrap:wrap; gap:8px; font-size:0.9375rem }
.help-back a{ display:inline-block; padding:3px 11px; border:1px solid var(--line); border-radius:6px; text-decoration:none; color:var(--ink-2); min-height:24px }
.help-back a:hover{ color:var(--accent); border-color:var(--accent) }
.help-search{ position:relative; flex:1 1 16rem; max-width:26rem }
.help-search input{
  width:100%; font:inherit; font-size:1rem; color:var(--ink); background:var(--paper);
  border:1px solid var(--line); border-radius:6px; padding:6px 11px;
}
.help-search input::placeholder{ color:var(--ink-3); opacity:1 }
.help-results{ position:absolute; z-index:40; left:0; right:0; top:calc(100% + 4px) }
.help-results:empty{ display:none }
.help-results ul, .help-none{ margin:0; padding:6px; list-style:none; background:var(--paper); border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 24px rgb(0 0 0 / .14) }
.help-none{ padding:10px 12px; font-size:0.9375rem; color:var(--ink-2) }
.help-results a{ display:block; padding:7px 9px; border-radius:6px; text-decoration:none; color:var(--ink-2) }
.help-results a:hover, .help-results a:focus-visible{ background:var(--paper-2); outline-offset:-2px }
.help-hit-title{ display:block; color:var(--ink); font-size:0.9375rem }
.help-hit-text{ display:block; font-size:0.84375rem; line-height:1.4 }
.help-results mark{ background:transparent; color:var(--accent); font-weight:600 }

/* The shell: contents, then the page. */
.help-shell{ max-width:1180px; margin:0 auto; padding-inline:var(--gutter); display:grid; grid-template-columns:15rem minmax(0,1fr); gap:clamp(24px,4vw,56px) }
.help-nav{ position:sticky; top:6.5rem; align-self:start; max-height:calc(100vh - 7.5rem); overflow:auto; padding:28px 4px 24px 0; font-size:0.9375rem }
.help-nav-title{ margin:18px 0 4px; font-size:0.6875rem; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-3) }
.help-nav-title:first-child{ margin-top:0 }
.help-nav ul{ margin:0; padding:0; list-style:none }
.help-nav li a{ display:block; padding:3px 8px; margin-left:-8px; border-left:2px solid transparent; color:var(--ink-2); text-decoration:none; line-height:1.35; min-height:24px }
.help-nav li a:hover{ color:var(--accent) }
.help-nav a[aria-current="page"]{ color:var(--ink); border-left-color:var(--accent) }
.help-nav-toggle{ display:none }

.help-main{ min-width:0; padding-block:28px 56px }
.help-article{ max-width:42rem }
.help-article h1{ margin:0 0 10px; color:var(--ink); font-weight:500; font-size:clamp(1.875rem,4.4vw,2.625rem); line-height:1.1 }
.help-lead{ margin:0 0 28px; font-size:1.25rem; color:var(--ink-2); font-style:italic }
.help-article h2{ margin:40px 0 10px; padding-top:14px; border-top:1px solid var(--line-2); color:var(--ink); font-weight:500; font-size:1.5rem; line-height:1.2 }
.help-article h3{ margin:26px 0 6px; color:var(--ink); font-weight:600; font-size:1.125rem }
.help-article p, .help-article ul, .help-article ol{ margin:0 0 14px }
.help-article li{ margin-bottom:5px }
.help-article li > ul, .help-article li > ol{ margin:5px 0 0 }
.help-article strong{ color:var(--ink); font-weight:600 }
.help-article code{ font-size:0.8125em; padding:1px 4px; color:var(--ink); background:var(--paper-2); border-radius:3px; overflow-wrap:anywhere }
.help-article kbd{
  display:inline-block; min-width:1.6em; padding:0 5px; font:inherit; font-size:0.875rem; line-height:1.5; text-align:center;
  color:var(--ink); background:var(--paper-2); border:1px solid var(--line); border-bottom-width:2px; border-radius:4px;
}
.help-article img{ display:block; max-width:100%; height:auto; margin:6px 0 4px; border:1px solid var(--line); border-radius:6px }
.help-article img + em, .help-article p > img + br + em{ display:block; font-size:0.875rem; color:var(--ink-3) }
.help-article .caption{ margin-top:-6px; font-size:0.9375rem; color:var(--ink-3); font-style:italic }
.table-wrap{ overflow-x:auto; margin:0 0 18px }
.help-article table{ border-collapse:collapse; width:100%; font-size:1rem }
.help-article th, .help-article td{ text-align:left; vertical-align:top; padding:6px 10px; border-bottom:1px solid var(--line-2) }
.help-article th{ color:var(--ink); font-weight:600; font-size:0.9375rem; border-bottom-color:var(--line) }
.help-article td:first-child{ white-space:nowrap }
.help-article .note{ margin:0 0 18px; padding:10px 14px; border-left:2px solid var(--gold); background:var(--paper-2); border-radius:0 6px 6px 0 }
.help-article .note p:last-child{ margin-bottom:0 }

/* Scripture: the verse, then its reference and translation [E16]. */
.scripture{ margin:22px 0 26px; padding:4px 0 4px 20px; border-left:2px solid var(--gold) }
.scripture blockquote{ margin:0; color:var(--ink); font-size:1.25rem; font-style:italic }
.scripture blockquote p{ margin:0 }
.scripture figcaption{ margin-top:6px; font-size:0.9375rem; color:var(--ink-3) }

/* The front page's tiles: each section of Help, a small outlined card. */
.help-tiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(15rem,1fr)); gap:12px; margin:0 0 22px; padding:0; list-style:none }
.help-tiles li{ margin:0 }
.help-tiles a{ display:block; height:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px; text-decoration:none; color:var(--ink-2); font-size:0.9375rem; line-height:1.45 }
.help-tiles a:hover{ border-color:var(--accent) }
.help-tiles strong{ display:block; margin-bottom:2px; color:var(--ink); font-size:1.0625rem; font-weight:600 }

/* Previous and next. */
.help-pager{ max-width:42rem; display:flex; justify-content:space-between; gap:12px; margin-top:44px; padding-top:18px; border-top:1px solid var(--line-2) }
.help-pager a{ display:block; max-width:48%; padding:8px 12px; border:1px solid var(--line); border-radius:8px; text-decoration:none; color:var(--ink); line-height:1.3 }
.help-pager a:hover{ border-color:var(--accent) }
.help-pager span{ display:block; font-size:0.6875rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-3) }
.help-next{ margin-left:auto; text-align:right }

/* The foot, leading back. */
.help-foot{ border-top:1px solid var(--line-2); background:var(--paper-2) }
.help-foot-in{ max-width:1180px; margin:0 auto; padding:26px var(--gutter) 34px; font-size:0.9375rem }
.help-foot p{ margin:0 0 8px }
.help-foot-lockup{ display:flex; align-items:center; gap:10px; font-size:1.0625rem }
.help-foot-lockup a{ color:var(--ink); text-decoration:none; font-weight:600 }
.help-foot-links a{ display:inline-block; padding:2px 0; min-height:24px }
.help-foot-legal{ color:var(--ink-3); font-size:0.875rem }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .help-foot-lockup img{ filter:invert(1) brightness(1.08) } }
:root[data-theme="dark"] .help-foot-lockup img{ filter:invert(1) brightness(1.08) }

/* A phone, or a narrow window: the contents fold behind their toggle, above the page. */
@media (max-width:820px){
  .help-shell{ display:block }
  .help-nav{ position:static; max-height:none; padding:12px 0 0; overflow:visible }
  .help-nav-js .help-nav-toggle:not([hidden]){
    display:inline-flex; align-items:center; gap:6px; margin:0; padding:4px 12px; font:inherit; font-size:0.9375rem; min-height:32px;
    color:var(--ink-2); background:transparent; border:1px solid var(--line); border-radius:6px; cursor:pointer;
  }
  .help-nav-js .help-nav-toggle::after{ content:"▾"; font-size:0.75rem }
  .help-nav-js.help-nav-open .help-nav-toggle::after{ content:"▴" }
  .help-nav-js .help-nav-list{ display:none }
  .help-nav-js.help-nav-open .help-nav-list{ display:block; margin-top:8px; padding:12px 14px; border:1px solid var(--line-2); border-radius:8px; background:var(--paper-2) }
  .help-nav li a{ padding:5px 8px; min-height:32px }
  .help-back{ margin-left:0 }
  .help-search{ flex-basis:100%; max-width:none }
  .help-main{ padding-top:16px }
}
@media (prefers-reduced-motion:reduce){ *{ scroll-behavior:auto !important; transition:none !important } }
@media print{
  .rail, .skip-link, .help-band, .help-nav, .help-pager{ display:none !important }
  .help-shell{ display:block }
  body{ background:#fff; color:#000 }
}
