/* Help center (home, category, T22 article). Layout glue only: every colour, font, radius and component comes from zuvamo.css. */
.ph { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--f-body); padding: 5px 9px; border-radius: var(--r-pill); border: 1px dashed var(--slate); color: var(--slate); white-space: nowrap; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- search (combobox) ---------- */
.hsearch { position: relative; display: grid; gap: var(--s-1); margin-block-start: var(--s-2); }
.hsearch__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hsearch .input { min-height: 56px; font-size: 18px; padding-inline-end: 48px; border-width: 2px; border-color: var(--ink); }
.hsearch .input-wrap .icon { top: 16px; }
.hsearch__kbd { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); font: 600 13px/1 var(--f-mono); color: var(--slate); border: 1px solid var(--signal); border-block-end-width: 2px; border-radius: var(--r-1); padding: 4px 7px; background: var(--paper); }
.hsearch .btn { min-height: 56px; }
.hsearch__pop { position: absolute; z-index: 20; inset-inline: 0; top: 64px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-2); padding: 6px; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--ink) 40%, transparent); }
.hsearch__list { list-style: none; margin: 0; padding: 0; }
.hsearch__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: var(--r-1); cursor: pointer; }
.hsearch__list li[aria-selected="true"], .hsearch__list li:hover { background: var(--info-tint); box-shadow: inset 4px 0 0 var(--live); }
.hsearch__list mark { background: none; color: var(--action); font-weight: 700; }
.hsearch__list .line-tag { font-size: 13px; color: var(--slate); }
.hsearch__load, .hsearch__none { padding: 8px 12px; display: grid; gap: 6px; justify-items: start; }
.hsearch--compact { margin: 0; }
.hsearch--compact .input, .hsearch--compact .btn { min-height: 44px; font-size: 16px; }
.hsearch--compact .input-wrap .icon { top: 10px; }
.hsearch--compact .hsearch__pop { top: 52px; }
.h-top { padding-block-end: var(--s-4); }
@media (max-width: 559px) { .hsearch__form { grid-template-columns: 1fr; } .hsearch__kbd { display: none; } .hsearch__pop { top: 64px; } }

