/* /process (src/pages/process.html): long technical page with a sticky table of contents. Shared tokens: v2.css. */
.proc-hero .display { max-width: 11em; }
.proc-hero__grid { margin-top: var(--s6); align-items: start; }
.proc-main { padding-bottom: var(--s8); }
.proc { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: var(--s6); align-items: start; }
.toc-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.toc summary { list-style: none; cursor: default; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.toc summary::-webkit-details-marker { display: none; }
.toc__now { color: var(--fg-2); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); text-decoration: none;
  font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .07em; transition: color var(--t) var(--ease); }
.toc a:hover { color: var(--fg); }
.toc a[aria-current="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.toc a[aria-current="true"] span { font-weight: 700; }
.psec { padding-top: var(--s7); scroll-margin-top: calc(var(--header-h) + 8px); }
.psec:first-child { padding-top: 0; }
.psec .rule { margin-bottom: var(--s5); }
.psec__h { font-size: clamp(28px, 3.4vw, 48px); max-width: 16em; margin-bottom: var(--s5); }
.pbody > * + * { margin-top: var(--s4); }
.pbody p, .pbody .plist, .pbody .psteps { max-width: 62ch; }
.psub { margin-top: var(--s5) !important; }
.plist, .psteps { padding-left: 1.2em; margin-bottom: 0; }
.plist li, .psteps li { margin-bottom: .5em; }
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; border-top: 1px solid var(--line-strong); }
.ptable th { text-align: left; font: 500 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--fg-2); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-strong); }
.ptable td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 759px) { .ptable { font-size: 14px; } .ptable td:first-child { white-space: normal; } }
.pbody .spec { max-width: 760px; }
/* figures */
.fig picture, .fig img { width: 100%; height: auto; background: #eee; }
.fig figcaption { display: grid; gap: 6px; margin-top: var(--s2); }
.fig figcaption .caption { margin: 0; }
.fig__text { font-size: 15px; line-height: 1.5; color: var(--fg-2); max-width: 62ch; }
.fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 759px) { .fig-pair { grid-template-columns: 1fr; } }
.proc-cta__btns { margin-top: var(--s6); }
/* phones and tablets: the contents sit collapsed at the top and stay under the header while scrolling */
@media (max-width: 959px) {
  .proc { display: block; }
  .toc-wrap { position: static; margin-bottom: var(--s5); }
  html.js .toc-wrap { position: sticky; top: var(--header-h); z-index: 40; background: #fff; margin: 0 calc(var(--pad) * -1) var(--s5); padding: 0 var(--pad); border-bottom: 1px solid var(--line-strong); }
  html.js .toc summary { cursor: pointer; min-height: 48px; align-items: center; border-bottom: 0; padding: 0; }
  html.js .toc summary::after { content: "+"; font: 500 20px/1 var(--mono); }
  html.js .toc[open] summary::after { content: "\2212"; }
  html.js .toc nav { max-height: calc(100svh - var(--header-h) - 48px - 24px); overflow-y: auto; padding-bottom: var(--s3); }
  .psec { scroll-margin-top: calc(var(--header-h) + 56px); }
}
@media (min-width: 960px) { .toc__now { display: none; } }
