/* Help centre (archviewvr.com/help). Uses the site's tokens from /style.css. */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 14px; border-radius: 8px; }
.nav nav a[aria-current="page"] { color: var(--ink); }

/* search */
.hc-search { margin: 26px auto 0; max-width: 620px; position: relative; }
.hc-search input { width: 100%; font: inherit; font-size: 17px; padding: 16px 20px 16px 50px; border-radius: 999px; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(16,32,52,.06); color: var(--ink); -webkit-appearance: none; appearance: none; }
.hc-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hc-search > svg { position: absolute; left: 18px; top: 27px; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.hc-search.small { margin: 0; max-width: none; }
.hc-search.small input { font-size: 14px; padding: 10px 14px 10px 42px; box-shadow: none; }
.hc-search.small > svg { left: 15px; top: 21px; width: 17px; height: 17px; }
.hc-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; text-align: left; max-height: min(460px, 70vh); overflow: auto; }
.hc-search.small .hc-results { width: min(420px, calc(100vw - 40px)); }
.hc-results a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.hc-results a:hover, .hc-results a.on { background: var(--wash); }
.hc-results b { font-size: 15px; color: var(--ink); }
.hc-results span { font-size: 13px; color: var(--mute); line-height: 1.45; }
.hc-results small { font-size: 12px; color: var(--accent); font-weight: 600; }
.hc-results mark { background: var(--accent-soft); color: inherit; border-radius: 3px; }
.hc-results .none { padding: 12px; font-size: 14px; color: var(--mute); }
.hc-results .none a { display: inline; padding: 0; color: var(--accent); }

