/* Engineering Drawing Checker. Tokens taken from the findings report:
   ink, sheet lines, and the three priorities (Must fix red, Please check amber, Suggestion blue). */
:root {
  --paper: #ffffff;
  --sheet-line: #cdd5de;
  --ink: #1c2633;
  --ink-soft: #4a5767;
  --must: #c2182b;
  --check: #a86a12;
  --suggest: #3d6894;
  --tint: #f4f6f8;
  --navy: #13233a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Barlow", system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--suggest); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.measure { max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { font-weight: 700; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 52px; height: 52px; flex: none; }
.brand-words { display: flex; flex-direction: column; gap: 2px; }
.brand-top { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; line-height: 1; }
.brand-main { font-weight: 700; font-size: 29px; line-height: .95; letter-spacing: -.015em; }
.topnav { display: flex; gap: 24px; align-items: center; font-size: 16px; }
.topnav a { text-decoration: none; color: var(--ink-soft); }
.topnav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 600 17px/1 "Barlow", sans-serif; text-decoration: none; border-radius: 3px; border: 2px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2c3a4c; border-color: #2c3a4c; }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--tint); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 40px 0 72px; }
h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; margin: 0 0 22px; }
.lede { font-size: 20px; color: var(--ink-soft); margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scope-line { margin: 22px 0 0; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.scope-line::before { content: ""; width: 4px; align-self: stretch; background: var(--must); border-radius: 2px; }

/* The sheet */
.sheet-figure { margin: 0; }
.sheet { width: 100%; height: auto; display: block; }
.sheet .zl { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 13px; fill: var(--ink-soft); }
.sheet .part { fill: none; stroke: var(--ink); stroke-width: 2; }
.sheet .thin { fill: none; stroke: var(--ink); stroke-width: 1; }
.sheet .faint { fill: none; stroke: var(--sheet-line); stroke-width: 1; }
.sheet .tb { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 11px; fill: var(--ink); }
.sheet .dt { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 12px; fill: var(--ink); }
.mark { opacity: 0; transform-box: fill-box; transform-origin: center; animation: mark-in .5s ease-out forwards; }
.mark circle { fill: none; stroke-width: 2.5; }
.mark text { font: 700 13px "Barlow", sans-serif; }
.mark.must { stroke: var(--must); } .mark.must text { fill: var(--must); stroke: none; }
.mark.check { stroke: var(--check); } .mark.check text { fill: var(--check); stroke: none; }
.mark.suggest { stroke: var(--suggest); } .mark.suggest text { fill: var(--suggest); stroke: none; }
.fix-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.fix-list li { opacity: 0; animation: line-in .45s ease-out forwards; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; line-height: 1.4; }
.fix-num { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.fix-list .where { font-weight: 600; }
.fix-list .txt { color: var(--ink); }
@keyframes mark-in { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: scale(1); } }
@keyframes line-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mark, .fix-list li { animation: none; opacity: 1; } }
.must { color: var(--must); } .check { color: var(--check); } .suggest { color: var(--suggest); }

/* Sections */
section.block { padding: 72px 0; border-top: 1px solid var(--sheet-line); }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.soft { color: var(--ink-soft); }

/* Scope: we check / we don't check */
.scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--sheet-line); border-radius: 4px; }
.scope > div { padding: 28px 32px; }
.scope > div + div { border-left: 1px solid var(--sheet-line); background: var(--tint); }
.scope ul { margin: 10px 0 0; padding-left: 20px; }
.scope li { margin: 8px 0; }
.scope .yes h3 { color: var(--ink); }
.scope .no h3 { color: var(--must); }

/* Process */
.process-art { margin: 32px 0 0; border-radius: 6px; overflow: hidden; background: var(--navy); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 34px; line-height: 1; margin-bottom: 12px; }
.steps p { font-size: 17px; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 28px; }
.checks > div { padding: 18px 0; border-bottom: 1px solid var(--sheet-line); }
.checks p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* Sample report */
.report { margin-top: 32px; border: 1px solid var(--sheet-line); border-radius: 4px; padding: 28px 32px; background: var(--paper);
  box-shadow: 0 1px 0 var(--sheet-line), 0 18px 40px -28px rgba(28, 38, 51, .35); max-width: 820px; }
