:root { color-scheme: light; --ink: #1d1d1f; --muted: #626772; --blue: #006bd6; --line: #e1e5eb; --paper: #fff; --surface: #f5f6f8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible, video:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 30; background: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.doc-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.doc-header-inner { max-width: 1248px; min-height: 88px; margin: auto; padding: 10px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.doc-brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; flex-shrink: 0; }
.doc-brand img { display: block; object-fit: contain; height: auto; }
.doc-logo-unnc { width: 162px; filter: brightness(0); }
.doc-logo-academy { width: 194px; }
.doc-brand-divider { height: 30px; width: 1px; background: #cbd1d8; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.doc-hero { padding: 72px 32px 52px; text-align: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fafbfc, #fff); }
.eyebrow, .section-label { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .11em; line-height: 1.6; }
.eyebrow span { padding: 0 9px; color: #a4aab3; }
.doc-hero h1 { max-width: 940px; margin: 20px auto; font-size: clamp(36px, 4.4vw, 60px); font-weight: 750; letter-spacing: -.045em; line-height: 1.1; }
.doc-lead { max-width: 700px; margin: 24px auto 32px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.doc-facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 36px auto 0; padding-top: 26px; border-top: 1px solid var(--line); gap: 20px; }
.doc-facts div + div { border-left: 1px solid var(--line); }
.doc-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.doc-facts dd { font-size: 14px; font-weight: 650; margin: 5px 0 0; }
.doc-layout { display: grid; grid-template-columns: 206px minmax(0,1fr); gap: 64px; max-width: 1248px; margin: auto; padding: 56px 32px 0; align-items: start; }
.doc-toc { position: sticky; top: 122px; padding-right: 12px; font-size: 13px; }
.doc-toc p { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #808691; margin: 0 0 16px; }
.doc-toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); text-decoration: none; line-height: 1.6; }
.doc-toc a:hover { color: var(--blue); }
.doc-article { min-width: 0; }
.doc-section { margin-bottom: 64px; padding-top: 0; }
.doc-section + .doc-section { padding-top: 44px; border-top: 1px solid var(--line); }
.doc-section .section-label { margin: 0 0 12px; }
h2 { margin: 0 0 22px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
h3 { margin: 32px 0 12px; font-size: 20px; line-height: 1.4; letter-spacing: -.02em; }
p { margin: 0 0 18px; }
ul { padding-left: 22px; }
li { padding-left: 3px; margin-bottom: 12px; }
li::marker { color: var(--blue); }
strong { font-weight: 650; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84em; background: #f1f3f6; border-radius: 4px; padding: 2px 4px; overflow-wrap: anywhere; }
figure { margin: 28px 0 32px; }
.figure-link { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.figure-link:hover { border-color: #8ab6e2; }
figure img { display: block; width: 100%; height: auto; }
figcaption { margin: 10px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
figcaption strong { color: var(--ink); font-size: 14px; }
figcaption span { display: block; margin-top: 4px; }
.video-figure { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
video { display: block; width: 100%; max-height: 520px; border-radius: 6px; background: #101318; }
.individual-brief { margin-top: 24px; padding: 18px 20px; background: var(--surface); border-radius: 10px; }
.individual-brief summary { font-size: 14px; color: var(--muted); font-weight: 600; cursor: pointer; }
.individual-brief p { margin: 16px 0 0; font-size: 14px; }
.record-note { padding: 20px 24px; border-left: 3px solid #91afd0; background: #f3f7fc; border-radius: 0 8px 8px 0; font-size: 14px; }
.record-note p { color: #4b5664; margin: 6px 0 0; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin: 24px 0 16px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 1.65; }
caption { text-align: left; padding: 15px 18px; background: #f8f9fb; font-weight: 650; font-size: 14px; }
th, td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 12px; color: var(--muted); background: #fafbfc; }
tbody th { font-weight: 650; }
td span, th span { display: block; font-weight: 400; }
.results-table th:first-child { width: 14%; }
.results-table td:nth-child(2), .results-table td:nth-child(3) { width: 15%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.results-table td:nth-child(3) span { white-space: normal; font-size: 11px; }
.best-result { background: #eff6ff; }
.best-result th { color: #005bb7; }
.best-result th span { margin-top: 5px; font-size: 10px; white-space: nowrap; }
.table-note { font-size: 12px; color: var(--muted); }
.takeaways .back-link { margin-top: 18px; }
.doc-footer { max-width: 1184px; margin: 0 auto; padding: 28px 0 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 824px; padding-top: 32px; }
  .doc-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
  .doc-toc p { width: 100%; margin-bottom: 5px; }
  .doc-toc a { padding: 4px 0; }
  .doc-footer { margin: 0 32px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 128px; }
  .doc-header-inner { flex-direction: column; gap: 2px; padding: 5px 20px 12px; }
  .doc-brand { width: 100%; max-width: 355px; gap: 12px; display: grid; grid-template-columns: minmax(0,.88fr) 1px minmax(0,1.12fr); }
  .doc-brand img { width: 100%; }
  .doc-header .back-link { align-self: flex-start; font-size: 12px; }
  .doc-hero { padding: 40px 20px 32px; }
  .doc-hero h1 { font-size: clamp(30px, 7.8vw, 43px); }
  .eyebrow { font-size: 10px; letter-spacing: .06em; }
  .eyebrow span { padding: 0 4px; }
  .doc-lead { font-size: 16px; margin: 20px auto 24px; }
  .doc-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; margin-top: 24px; padding-top: 20px; }
  .doc-facts div:nth-child(3) { border-left: 0; }
  .doc-facts dd { font-size: 12px; }
  .doc-facts dt { font-size: 10px; }
  .doc-layout { padding: 28px 20px 0; }
  .doc-toc { font-size: 12px; gap: 4px 16px; }
  .doc-section { margin-bottom: 40px; }
  .doc-section + .doc-section { padding-top: 32px; }
  h3 { font-size: 18px; }
  body { font-size: 15px; }
  .video-figure { padding: 8px; }
  figcaption { font-size: 11px; }
  th, td { padding: 13px; }
  .record-note { padding: 16px; }
  .doc-footer { margin: 0 20px; font-size: 11px; flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Original CAM screenshots stay side by side at every screen size. */
.cam-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.cam-pair .figure-link { min-width: 0; border-radius: 6px; }
.media-hint { font-size: 12px; color: var(--muted); }
.download-file { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin: 24px 0 14px; background: #f3f7fc; border: 1px solid #d2e1f1; border-radius: 12px; }
.download-format { margin: 0 0 6px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.download-file h3 { margin: 0 0 8px; }
.download-dimensions { margin: 0; color: var(--muted); font-size: 13px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-shrink: 0; padding: 12px 20px; border-radius: 8px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.download-button:hover { background: #0056ad; }
.doc-downloads .back-link { margin-top: 18px; }
@media (max-width: 600px) {
  .cam-pair { gap: 8px; }
  .download-file { align-items: stretch; flex-direction: column; gap: 18px; padding: 20px; }
}