/* home */
.hc-hero { background: var(--wash); padding: 56px 0 48px; text-align: center; }
.hc-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.hc-hero p { color: var(--mute); margin-top: 10px; font-size: 18px; }
.hc-pop { margin-top: 14px; font-size: 14px; color: var(--mute); }
.hc-pop a { color: var(--accent); text-decoration: none; margin: 0 6px; font-weight: 600; display: inline-block; }
.hc-pop a:hover { text-decoration: underline; }
.hc-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 48px 0 24px; }
.hc-cat { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hc-cat:hover { border-color: #c8d3de; box-shadow: 0 10px 30px rgba(16,32,52,.07); }
.hc-cat .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.hc-cat h3 { margin-top: 6px; }
.hc-cat p { color: var(--mute); font-size: 15px; }
.hc-cat ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; font-size: 14px; }
.hc-cat li { color: var(--ink); }
.hc-cat .n { color: var(--mute); font-size: 13px; margin-top: 4px; }
.hc-start { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: var(--ink); color: #fff; border-radius: 22px; padding: 30px 34px; margin: 20px 0 64px; }
.hc-start h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.hc-start p { color: #b8c2cd; margin-top: 8px; }
.hc-start .btn { margin-top: 18px; }
.hc-start ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.hc-start li { counter-increment: s; display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.hc-start li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 13px; flex: none; }
.hc-start li a { color: #fff; text-decoration: none; }
.hc-start li a:hover { text-decoration: underline; }

/* category page */
.hc-catpage { max-width: 820px; padding: 36px 0 80px; }
.hc-catpage h1 { font-size: 38px; }
.hc-catpage .lead { font-size: 19px; color: var(--mute); margin: 12px 0 22px; }
.hc-catpage .hc-search { max-width: 420px; }
.hc-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.hc-list a { display: grid; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.hc-list a:hover b { color: var(--accent); }
.hc-list b { font-size: 18px; }
.hc-list span { color: var(--mute); font-size: 15px; }
.hc-other { margin-top: 48px; }
.hc-other h2 { font-size: 20px; margin-bottom: 12px; }
.hc-other div { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-other a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.hc-other a:hover { border-color: #c8d3de; }

/* article */
.crumbs { font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.crumbs a { color: var(--mute); }
.ar { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 44px; padding: 36px 0 80px; }
.ar-nav { font-size: 14px; position: sticky; top: 90px; align-self: start; display: grid; gap: 14px; max-height: calc(100vh - 110px); overflow: auto; padding: 2px 4px 2px 2px; }
.ar-toggle { display: none; }
.ar-cats { display: grid; gap: 4px; }
.ar-cat summary { list-style: none; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-weight: 700; padding: 8px 10px 6px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.ar-cat summary::-webkit-details-marker { display: none; }
.ar-cat summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.ar-cat[open] summary::after { transform: rotate(45deg); }
.ar-cat summary:hover { color: var(--ink); }
.ar-cat a { display: block; text-decoration: none; color: var(--ink); padding: 5px 10px; border-radius: 8px; line-height: 1.4; }
.ar-cat a:hover { background: var(--wash); }
.ar-cat a.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.ar-main { max-width: 720px; }
.ar-main h1 { font-size: clamp(30px, 4vw, 38px); }
.ar-main .lead { font-size: 19px; color: var(--mute); margin: 12px 0 8px; }
.ar-meta { font-size: 13px; color: var(--mute); display: flex; gap: 14px; margin-bottom: 26px; }
.ar-main h2 { font-size: 22px; margin: 34px 0 12px; letter-spacing: -.01em; line-height: 1.25; scroll-margin-top: 90px; }
.ar-main h3 { font-size: 17px; margin: 24px 0 8px; scroll-margin-top: 90px; }
.ar-main p, .ar-main li { color: #3d4855; line-height: 1.65; }
.ar-main p + p { margin-top: 12px; }
.ar-main ul { padding-left: 22px; margin: 10px 0; }
.ar-main ul li + li { margin-top: 4px; }
.ar-main a { color: var(--accent); }
.ar-main b { color: var(--ink); }
.steps2 { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: st; }
.steps2 > li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.steps2 > li::before { content: counter(st); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.steps2 > li > div { padding-top: 2px; }
.steps2 .shot { margin-top: 12px; }
.shot { margin: 18px 0 6px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--wash); }
.shot img { width: 100%; }
.cap2 { font-size: 13px; color: var(--mute); margin-bottom: 18px; }
.tip { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; color: #0d4f80 !important; font-size: 15px; margin: 18px 0; }
.tip b { color: inherit; }
.warn2 { background: #fff4e5; border-radius: 12px; padding: 12px 16px; color: #8a4b00 !important; font-size: 15px; margin: 18px 0; }
.warn2 b { color: inherit; }
kbd { font: 600 13px var(--f); background: var(--wash); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; white-space: nowrap; color: var(--ink); }
.tbl { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #3d4855; line-height: 1.5; }
.tbl th { background: var(--wash); color: var(--ink); font-weight: 700; font-size: 14px; }
.tbl tr:last-child td { border-bottom: 0; }
.related { margin-top: 36px; }
.related h2 { font-size: 18px; margin: 0 0 8px; }
.ar-toc { font-size: 13px; position: sticky; top: 90px; align-self: start; }
.ar-toc h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.ar-toc a { display: block; color: var(--mute); text-decoration: none; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); line-height: 1.4; }
.ar-toc a:hover { color: var(--ink); }
.ar-toc a.on { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.helpful { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--mute); font-size: 15px; }
.helpful-msg a { color: var(--accent); }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.next a { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; display: grid; gap: 2px; }
.next a:hover { border-color: #c8d3de; }
.next a.r { text-align: right; }
.next small { color: var(--mute); }
.next b { color: var(--ink); }

@media (max-width: 1100px) {
  .ar { grid-template-columns: 220px minmax(0, 1fr); }
  .ar-toc { display: none; }
}
@media (max-width: 900px) {
  .hc-cats { grid-template-columns: 1fr 1fr; }
  .hc-start { grid-template-columns: 1fr; }
  .ar { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .ar-nav { position: static; max-height: none; overflow: visible; }
  .ar-toggle { display: flex; justify-content: space-between; align-items: center; font: inherit; font-weight: 700; font-size: 14px; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: var(--ink); cursor: pointer; }
  .ar-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
  .ar-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .ar-cats { display: none; }
  .ar-nav.open .ar-cats { display: grid; }
}
@media (max-width: 560px) {
  .hc-cats { grid-template-columns: 1fr; padding-top: 32px; }
  .hc-hero { padding: 40px 0 36px; }
  .hc-search input { font-size: 16px; }
  .hc-start { padding: 24px 22px; }
  .next { grid-template-columns: 1fr; }
  .ar-meta { flex-wrap: wrap; }
}