.report-head { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.report-scope { font-size: 14px; color: var(--ink-soft); border-left: 3px solid var(--sheet-line); padding-left: 10px; margin: 12px 0 0; }
.report-group { margin-top: 22px; }
.report-group h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.swatch { width: 12px; height: 12px; border-radius: 2px; background: currentColor; display: inline-block; }
.report ol { margin: 6px 0 0; padding-left: 26px; font-size: 16px; color: var(--ink); }
.report li { margin: 4px 0; }

/* Reviewer */
.reviewer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; border: 2px dashed var(--check); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--check); font-weight: 600; padding: 12px; background: #fdf6ea; }

/* Placeholders to fill before launch */
.tbd { display: inline-block; border: 2px dashed var(--check); color: var(--check); background: #fdf6ea; padding: 0 8px; border-radius: 3px; font-weight: 700; }

.handling { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.handling ul { margin: 0; padding-left: 20px; }
.handling li { margin: 8px 0; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; margin-top: 20px; }
.price strong { font-size: 44px; line-height: 1; }

details { border-bottom: 1px solid var(--sheet-line); padding: 16px 0; max-width: 820px; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

.closing { padding: 80px 0; border-top: 1px solid var(--sheet-line); }
footer { border-top: 1px solid var(--sheet-line); padding: 28px 0 40px; font-size: 15px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .checks, .handling, .scope { grid-template-columns: 1fr; }
  .scope > div + div { border-left: 0; border-top: 1px solid var(--sheet-line); }
  .handling { gap: 28px; }
  .reviewer { grid-template-columns: 1fr; gap: 24px; }
  .portrait, .portrait-photo { max-width: 220px; }
  .topnav .hide-sm { display: none; }
  section.block { padding: 56px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .scope > div { padding: 22px 20px; }
  .report { padding: 22px 20px; }
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--sheet-line); border-radius: 4px; }
.plan { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--sheet-line); }
.plan h3 { margin: 0; font-size: 22px; }
.plan-sub { margin: 2px 0 14px; color: var(--ink-soft); font-size: 16px; }
.plan-price { font-size: 44px; line-height: 1; font-weight: 700; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.plan ul { margin: 0; padding-left: 20px; font-size: 17px; }
.plan li { margin: 6px 0; }
.plan-note { margin: 20px 0 24px; font-size: 16px; }
.plan-rush { margin-top: auto; padding: 14px 16px; background: #fdf3e2; border-left: 4px solid var(--check); border-radius: 0 4px 4px 0; }
.plan ul { margin-bottom: 20px; }
.rush-tag { display: inline-block; font-family: "Barlow Condensed", Barlow, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--check); padding: 2px 8px; border-radius: 3px; }
.plan-rush p { margin: 8px 0 0; font-size: 16px; line-height: 1.3; }
.plan-rush .rush-offer { margin-top: 2px; font-size: 22px; font-weight: 700; }
.rush-fee { color: var(--check); white-space: nowrap; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--sheet-line); }
}

/* Privacy and terms pages */
.legal { max-width: 72ch; padding: 24px 0 64px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); margin-bottom: 6px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin: 6px 0; }

@media (max-width: 560px) {
  .brand { gap: 8px; }
  .brand svg { width: 40px; height: 40px; }
  .brand-top { font-size: 10px; }
  .brand-main { font-size: 23px; }
}
.linkedin-line { margin: 4px 0 0; }
.linkedin-line a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.linkedin-line a:hover { text-decoration: underline; }
.portrait-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

