/* Location figures (site/figs/*.svg, inlined by point.js and by the pointlink.js side panel): every colour comes from tokens so dark mode works.
   Moved out of point.css 2026-11-20 so every page with the point panel can draw them. */
.pfig-w { --fig-skin: #fbf5ef; --fig-edge: #b9a493; --fig-lm: #9aa3ab; --fig-tendon: #c5b7aa; --fig-artery: #c46a6a;
  margin: 0; width: 100%; justify-self: start; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pfig-w { --fig-skin: #1f2427; --fig-edge: #6d665f; --fig-lm: #6b757e; --fig-tendon: #5c5650; --fig-artery: #c27b7b; }
}
:root[data-theme="dark"] .pfig-w { --fig-skin: #1f2427; --fig-edge: #6d665f; --fig-lm: #6b757e; --fig-tendon: #5c5650; --fig-artery: #c27b7b; }
.pfig { display: block; width: 100%; height: auto; font-family: inherit; overflow: hidden; }
.pfig .base * { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pfig .skin { fill: var(--fig-skin) !important; stroke: var(--fig-edge); stroke-width: 1.6; }
.pfig .skin.ns { stroke: none; }
.pfig .edge { stroke: var(--fig-edge); stroke-width: 1.6; }
.pfig .lm { stroke: var(--fig-lm); stroke-width: 1.3; }
.pfig .lm.faint { stroke-dasharray: 3 4; opacity: .8; }
.pfig .bone { stroke: var(--fig-lm); stroke-width: 1.2; stroke-dasharray: 4 3; }
.pfig .nail { stroke: var(--fig-lm); stroke-width: 1; }
.pfig .tendon { stroke: var(--fig-tendon); stroke-width: 2.2; }
.pfig .artery { stroke: var(--fig-artery); stroke-width: 1.4; stroke-dasharray: 5 4; }
.pfig .base text.lt { fill: var(--muted); stroke: none; font-size: 12px; }
.pfig .ruler line { stroke: var(--muted); stroke-width: 1; }
.pfig .ruler text { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.pfig .ruler .rt { font-weight: 600; }
.pfig .ruler .rn { font-size: 11.5px; }
.pfig .p { cursor: pointer; text-decoration: none; }
.pfig .p .dot { fill: var(--muted); stroke: var(--surface, #fff); stroke-width: 1.5; }
.pfig .p .halo { fill: transparent; stroke: none; }
.pfig .p .ld { stroke: var(--muted); stroke-width: .8; opacity: .7; }
.pfig .p .pl { fill: var(--muted); font-size: 14px; font-weight: 600; }
.pfig .p .m { display: none; }
.pfig a.p:hover .dot, .pfig a.p:focus .dot { fill: var(--accent-ink); }
.pfig a.p:hover .pl, .pfig a.p:focus .pl { fill: var(--accent-ink); text-decoration: underline; }
.pfig .p.on { cursor: default; }
.pfig .p.on .dot { fill: var(--accent); r: 6.5px; stroke-width: 2; }
.pfig .p.on .halo { fill: var(--accent); opacity: .22; }
.pfig .p.on .pl { fill: var(--ink); font-size: 17px; font-weight: 600; }
.pfig .p.on .ld { stroke: var(--ink); opacity: 1; }
.pfig .p.on .m { display: inline; }
.pfig .p.on .m line { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 3; }
.pfig .p.on .m text { fill: var(--accent-ink); font-size: 13px; font-weight: 600; }
.pfig-w figcaption { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
/* figures drawn over an illustration (.photo): always on a white card, overlay colours fixed for contrast */
.pfig.photo { background: #fff; border-radius: 12px; }
.pfig.photo .crease { stroke: #4b5560; stroke-width: 1.3; stroke-dasharray: 5 4; }
.pfig.photo .p .dot { fill: #2f3a44; stroke: #fff; stroke-width: 1.6; }
.pfig.photo .p .pl { fill: #2f3a44; }
.pfig.photo .p .ld { stroke: #2f3a44; opacity: .75; }
.pfig.photo .ruler line { stroke: #5a6470; }
.pfig.photo .ruler text { fill: #5a6470; }
.pfig.photo a.p:hover .dot, .pfig.photo a.p:focus .dot { fill: #0b6249; }
.pfig.photo a.p:hover .pl, .pfig.photo a.p:focus .pl { fill: #0b6249; }
.pfig.photo .p.on .dot { fill: #0f7a5c; stroke: #fff; }
.pfig.photo .p.on .halo { fill: #0f7a5c; opacity: .3; }
.pfig.photo .p.on .pl { fill: #111; }
.pfig.photo .p.on .ld { stroke: #111; }
.pfig.photo .p.on .m line { stroke: #0f7a5c; }
.pfig.photo .p.on .m text { fill: #0b6249; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
/* anatomical landmark names (bones, muscles, tendons): reference only, below the points */
.pfig .lmk { pointer-events: none; }
.pfig .lmk text { fill: #7a4a1e; font-size: 11.5px; font-style: italic; font-weight: 600;
  paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 3.2px; stroke-linejoin: round; }
.pfig .lmk line { stroke: #7a4a1e; stroke-width: .8; opacity: .75; }
.pfig .lmk circle { fill: #fff; stroke: #7a4a1e; stroke-width: 1.3; }
.pfig-l .lmk text { font-size: 14px; }
.pfig-w .pfig-one { max-width: 100%; }
/* enlarged detail figures (.pfig-l): wider viewBox, so larger text to read the same on a phone */
.pfig-l .base text.lt { font-size: 14px; }
.pfig-l .ruler text { font-size: 14px; }
.pfig-l .p .pl { font-size: 18px; }
.pfig-l .p.on .pl { font-size: 21px; }
.pfig-l .p.on .m text { font-size: 19px; }
.pfig-w .pfig-one + .pfig-one { margin-top: 28px; }
.pfig-w .abbr { display: grid; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.pfig-w .abbr b { color: var(--ink); font-weight: 600; }
/* copyright notice drawn inside each figure (bottom-right of the illustration) */
.pfig .cr { fill: #6b737b; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.pfig-l .cr { font-size: 13px; }

/* under-the-skin sections (cross + longitudinal), drawn on the same white card (2026-11-30) */
.pfig-w .sec-h { margin: 30px 0 10px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.pfig-w .pfig-sec { max-width: 940px; }
.pfig-w .sec-h + .pfig-sec { margin-top: 0; }
.pfig-w { min-width: 0; max-width: 100%; }
.pfig-w .pfig-sec { min-width: 0; }
.pfig-w .sec-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.pfig-w .sec-cap { display: grid; gap: 3px; margin-top: 8px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.pfig-w .sec-cap b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .pfig-w .sec-scroll .pfig { min-width: 600px; } }
