/* fonts-guide.css - the styles of /articles/autocad-fonts (download box, step-by-step guide with screenshots).
   Loaded only by that page, from a link tag inside its content. Class prefix: af- */
.af, .af * { box-sizing: border-box; }
.af-dl { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: center; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 20px; padding: 26px 28px; margin: 0 0 14px; }
.af-eyebrow { display: inline-block; background: #dbeafe; color: #1e40af; font-weight: 800; font-size: .8125rem; line-height: 1.4; border-radius: 999px; padding: 3px 12px; margin: 0 0 10px; }
.af-dl h2 { font-size: 1.75rem; line-height: 1.25; font-weight: 900; color: #0f172a; margin: 0 0 8px; padding: 0; border: 0; }
.af-dl .af-lead { margin: 0 0 16px; color: #334155; font-size: 1.0625rem; line-height: 1.65; }
.af-lead strong { color: #0f172a; }
.af-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #2563eb; color: #fff; font: inherit; font-weight: 800; font-size: 1.125rem; line-height: 1.3; border: 0; border-radius: 14px; padding: 14px 26px; cursor: pointer; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); transition: background .15s; }
.af-btn:hover { background: #1d4ed8; }
.af-btn.af-sm { font-size: 1rem; padding: 10px 18px; border-radius: 12px; box-shadow: none; }
.af-more { color: #1d4ed8; font-weight: 800; font-size: 1rem; text-decoration: none; }
.af-more:hover { text-decoration: underline; }
.af-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.af-facts li { background: #fff; border: 1px solid #dbeafe; border-radius: 10px; padding: 5px 11px; font-size: .875rem; line-height: 1.45; font-weight: 700; color: #334155; margin: 0; }
.af-phone { display: none; margin: 14px 0 0; font-size: .9375rem; line-height: 1.55; color: #475569; }
.af-phone a { color: #1d4ed8; font-weight: 800; }
.af-ba { background-color: #0f172a; background-image: linear-gradient(rgba(148, 163, 184, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .09) 1px, transparent 1px); background-size: 22px 22px; border-radius: 16px; padding: 16px; color: #e2e8f0; margin: 0; }
.af-ba-row { border: 1px dashed rgba(148, 163, 184, .45); border-radius: 10px; padding: 10px 12px 12px; background: rgba(15, 23, 42, .6); }
.af-ba-row + .af-ba-row { margin-top: 10px; }
.af-ba small { display: block; font-size: .75rem; font-weight: 800; margin-bottom: 4px; color: #fca5a5; }
.af-ba .af-ok small { color: #6ee7b7; }
.af-ba b { display: block; font-weight: 300; font-size: 1.0625rem; line-height: 1.4; letter-spacing: .03em; color: #f8fafc; white-space: nowrap; overflow: hidden; }
.af-ba .af-bad b { direction: ltr; text-align: right; font-family: Consolas, 'Courier New', monospace; color: #94a3b8; letter-spacing: .08em; }
.af-ba figcaption { font-size: .75rem; color: #94a3b8; margin-top: 10px; text-align: center; }
.af-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 30px; font-size: .9375rem; }
.af-jump span { color: #64748b; font-weight: 700; }
.af-jump a { background: #f1f5f9; color: #334155; font-weight: 700; border-radius: 999px; padding: 5px 14px; text-decoration: none; line-height: 1.5; }
.af-jump a:hover { background: #dbeafe; color: #1d4ed8; }
.af-guide { border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; margin: 18px 0 14px; overflow: hidden; }
.af-bar { display: none; background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 12px 14px; }
.af-dots { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; }
.af-dots li { margin: 0; padding: 0; }
.af-dots button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 7px 6px; font: inherit; font-size: .875rem; font-weight: 700; color: #64748b; cursor: pointer; line-height: 1.3; }
.af-dots button b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #e2e8f0; color: #475569; font-size: .8125rem; font-weight: 900; }
.af-dots .is-done button { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
.af-dots .is-done b { background: #10b981; color: #fff; }
.af-dots .is-on button { color: #1d4ed8; border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 0 2px rgba(37, 99, 235, .15); }
.af-dots .is-on b { background: #2563eb; color: #fff; }
.af-steps { list-style: none; margin: 0; padding: 0; }
.af-step { display: block; padding: 24px 26px; margin: 0; }
.af-step + .af-step { border-top: 1px solid #e2e8f0; }
.af-step-h { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.af-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: #2563eb; color: #fff; font-weight: 900; font-size: 1.125rem; }
.af-step h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 900; color: #0f172a; margin: 0; padding: 0; }
.af-step p { margin: 0 0 10px; color: #334155; font-size: 1.0625rem; line-height: 1.7; }
.af-step kbd { display: inline-block; direction: ltr; background: #f1f5f9; border: 1px solid #cbd5e1; border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font-family: Consolas, 'Courier New', monospace; font-size: .875em; color: #0f172a; line-height: 1.5; }
.af-tips { list-style: none; margin: 12px 0 0; padding: 0; }
.af-tips li { position: relative; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 9px 14px; margin: 0 0 8px; color: #334155; font-size: .9688rem; line-height: 1.6; }
.af-tips li b { color: #92400e; }
.af-path { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px 14px; margin: 12px 0 0; }
.af-path-row { display: none; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; font-size: .9375rem; font-weight: 700; color: #334155; }
.af-path-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.af-path-row input[type="number"] { width: 84px; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 1rem; text-align: center; direction: ltr; background: #fff; }
.af-path-row input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.af-path-out { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.af-path-out code { display: block; direction: ltr; text-align: left; background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 9px 12px; font-family: Consolas, 'Courier New', monospace; font-size: .875rem; line-height: 1.5; overflow-wrap: break-word; }
.af-copy { align-self: flex-start; background: #fff; border: 1px solid #2563eb; color: #1d4ed8; font: inherit; font-size: .9375rem; font-weight: 800; border-radius: 10px; padding: 6px 14px; cursor: pointer; display: none; }
.af-copy:hover { background: #eff6ff; }
.af-shots { margin: 16px 0 0; }
.af-shot { margin: 0 auto; }
.af-shot + .af-shot { margin-top: 16px; }
.af-shot-in { position: relative; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(15, 23, 42, .10); background: #fff; line-height: 0; }
.af-shot-in a { display: block; }
.af-shot-in img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; }
.af-hot { position: absolute; background: rgba(37, 99, 235, .10); border: 2px solid #2563eb; border-radius: 8px; padding: 0; cursor: default; }
.af-hot::after { content: ""; position: absolute; inset: -6px; border-radius: 12px; border: 2px solid #2563eb; opacity: 0; pointer-events: none; }
.af-cap { font-size: .875rem; line-height: 1.5; color: #64748b; margin-top: 8px; text-align: center; }
.af-ctl { display: none; align-items: center; justify-content: space-between; gap: 10px; background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 12px 16px; }
.af-ctl button { font: inherit; font-weight: 800; font-size: 1rem; border-radius: 12px; padding: 10px 18px; cursor: pointer; line-height: 1.3; }
.af-prev { background: #fff; border: 1px solid #cbd5e1; color: #334155; }
.af-prev[disabled] { opacity: .45; cursor: default; }
.af-next { background: #2563eb; border: 1px solid #2563eb; color: #fff; }
.af-next:hover { background: #1d4ed8; }
.af-count { font-size: .9375rem; font-weight: 700; color: #64748b; }
.af-done { display: none; padding: 30px 26px; text-align: center; }
.af-done b { display: block; font-size: 1.375rem; font-weight: 900; color: #047857; margin-bottom: 6px; }
.af-done p { margin: 0 0 14px; color: #334155; font-size: 1.0625rem; line-height: 1.6; }
.af-done a, .af-linkbtn { color: #1d4ed8; font-weight: 800; }
.af-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; }
.af-under { display: none; margin: 0 0 6px; font-size: .9375rem; color: #64748b; }
.af-note { margin: 0 0 30px; font-size: .875rem; line-height: 1.6; color: #64748b; }
.af-js .af-bar { display: block; }
.af-js .af-ctl { display: flex; }
.af-on .af-copy { display: block; }
.af-on .af-path-row { display: flex; }
.af-nw { white-space: nowrap; }
.af-js .af-step { display: none; border-top: 0; }
.af-js .af-step.is-on { display: block; }
.af-js .af-hot { cursor: pointer; }
.af-js .af-hot::after { animation: af-pulse 1.6s ease-out infinite; }
.af-js.af-fin .af-step.is-on, .af-js.af-fin .af-ctl { display: none; }
.af-js.af-fin .af-done { display: block; }
.af-on + .af-under { display: block; }
.af-on:not(.af-js) + .af-under .af-hint { display: none; }
@keyframes af-pulse { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .af-js .af-hot::after { animation: none; opacity: .5; } }
.af-video { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 16px; margin: 14px 0 0; }
.af-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #0b1430; }
.af-fonts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; padding: 0; direction: ltr; justify-content: flex-end; }
.af-fonts li { margin: 0; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px 11px; font-family: Consolas, 'Courier New', monospace; font-size: .9375rem; line-height: 1.5; color: #0f172a; }
.af-fix { border: 1px solid #e2e8f0; border-right: 4px solid #f59e0b; border-radius: 12px; padding: 14px 18px; margin: 14px 0; background: #fff; }
.af-fix h3 { margin: 0 0 6px; }
.af-fix p { margin: 0; }
.af-code { display: block; direction: ltr; text-align: left; overflow-wrap: anywhere; margin: .4rem 0; }
.af-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.af-links a { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 16px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.af-links a:hover { border-color: #93c5fd; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
.af-links b { display: block; color: #1d4ed8; font-weight: 800; font-size: 1.0625rem; line-height: 1.4; margin-bottom: 4px; }
.af-links span { display: block; color: #475569; font-weight: 400; font-size: .9375rem; line-height: 1.55; }
@media (max-width: 760px) {
  .af-dl { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .af-links { grid-template-columns: minmax(0, 1fr); }
  .af-dots button span { display: none; }
}
@media (max-width: 640px) {
  .cp-prose .af-dl { padding: 16px; border-radius: 16px; margin-bottom: 12px; }
  .cp-prose .af-dl h2 { font-size: 1.4375rem !important; line-height: 1.3 !important; margin: 0 0 8px !important; padding: 0 !important; }
  .cp-prose .af-dl .af-lead { font-size: 1rem !important; line-height: 1.6 !important; margin: 0 0 14px !important; }
  .af-cta .af-btn { width: 100%; }
  .cp-prose .af-facts { padding: 0 !important; margin: 14px 0 0 !important; gap: 6px; }
  .cp-prose .af-facts li { font-size: .8125rem !important; line-height: 1.45 !important; margin: 0 !important; padding: 4px 9px !important; }
  .cp-prose .af-phone { display: block; font-size: .9375rem !important; line-height: 1.55 !important; margin: 14px 0 0 !important; }
  .af-jump { margin-bottom: 22px; gap: 6px; }
  .af-jump a { padding: 4px 11px; font-size: .875rem; }
  .cp-prose .af-guide { border-radius: 16px; }
  .af-bar { padding: 10px; }
  .cp-prose .af-dots, .cp-prose .af-steps, .cp-prose .af-tips, .cp-prose .af-fonts { padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  .cp-prose .af-dots li, .cp-prose .af-fonts li { margin: 0 !important; padding-right: 0 !important; }
  .cp-prose .af-fonts { margin: 12px 0 14px !important; gap: 6px; }
  .cp-prose .af-fonts li { padding: 3px 9px !important; font-size: .875rem !important; line-height: 1.5 !important; }
  .cp-prose .af-step { padding: 16px 14px !important; margin: 0 !important; }
  .cp-prose .af-step h3 { font-size: 1.125rem !important; line-height: 1.35 !important; margin: 0 !important; }
  .cp-prose .af-step p { font-size: 1rem !important; line-height: 1.65 !important; margin: 0 0 10px !important; }
  .cp-prose .af-tips { margin-top: 10px !important; }
  .cp-prose .af-tips li { font-size: .9375rem !important; line-height: 1.55 !important; margin: 0 0 8px !important; padding: 8px 12px !important; }
  .af-num { width: 34px; height: 34px; font-size: 1rem; }
  .af-copy { align-self: stretch; }
  .af-copy { padding: 9px 14px; }
  .af-ctl { padding: 10px; }
  .af-ctl button { padding: 10px 14px; font-size: .9375rem; }
  .cp-prose .af-done p { font-size: 1rem !important; margin: 0 0 12px !important; }
  .cp-prose p.af-note, .cp-prose p.af-under { font-size: .875rem !important; line-height: 1.6 !important; }
  .af-cap { font-size: .8125rem; }
  .af-video { padding: 10px; border-radius: 16px; }
  .cp-prose .af-fix { padding: 12px 14px; margin: 10px 0; }
  .cp-prose .af-fix h3 { margin: 0 0 6px !important; }
  .cp-prose .af-fix p { margin: 0 !important; }
}