/* Drawing review checklist page */
.cl { max-width: 78ch; padding: 24px 0 64px; }
.cl-eyebrow { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--must); margin: 0 0 8px; }
.cl h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 0 0 12px; }
.cl-byline { font-size: 16px; color: var(--ink-soft); margin: 0 0 22px; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.cl-toc { background: var(--tint); border-left: 4px solid var(--ink); padding: 20px 24px; margin: 32px 0 8px; }
.cl-toc h2 { font-size: 20px; margin: 0 0 8px; }
.cl-toc ol { margin: 0 0 8px; padding-left: 0; list-style: none; }
.cl-toc li { margin: 4px 0; }
.cl-toc p { margin: 0; font-size: 16px; }
.cl-sec { border-top: 1px solid var(--sheet-line); padding: 44px 0 8px; margin-top: 36px; scroll-margin-top: 16px; }
.cl-sec h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.cl-list { list-style: none; padding: 0; margin: 24px 0 0; }
.cl-item { padding: 16px 0; border-bottom: 1px dashed var(--sheet-line); break-inside: avoid; scroll-margin-top: 16px; }
.cl-item h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; margin: 0 0 6px; }
.cl-num { flex: 0 0 34px; font-family: "Barlow Condensed", "Barlow", sans-serif; color: var(--ink-soft); font-weight: 500; padding-top: 1px; }
.cl-box { flex: 0 0 16px; height: 16px; border: 2px solid var(--ink); border-radius: 2px; margin-top: 4px; }
.cl-item p { margin: 0 0 0 70px; color: var(--ink-soft); font-size: 17px; }
.cl-table { overflow-x: auto; margin-top: 18px; }
.cl-table table { border-collapse: collapse; width: 100%; font-size: 16px; }
.cl-table th, .cl-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--sheet-line); }
.cl-table thead th { border-bottom: 2px solid var(--ink); }
.cl-table tbody th { white-space: nowrap; }
.cl-stages { padding-left: 22px; }
.cl-stages li { margin: 8px 0; }
.cl-cta { background: var(--navy); color: #fff; padding: 32px; margin-top: 48px; border-radius: 4px; }
.cl-cta h2 { font-size: 26px; }
.cl-cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cl-cta .btn-quiet { color: #fff; border-color: #fff; }
.cl-cta .btn-quiet:hover { background: rgba(255,255,255,.1); }
@media (max-width: 600px) {
  .cl-item p { margin-left: 0; }
  .cl-num { flex-basis: 28px; }
}
.cl-print { font-size: 11pt; }
.cl-print .wrap { max-width: none; padding: 0; }
.cl-print .cl { max-width: none; padding: 0; }
.cl-pdfbrand { margin-bottom: 18px; }
.cl-print .cl-sec { break-before: page; margin-top: 0; padding-top: 0; border-top: 0; }
.cl-print .cl-item { padding: 8px 0; }
.cl-print .cl-item h3 { font-size: 12pt; }
.cl-print .cl-item p { font-size: 10.5pt; margin-left: 62px; }
.cl-print .cl-cta { break-inside: avoid; }

/* What to send + five passes */
.send-box { margin-top: 44px; background: var(--tint); border-left: 4px solid var(--ink); padding: 24px 28px; }
.send-box h3 { font-size: 22px; margin-bottom: 12px; }
.send-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 40px; }
.send-label { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--must); margin: 0 0 6px; }
.send-cols ul { margin: 0 0 12px; padding-left: 20px; }
.send-cols li { margin: 4px 0; font-size: 17px; }
.send-box > p { margin: 4px 0 0; font-size: 16px; }
.passes { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: pass; }
.passes li { counter-increment: pass; border-top: 3px solid var(--ink); padding-top: 14px; }
.passes li::before { content: "Pass " counter(pass); display: block; font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; color: var(--must); margin-bottom: 8px; }
.passes h3 { font-size: 18px; }
.passes p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 960px) { .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .passes, .send-cols { grid-template-columns: 1fr; } }
.article .cl-sec h3 { font-size: 21px; margin: 26px 0 6px; }
.article .cl-sec p { margin: 0 0 14px; }
.steps a { overflow-wrap: anywhere; }

