/* Loaded only by the instrument-master article; shared site styles stay unchanged. */
body.inner-page .post:has(.instrument-guide) > h1 { text-wrap: balance; }
.instrument-guide { --guide-ink: #21344a; --guide-muted: #516279; --guide-blue: #174fc7; --guide-line: #d4dfea; color: var(--guide-ink); font-size: 17px; line-height: 1.95; word-break: keep-all; overflow-wrap: anywhere; }
.instrument-guide > :first-child { margin-top: 0; }
.post .content .instrument-guide p { margin: 0 0 22px; }
.instrument-guide h2 { margin: 52px 0 19px; color: #102941; font-size: clamp(26px, 3vw, 32px); line-height: 1.5; letter-spacing: -.04em; }
.instrument-guide h3 { margin: 31px 0 14px; color: #1d3856; font-size: 22px; line-height: 1.55; letter-spacing: -.025em; }
.instrument-guide h4 { margin: 25px 0 12px; color: #263e58; font-size: 18px; line-height: 1.65; }
.instrument-guide [id] { scroll-margin-top: 18px; }
.instrument-guide a { color: var(--guide-blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.instrument-guide a:hover { color: #0d3d9d; text-decoration-thickness: 2px; }
.instrument-guide a:focus-visible, .instrument-guide [tabindex="0"]:focus-visible { outline: 3px solid var(--guide-blue); outline-offset: 4px; border-radius: 3px; }
.instrument-guide ul, .instrument-guide ol { margin: 18px 0 27px; padding-left: 25px; }
.instrument-guide li { margin-block: 9px; padding-left: 2px; }
.instrument-guide li > ul, .instrument-guide li > ol { margin-block: 10px; }
.instrument-guide strong { color: #183651; }
.instrument-guide code { padding: 2px 5px; border-radius: 4px; background: #edf2f7; color: #193b65; font: .88em/1.7 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; word-break: break-word; overflow-wrap: anywhere; }
.instrument-guide pre { max-width: 100%; margin: 26px 0; padding: 20px 22px; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--guide-line); border-radius: 8px; background: #f4f7fa; color: #213d5c; font-size: 14px; line-height: 1.8; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
.instrument-guide pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; line-height: inherit; white-space: inherit; word-break: inherit; }
.instrument-guide .guide-summary { margin: 29px 0 33px; padding: 25px 28px; border: 1px solid #c6d8ed; border-left: 4px solid #245bdd; border-radius: 6px; background: #f0f5fc; }
.instrument-guide .guide-toc { margin: 29px 0 39px; padding: 24px 28px; border: 1px solid var(--guide-line); border-radius: 8px; background: #f8fafc; }
.instrument-guide .guide-toc h2, .instrument-guide .guide-toc h3 { font-size: 20px; }
.instrument-guide .guide-toc ul, .instrument-guide .guide-toc ol { margin-bottom: 0; font-size: 15px; }
.instrument-guide .guide-toc a { display: inline-block; padding-block: 2px; }
.instrument-guide .guide-summary > :first-child, .instrument-guide .guide-toc > :first-child, .instrument-guide .guide-sources > :first-child, .instrument-guide .guide-note > :first-child, .instrument-guide .guide-download > :first-child { margin-top: 0; }
.post .content .instrument-guide .guide-summary > :last-child, .post .content .instrument-guide .guide-toc > :last-child, .post .content .instrument-guide .guide-sources > :last-child, .post .content .instrument-guide .guide-note > :last-child, .post .content .instrument-guide .guide-download > :last-child { margin-bottom: 0; }
.instrument-guide .guide-table { max-width: 100%; margin: 29px 0; overflow-x: auto; overscroll-behavior-x: contain; }
body.inner-page .post .content .instrument-guide .guide-table > table { display: table; width: 100%; min-width: 620px; max-width: none; margin: 0; overflow: visible; border-collapse: collapse; font-size: 14px; line-height: 1.85; }
.instrument-guide .guide-table caption { padding: 0 0 13px; color: #314c69; font-size: 14px; font-weight: 650; text-align: left; }
.instrument-guide .guide-table th, .instrument-guide .guide-table td { padding: 15px 17px; border: 1px solid var(--guide-line); text-align: left; vertical-align: top; }
.instrument-guide .guide-table thead th { background: #eaf0f8; color: #173b64; font-weight: 700; }
.instrument-guide .guide-table tbody th { min-width: 115px; background: #f5f8fc; color: #244362; font-weight: 650; }
.instrument-guide .guide-table td { background: #fff; color: #31465c; }
.instrument-guide .guide-note { margin: 29px 0; padding: 22px 25px; border-left: 3px solid #7e93ad; background: #f5f7fa; color: #40546d; font-size: 15px; }
.instrument-guide .guide-download { display: block; margin: 29px 0; padding: 22px 25px; border: 1px solid #b8cde7; border-radius: 7px; background: #f1f6ff; color: #194a99; font-size: 15px; }
.instrument-guide a.guide-download { font-weight: 650; }
.instrument-guide .guide-sources { margin: 42px 0 12px; padding: 27px 28px; border-top: 2px solid #b9c9dc; border-radius: 3px; background: #f7f9fc; color: var(--guide-muted); font-size: 14px; line-height: 1.9; }
.instrument-guide .guide-sources h2 { font-size: 23px; }
.instrument-guide .guide-sources ul, .instrument-guide .guide-sources ol { margin-bottom: 0; }
.post > .guide-caption, .post .content .instrument-guide .guide-caption { margin: -5px 0 28px; color: #536478; font-size: 12px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .instrument-guide { font-size: 16px; line-height: 1.95; }
  /* The shared shell adds 110px scroll-padding; 50px here gives 160px total clearance. */
  .instrument-guide [id] { scroll-margin-top: 50px; }
  .instrument-guide h2 { margin-top: 40px; font-size: 26px; }
  .instrument-guide h3 { margin-top: 27px; font-size: 21px; }
  .post .content .instrument-guide p { margin-bottom: 20px; }
  .instrument-guide .guide-summary, .instrument-guide .guide-toc, .instrument-guide .guide-sources { padding: 22px 20px; }
  .instrument-guide .guide-toc { margin-bottom: 32px; }
  .instrument-guide .guide-note, .instrument-guide .guide-download { padding: 20px; font-size: 14px; }
  .instrument-guide .guide-table { margin-block: 24px; }
  .instrument-guide .guide-table th, .instrument-guide .guide-table td { padding: 13px 15px; }
  .instrument-guide pre { padding: 17px; font-size: 13px; }
  .post > .guide-caption, .post .content .instrument-guide .guide-caption { margin-bottom: 24px; font-size: 11px; }
}
@media print {
  .instrument-guide .guide-table { overflow: visible; }
  body.inner-page .post .content .instrument-guide .guide-table > table { min-width: 0; font-size: 11px; }
  .instrument-guide .guide-table th, .instrument-guide .guide-table td { padding: 7px; }
  .instrument-guide pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