/* ---------- role map + start route ---------- */
.tline--3 { grid-template-columns: 9.5rem repeat(3, minmax(0, 1fr)); }
.roles .stop__state { max-width: 24ch; }
.tline--b5 { grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.startline .stop__no { font-size: 13px; color: var(--action); font-weight: 600; }
.startline .stop__link { min-height: 0; font-size: 15px; line-height: 1.3; }
.startline .stop.is-x .stop__link { position: relative; z-index: 2; background: var(--paper); padding-inline: 6px; border-radius: 3px; }
@media (max-width: 860px) {
  .tline--3, .tline--b5 { grid-template-columns: 1fr; }
  .startline .stop__no, .startline .stop__link, .startline .stop__body { grid-column: 2; }
  .roles .stop__link, .roles .stop__state { grid-column: 2; }
}

/* ---------- popular board ---------- */
.pop td:first-child a { font-family: var(--f-body); font-weight: 600; color: var(--ink); text-decoration: none; }
.pop td:first-child a:hover { color: var(--action); text-decoration: underline; }
.pop time { color: var(--slate); }

/* ---------- videos row ---------- */
.vrow { list-style: none; margin: 0; padding: 0; }
.vcard { display: grid; gap: 6px; align-content: start; }
.vcard__a { display: grid; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.vcard__a:hover .vcard__t { color: var(--action); text-decoration: underline; }
.vcard__slot { position: relative; padding: var(--s-2); }
.vcard__play { width: 0; height: 0; border-block: 9px solid transparent; border-inline-start: 15px solid currentColor; display: inline-block; }
.vcard__slot .vcard__play { position: absolute; inset-inline-end: var(--s-2); bottom: var(--s-2); color: var(--action); }
[dir="rtl"] .vcard__play { transform: scaleX(-1); }

/* ---------- troubleshooting entry points ---------- */
.syms { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
@media (min-width: 768px) { .syms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sym { display: grid; gap: 8px; padding: var(--s-3); border: 2px solid var(--ink); border-inline-start: 8px solid var(--warn); border-radius: var(--r-2); background: var(--surface); color: var(--ink); text-decoration: none; height: 100%; }
.sym__k { font: 600 13px/16px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.sym__t { font: 600 20px/1.35 var(--f-display); }
.sym__go { display: inline-flex; align-items: center; gap: 6px; color: var(--action); font-weight: 600; }
.sym:hover .sym__go { text-decoration: underline; }
.sup { align-items: start; border-block-start: 2px solid var(--ink); padding-block-start: var(--s-4); }
.rel { border-inline-start: 3px solid var(--rail); padding-inline-start: var(--s-3); }

/* ---------- category ---------- */
.cat-top { border-block-end: 1px solid var(--rail); background: var(--surface); }
.cat-top__in { display: grid; gap: 12px; padding-block: 12px; align-items: center; }
@media (min-width: 768px) { .cat-top__in { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); } }
.role-sw { display: flex; align-items: center; gap: 8px; }
.role-sw .select { min-height: 44px; min-width: 0; }
.cat { padding-block-end: var(--s-6); }
.cat .docs__nav { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
.topics-btn { justify-self: start; }
@media (max-width: 1023px) { .cat__nav { display: none; } }
@media (min-width: 1024px) { .topics-btn { display: none; } .cat { grid-template-columns: 260px minmax(0, 1fr); } }
.skip--local { position: static; transform: none; }
.skip--local:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree > li { border-block-end: 1px solid var(--rail); }
.tree__row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; }
.tree__g { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.tree__g:hover { color: var(--action); }
.tree__btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--slate); cursor: pointer; border-radius: var(--r-1); }
.tree__btn:hover { background: var(--info-tint); color: var(--ink); }
.tree__btn .icon { transition: transform var(--dur-quick) var(--ease-out); }
.tree__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.tree ul { padding-block-end: 8px; border-inline-start: 2px solid var(--rail); margin-inline-start: 2px; }
.tree ul[hidden] { display: none; }
.tree ul a { display: flex; align-items: center; min-height: 40px; padding: 6px 0 6px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--slate); text-decoration: none; font-size: 14px; line-height: 1.35; }
.tree ul a:hover { color: var(--ink); border-inline-start-color: var(--signal); }
.tree ul a[aria-current] { color: var(--ink); font-weight: 600; border-inline-start-color: var(--live); }
.agroup { scroll-margin-top: calc(var(--header-h) + 16px); }
.agroup__h { font-size: var(--t-h3); margin-block-end: var(--s-1); }
.alist a { grid-template-columns: 24px minmax(0, 1fr) 16px; }
.al__t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.al__t .chip { min-height: 26px; font-size: 13px; padding: 2px 10px 2px 8px; }
.chip--addon i { border-radius: 2px; box-shadow: inset 0 0 0 2px var(--ink); }
.cat-load { display: grid; gap: 4px; }
.topics-drawer { z-index: 70; }
.topics-drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px 16px; }

/* ---------- article T22 ---------- */
.art { align-items: start; margin-block: var(--s-2) var(--s-6); }
.art__main { grid-column: 1 / -1; min-width: 0; }
.art__rail { display: none; }
@media (min-width: 1024px) {
  .art__main { grid-column: 1 / span 8; }
  .art__rail { display: block; grid-column: 10 / span 3; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
  .toc-m { display: none; }
}
.art h1 { font-size: var(--t-h1); line-height: 1.12; }
.art section[id], .astep { scroll-margin-top: calc(var(--header-h) + 16px); }
.art h2 { font-size: var(--t-h2); }
.abadges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.abadges .chip small { margin-inline-end: 2px; }
.abadges__who { flex-basis: 100%; }
.abadges__who .small { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.answer h2.answer__q { font-size: 13px; }
.bul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.prereq li { align-items: start; }
.asteps { gap: var(--s-5); }
.astep { border-block-start: 1px solid var(--rail); padding-block-start: var(--s-3); }
.astep > p:not(.res) { font-size: 17px; color: var(--ink); }
.res { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 16px; background: var(--ok-tint); border-inline-start: 4px solid var(--ok); border-radius: var(--r-1); font-size: 15px !important; color: var(--ink) !important; }
.res__k { display: inline-flex; gap: 6px; align-items: center; font: 600 13px/20px var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.res__k .icon { color: var(--ok); }
.ashot { margin: 0; display: grid; gap: var(--s-2); }
.ashot__tabs [role="tablist"] { margin-block-end: 0; }
.ashot__tabs [role="tabpanel"] { padding-block-start: var(--s-2); }
.ashot .frame__body { aspect-ratio: 16 / 10; }
.ashot__m { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 19.5; border-radius: 28px; }
.ashot .callout { z-index: 3; }

/* wireframe drop zone: replaced 1:1 by a real capture; uses only system tokens */
.wf { position: absolute; inset: 0; display: grid; background: var(--paper); }
.wf i, .wf b { display: block; border-radius: 4px; background: var(--rail); }
.wf .on { background: var(--action); }
.wf .hl { background: var(--info-tint); box-shadow: inset 0 0 0 2px var(--action); }
.wf .ok { background: var(--ok-tint); box-shadow: inset 0 0 0 2px var(--ok); }
.wf .log { background: var(--surface); box-shadow: inset 0 0 0 1px var(--signal); }
.wf--d { grid-template-columns: 18% minmax(0, 1fr); }
.wf__side { display: grid; align-content: start; gap: 10%; padding: 8% 12%; background: var(--surface); border-inline-end: 1px solid var(--rail); }
.wf__side i { height: 10px; }
.wf__main { display: grid; align-content: start; gap: 4%; padding: 3% 4%; position: relative; min-width: 0; }
.wf__main--split { grid-template-columns: minmax(0, 1fr) 36%; gap: 4%; align-items: start; }
.wf__main--split > div:first-child { display: grid; gap: 8%; }
.wf__tabs { display: flex; gap: 4%; } .wf__tabs i { height: 10px; width: 16%; }
.wf__bar { display: flex; gap: 3%; } .wf__bar i { height: 22px; width: 30%; } .wf__bar i:first-child { width: 22%; }
.wf__rows { display: grid; gap: 8px; } .wf__rows i { height: 26px; }
.wf__rows--dim { opacity: .5; }
.wf__panel { display: grid; gap: 10px; padding: 8%; background: var(--surface); border: 1px solid var(--rail); border-radius: var(--r-1); height: 100%; align-content: start; }
.wf__panel i { height: 16px; } .wf__panel i.log { height: 40px; margin-block-start: 12px; }
.wf__btn { height: 28px; background: var(--action) !important; margin-block-start: 12px; }
.wf__modal { position: absolute; inset: 14% 18%; display: grid; gap: 10px; align-content: start; padding: 4%; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-2); }
.wf__modal i { height: 22px; } .wf__modal .wf__btn { width: 30%; justify-self: end; }
.wf--m { align-content: start; gap: 4%; padding: 10% 7% 6%; }
.wf__mbar { display: flex; gap: 6%; } .wf__mbar i { height: 14px; width: 40%; }
.wf--m .wf__rows i { height: 40px; }
.wf__btn--m { position: absolute; inset-inline: 7%; bottom: 6%; height: 36px; }
.wf-fb { position: absolute; inset: 0; z-index: 4; place-content: center; justify-items: center; text-align: center; border-radius: 0; }
.wf-fb[hidden] { display: none; }
.ashot.is-missing .wf, .ashot.is-missing .callout { visibility: hidden; }

/* video */
.avid__stage { position: relative; place-items: start; }
.avid__play { align-self: center; justify-self: center; }
.avid__play .vcard__play { border-inline-start-color: currentColor; margin-inline-end: 4px; }
.chaps { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--ink); }
.chap { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; width: 100%; min-height: 44px; padding: 8px 4px; border: 0; border-block-end: 1px solid var(--rail); background: none; color: var(--ink); font: 500 15px/1.35 var(--f-body); text-align: start; cursor: pointer; }
.chap .num { color: var(--action); font-size: 14px; }
.chap:disabled { cursor: default; color: var(--ink); }
.chap:not(:disabled):hover, .chap[aria-current="true"] { background: var(--info-tint); }

/* troubleshooting, next task, footer */
.ts { border-block-start: 1px solid var(--rail); padding-block-start: var(--s-2); display: grid; gap: 8px; }
.ts h3 { font-size: 19px; }
.ts dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; }
.ts dt { font: 600 13px/22px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.ts dd { margin: 0; }
.next-task { display: grid; gap: 8px; padding: var(--s-3); border: 2px solid var(--ink); border-radius: var(--r-2); background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: inset 8px 0 0 var(--live); }
.next-task__t { font: 600 22px/1.3 var(--f-display); }
.next-task:hover .next-task__t { color: var(--action); text-decoration: underline; }
.afoot { border-block-start: 2px solid var(--ink); padding-block-start: var(--s-3); }
.afoot__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: 0; }
.afoot__meta dt { font: 600 13px/16px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.afoot__meta dd { margin: 4px 0 0; }
.fb { padding: var(--s-3); border: 1px solid var(--rail); border-radius: var(--r-2); background: var(--surface); }
.fb [aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* TOC */
.toc__list, .toc__list ol { list-style: none; margin: 0; padding: 0; }
.toc__list { border-inline-start: 2px solid var(--rail); }
.toc__list a { display: flex; gap: 8px; align-items: baseline; min-height: 36px; padding: 6px 0 6px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--slate); text-decoration: none; font-size: 14px; line-height: 1.35; }
.toc__list ol a { padding-inline-start: 26px; }
.toc__list a:hover { color: var(--ink); border-inline-start-color: var(--signal); }
.toc__list a[aria-current="location"] { color: var(--ink); font-weight: 600; border-inline-start-color: var(--live); }
.toc__list .num { color: var(--action); font-size: 13px; }
.toc-m { margin-block: var(--s-1) var(--s-2); border: 2px solid var(--ink); border-radius: var(--r-2); background: var(--surface); position: sticky; top: calc(var(--header-h) + 8px); z-index: 15; }
.toc-m summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 600; cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m[open] summary .icon { transform: rotate(180deg); }
.toc-m nav { padding: 0 16px 12px; max-height: 60vh; overflow-y: auto; }
/* article steps: always a vertical route (the module template's 4-column row is for overviews) */
.asteps { grid-template-columns: minmax(0, 1fr) !important; }
.astep { grid-template-columns: minmax(0, 1fr); padding-inline-start: 60px; }
.astep > * { min-width: 0; }
.astep .step__no { position: absolute; inset-inline-start: 0; top: var(--s-3); }
.asteps .astep::before { content: ""; display: block; position: absolute; inset-inline: 19px auto; top: var(--s-3); bottom: calc(-1 * var(--s-5)); width: 6px; height: auto; background: var(--action); }
.asteps .astep:last-child::before { bottom: auto; height: 22px; }
@media (max-width: 559px) { .astep { padding-inline-start: 52px; } .astep .step__no { width: 36px; height: 36px; font-size: 15px; } .asteps .astep::before { inset-inline-start: 15px; } }
.ashot, .ashot__tabs { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.ashot__tabs, .ashot__tabs > * { min-width: 0; }
.ashot .frame__url { min-width: 0; }
.wf__menu { position: absolute; inset-inline-start: 7%; top: 3.5%; width: 22px; height: 14px; background: var(--ink) !important; }
.prereq { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prereq li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.prereq .icon { color: var(--ok); margin-block-start: 3px; }
.cat-sec { border-block-start: 2px solid var(--ink); padding-block-start: var(--s-3); margin-block-start: var(--s-3); }
.cat-sec > h2 { font-size: var(--t-h3); }
.hsearch .input:not(:placeholder-shown) ~ .hsearch__kbd { display: none; }