/* Drawing notes library */
.nl { padding: 24px 0 64px; }
.nl-head { max-width: 78ch; }
.nl h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin: 0 0 12px; }
.nl-disc { font-size: 15px; color: var(--ink-soft); background: var(--tint); padding: 12px 16px; border-left: 4px solid var(--check); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nl-tools { position: sticky; top: 0; z-index: 5; background: var(--paper); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sheet-line); margin-top: 20px; }
.nl-search { flex: 1 1 280px; }
.nl-search input, .nl-jump select { width: 100%; min-height: 40px; font: 500 16px "Barlow", sans-serif; padding: 6px 12px; border: 2px solid var(--sheet-line); border-radius: 3px; background: #fff; color: var(--ink); }
.nl-search input:focus, .nl-jump select:focus { border-color: var(--ink); outline: none; }
.nl-lang { display: inline-flex; border: 2px solid var(--ink); border-radius: 3px; overflow: hidden; }
.nl-lang button { font: 600 14px "Barlow", sans-serif; padding: 8px 12px; border: 0; background: #fff; color: var(--ink); cursor: pointer; }
.nl-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nl-jump { display: none; flex: 1 1 100%; }
.nl-count { margin: 8px 0 0; font-size: 15px; min-height: 1em; }
.nl-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; margin-top: 16px; }
.nl-side { position: sticky; top: 72px; align-self: start; max-height: calc(100vh - 90px); overflow: auto; font-size: 15px; }
.nl-side-t { font-family: "Barlow Condensed", "Barlow", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--must); margin: 0 0 8px; }
.nl-side ol { list-style: none; padding: 0; margin: 0 0 16px; }
.nl-side li { padding: 5px 0; border-bottom: 1px solid var(--sheet-line); display: flex; justify-content: space-between; gap: 8px; }
.nl-side a { text-decoration: none; color: var(--ink); }
.nl-side a:hover { text-decoration: underline; }
.cnt { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.nl-dl { font-size: 14px; color: var(--ink-soft); }
details.ns { border-top: 1px solid var(--sheet-line); scroll-margin-top: 80px; }
details.ns > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 0; }
details.ns > summary::-webkit-details-marker { display: none; }
details.ns > summary h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
details.ns > summary h2::before { content: "+"; display: inline-block; width: 28px; color: var(--must); }
details.ns[open] > summary h2::before { content: "–"; }
.grp { font-size: 18px; margin: 20px 0 6px; color: var(--ink-soft); }
.nc { border: 1px solid var(--sheet-line); border-radius: 4px; padding: 14px 16px; margin: 0 0 14px; scroll-margin-top: 80px; background: #fff; }
.nc:target { border-color: var(--ink); box-shadow: 0 0 0 3px var(--tint); }
.nc header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.nc h4 { font-size: 18px; margin: 0; flex: 1 1 auto; }
.nid { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.st { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.st-checked { background: #e6f2ea; color: #1f6b3a; }
.st-verify { background: #fbf1df; color: #7a4d0b; }
.lang { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 8px; margin: 6px 0; font-size: 16px; }
.lang > div { grid-column: 2; }
.lg { grid-row: 1 / span 9; font: 600 12px "Barlow", sans-serif; color: var(--ink-soft); padding-top: 6px; }
.nt { display: inline-flex; align-items: flex-start; gap: 6px; background: var(--tint); border-radius: 3px; padding: 4px 6px 4px 10px; margin: 2px 0; max-width: 100%; }
.nt code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.cpy { font: 600 12px "Barlow", sans-serif; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 3px; padding: 2px 8px; cursor: pointer; flex: 0 0 auto; }
.cpy:hover { background: var(--ink); color: #fff; }
.meta { border-top: 1px dashed var(--sheet-line); margin-top: 10px; padding-top: 8px; font-size: 15px; color: var(--ink-soft); }
.meta p { margin: 3px 0; }
.meta code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.fl { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 8px; }
.fl-v { background: #e6f2ea; color: #1f6b3a; }
.fl-u { background: #fbf1df; color: #7a4d0b; }
body[data-lang="en"] .lang.es, body[data-lang="es"] .lang.en { display: none; }
.ns-out { border-top: 1px solid var(--sheet-line); padding-top: 20px; scroll-margin-top: 80px; }
.ns-out td code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
@media (max-width: 900px) {
  .nl-grid { grid-template-columns: 1fr; }
  .nl-side { display: none; }
  .nl-jump { display: block; }
}
.nc h3 { font-size: 18px; margin: 0; flex: 1 1 auto; }
.nl-crumbs { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.nl-crumbs a { color: var(--ink-soft); }
.nl-side li.cur { font-weight: 700; }
.nl-side li.cur a { color: var(--must); }
.nl-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; margin: 0 0 18px; }
.nl-toc a { color: var(--ink-soft); }
h2.grp { font-size: 22px; margin: 24px 0 10px; color: var(--ink); }
.nl-pn { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0; font-weight: 600; }
.nl-pn a { text-decoration: none; color: var(--ink); }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 8px; }
.set-card { display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px; text-decoration: none; color: var(--ink); border: 1px solid var(--sheet-line); border-radius: 4px; padding: 14px; background: #fff; }
.set-card:hover { border-color: var(--ink); }
.sc-n { grid-row: 1 / span 3; font: 700 26px "Barlow", sans-serif; color: var(--must); line-height: 1; }
.sc-t { font-weight: 700; font-size: 17px; }
.sc-c { font-size: 14px; color: var(--ink-soft); }
.sc-x { font-size: 14px; color: var(--ink-soft); }
.nl-results { list-style: none; padding: 0; margin: 0 0 20px; }
.nl-results li { border-bottom: 1px solid var(--sheet-line); padding: 10px 0; }
.nl-results a { text-decoration: none; color: var(--ink); }
.nl-results a:hover { text-decoration: underline; }
.rs { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.nl-out td code { white-space: normal; }
.nc .lang { display: flex; gap: 10px; align-items: flex-start; }
.nc .lang .lg { flex: 0 0 22px; padding-top: 7px; }
.nc .lang .lines { flex: 1 1 auto; min-width: 0; }

/* GD&T frame checker */
.fc { padding: 24px 0 64px; }
.fc-ui { margin: 6px 0 0; }
.fc-tool { border: 1px solid var(--sheet-line); border-radius: 4px; padding: 20px; margin-top: 20px; background: #fff; }
.fc-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; margin-bottom: 14px; }
.fc-row label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.fc-row select, .fc-row input[type=text], .fc-dat input { min-height: 40px; font: 500 16px "Barlow", sans-serif; padding: 6px 10px; border: 2px solid var(--sheet-line); border-radius: 3px; color: var(--ink); background: #fff; }
.fc-row select:focus, .fc-row input:focus { border-color: var(--ink); outline: none; }
.fc-row label.fc-chk { flex-direction: row; align-items: center; gap: 6px; min-height: 40px; color: var(--ink); }
.fc-row input#tol { width: 110px; }
.fc-small input { width: 90px; }
.fc-dat { flex-direction: row !important; }
.fc-dat > span { width: 100%; }
label.fc-dat { display: grid !important; grid-template-columns: 64px 110px; gap: 4px 6px !important; }
label.fc-dat > span { grid-column: 1 / -1; }
.fc-dat input { width: 64px; text-transform: uppercase; text-align: center; }
.fc-ex { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-soft); margin: 6px 0 16px; }
.fc-ex button { font: 600 14px ui-monospace, Consolas, monospace; border: 1px solid var(--sheet-line); background: var(--tint); border-radius: 3px; padding: 4px 10px; cursor: pointer; color: var(--ink); }
.fc-ex button:hover { border-color: var(--ink); }
.fc-preview { padding: 16px 0; }
.fcf { display: inline-flex; border: 2px solid var(--ink); font: 600 22px "Barlow", sans-serif; }
.fcf .c { padding: 6px 14px; border-left: 2px solid var(--ink); min-width: 36px; text-align: center; }
.fcf .c:first-child { border-left: 0; }
.fc-out { list-style: none; padding: 0; margin: 0; }
.fc-out li { padding: 10px 14px; border-radius: 3px; margin-bottom: 8px; font-size: 16px; }
.fc-out b { margin-right: 6px; }
.r-err { background: #fbe9eb; color: #8f1020; }
.r-warn { background: #fbf1df; color: #7a4d0b; }
.r-info { background: var(--tint); color: var(--ink); }
.r-ok { background: #e6f2ea; color: #1f6b3a; }
.fc-foot { margin: 12px 0 0; }
.fc-ref h3 { font-size: 20px; margin-top: 28px; }
.fc-list li { margin: 8px 0; }

/* Y14.5 changes page */
.chg-sec { border-top: 1px solid var(--sheet-line); padding: 28px 0 4px; margin-top: 28px; }
.chg-sec h2 { font-size: clamp(22px, 2.6vw, 28px); }
.chg { list-style: none; padding: 0; margin: 0; }
.chg li { padding: 10px 0 12px; border-bottom: 1px dashed var(--sheet-line); break-inside: avoid; }
.chg h3 { font-size: 19px; margin: 0 0 4px; }
.chg p { margin: 0 0 6px; }
.chg-act { color: var(--ink-soft); font-size: 16px; }
.chg-todo ol li { margin: 6px 0; }
@media print {
  .topbar, footer, .no-print, .nl-crumbs, .skip { display: none !important; }
  body { font-size: 10.5pt; }
  .chg-page h1 { font-size: 22pt; }
  .chg-sec { padding-top: 10px; margin-top: 10px; }
  .chg li { padding: 4px 0 6px; }
  .chg h3 { font-size: 11.5pt; }
  .chg-src a::after { content: " (" attr(href) ")"; font-size: 8pt; }
}
@media print {
  body { font-size: 8.6pt; line-height: 1.32; }
  .wrap, .cl { max-width: none; padding: 0; }
  .chg-page .cl-head .lede { font-size: 9.5pt; margin: 4px 0 6px; }
  .chg-page h1 { font-size: 17pt; margin: 0 0 2px; }
  .chg-page .cl-eyebrow { font-size: 8pt; margin: 0; }
  .chg-page .cl-byline { font-size: 8pt; margin: 0 0 4px; }
  .chg-page { column-count: 2; column-gap: 0.3in; }
  .chg-page .cl-head { column-span: all; }
  .chg-sec { padding-top: 4px; margin-top: 4px; break-inside: auto; }
  .chg-sec h2 { font-size: 11pt; margin: 2px 0; }
  .chg h3 { font-size: 9.2pt; margin: 0 0 1px; }
  .chg li { padding: 2px 0 3px; }
  .chg p { margin: 0 0 2px; }
  .chg-act { font-size: 8.4pt; }
  .chg-src .soft { display: none; }
  .chg-src a::after { content: ""; }
  .chg-src ul { margin: 0; padding-left: 14px; }
}

/* Glossary */
.gl-page { max-width: 980px; }
.gl-page h1 .soft { font-size: .6em; display: block; font-weight: 600; }
.gl-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; margin: 16px 0; }
.gl-sec { scroll-margin-top: 70px; }
.gl-sec h2 { font-size: 24px; margin: 28px 0 8px; }
.gl-sec h2 .soft { font-weight: 500; }
table.gl td:first-child { width: 34%; }
table.gl td:nth-child(2) { width: 30%; }
table.gl td:last-child { color: var(--ink-soft); font-size: 15px; }

/* Free resources dropdown */
.navmenu { position: relative; }
.navmenu > summary { list-style: none; cursor: pointer; color: var(--ink-soft); font-size: 16px; padding: 6px 0; white-space: nowrap; }
.navmenu > summary::-webkit-details-marker { display: none; }
.navmenu > summary:hover, .navmenu[open] > summary { color: var(--ink); }
.navmenu ul { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; list-style: none; margin: 0; padding: 8px 0; min-width: 270px; background: #fff; border: 1px solid var(--sheet-line); border-radius: 4px; box-shadow: 0 10px 24px rgba(19,35,58,.14); }
.navmenu li a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; font-size: 16px; }
.navmenu li a:hover { background: var(--tint); }
.nm-short { display: none; }
@media (max-width: 720px) {
  .nm-long { display: none; }
  .nm-short { display: inline; }
  .topnav { gap: 14px; }
}
