/* GENERATED by scripts/site/build.mjs (scripts/site/fontLab.mjs) - the font articles' widgets. */
.fl { --fl-size: 44px; margin: 24px 0 32px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); overflow: hidden; overflow: clip; }
/* the article's paragraph and heading margins stop at the widget's edge */
.a-body .fl p, .a-body .fl h3 { margin: 0; }
.a-body .fl .fl-about { margin: 8px 0 0; }
.a-body .fl .fl-meta { margin: 0 0 8px; }
/* the tester's controls stay in reach while its list scrolls by */
.fl-try > .fl-bar { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.fl-bar { display: grid; grid-template-columns: minmax(0, 1fr) 160px 160px auto; gap: 8px 16px; align-items: end; padding: 16px; border-bottom: 1px solid var(--line); }
.fl-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fl-field > label, .fl-seg-label { color: var(--ink-3); font-size: 11px; line-height: 16px; }
.fl-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 24px; column-gap: 8px; }
.fl-range label { grid-column: 1 / -1; }
.fl input[type='text'], .fl select { box-sizing: border-box; width: 100%; min-width: 0; height: 24px; margin: 0; padding: 0 8px; border: 1px solid transparent; border-radius: 5px; background: var(--paper-2); color: var(--ink); font: 450 11px/16px var(--ui-face, inherit); }
.fl input[type='text']:hover, .fl select:hover { border-color: var(--line); }
.fl input:focus-visible, .fl select:focus-visible, .fl button:focus-visible, .fl a:focus-visible, .fl-drop:focus-within { outline: 2px solid var(--brand-ring, var(--brand)); outline-offset: -1px; }
.fl input[type='range'] { width: 100%; min-width: 0; height: 24px; margin: 0; accent-color: var(--brand); }
.fl output { min-width: 28px; color: var(--ink-3); font-size: 11px; line-height: 24px; font-variant-numeric: tabular-nums; text-align: right; }
.fl-seg-row, .fl-chip-row { display: flex; flex-wrap: wrap; gap: 4px; }
.fl-seg-row { padding: 2px; border-radius: 5px; background: var(--paper-2); width: max-content; }
.fl-seg-row button, .fl-chip-row button, .fl-tries button { height: 20px; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: var(--ink-3); font: 450 11px/16px inherit; cursor: pointer; white-space: nowrap; }
.fl-seg-row button[aria-pressed='true'] { background: var(--paper); color: var(--ink); font-weight: 550; box-shadow: 0 0 0 1px var(--line); }
.fl-chip-row button { height: 24px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.fl-chip-row button[aria-pressed='true'] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); font-weight: 550; }
.fl-list { margin: 0; padding: 0; list-style: none; }
.fl-row { padding: 12px 16px 16px; border-bottom: 1px solid var(--line); }
.fl-row:last-child { border-bottom: 0; }
.fl-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 8px; font-size: 11px; line-height: 16px; }
.fl-name { margin: 0; color: var(--ink); font-size: 11px; line-height: 16px; font-weight: 550; letter-spacing: 0; }
.article .a-body .fl h3.fl-name { margin: 0; font-size: 13px; line-height: 20px; font-weight: 550; letter-spacing: 0; }
.fl-n { margin-right: 4px; color: var(--brand-ink); font: 450 11px/16px var(--mono, ui-monospace, monospace); }
.fl-gap { color: #f24822; font-weight: 550; }
.fl-about { max-width: 640px; margin: 8px 0 0; color: var(--ink); font-size: 15px; line-height: 24px; }
.fl-by { display: block; margin-top: 4px; color: var(--ink-3); font-size: 11px; line-height: 16px; }
.fl-wide { width: min(960px, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); }
.fl-tags { color: var(--ink-3); }
.fl-use { margin-left: auto; color: var(--brand-ink); font-weight: 550; text-decoration: none; white-space: nowrap; }
.fl-use:hover { text-decoration: underline; }
.fl-sample { height: 1.2em; margin: 0; color: var(--ink); font-size: var(--fl-size); line-height: 1.2; white-space: nowrap; overflow-x: clip; overflow-y: visible; text-overflow: ellipsis; transition: color 0.15s ease; }
/* fx2-font-specimens-live: the sample is one line of fixed height, so a face arriving moves nothing; once the reader types
   or moves a slider, the lines wrap to show every word. A row whose face is on its way shows a neutral bar, never the line
   in another font; the script takes over once it runs (.fl-live, 3 s per row), the animation only reveals it if it never runs. */
.fl-try.fl-typed .fl-sample { height: auto; white-space: normal; overflow-wrap: anywhere; }
@keyframes fl-reveal { to { color: var(--ink); background-size: 0 0; } }
@media (scripting: enabled) {
  .fl .fl-row:not(.fl-ready) .fl-sample { color: transparent; background: linear-gradient(var(--paper-2), var(--paper-2)) 0 55% / min(100%, 10em) 0.6em no-repeat; animation: fl-reveal 0s 5s forwards; }
  .fl-try.fl-dark .fl-row:not(.fl-ready) .fl-sample { background-image: linear-gradient(#383838, #383838); }
  .fl.fl-live .fl-row:not(.fl-ready) .fl-sample { animation: none; }
}
.fl-note { margin: 0; padding: 8px 16px 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11px; line-height: 16px; }
.fl-try.fl-dark .fl-list { background: #1e1e1e; }
.fl-try.fl-dark .fl-row { border-color: #383838; }
.fl-try.fl-dark .fl-name, .fl-try.fl-dark .fl-sample { color: #ffffff; }
.fl-try.fl-dark .fl-tags, .fl-try.fl-dark .fl-by { color: rgba(255, 255, 255, 0.6); }
.fl-try.fl-dark .fl-about { color: rgba(255, 255, 255, 0.9); }
.fl-try.fl-dark .fl-n { color: #eca28e; }
.fl-try.fl-dark .fl-gap { color: #ff8c73; }
.fl-try.fl-dark .fl-use { color: #eca28e; }
/* the pair builder */
.fl-pair { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
.fl-pair-ctl { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-right: 1px solid var(--line); }
.fl-card { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 360px; margin: 0; padding: 40px; overflow: hidden; transition: background 0.2s ease; }
.fl-card[data-tone='paper'] { background: #f4efe6; color: #1b1b1b; }
.fl-card[data-tone='ink'] { background: #1e1e1e; color: #f6ead8; }
.fl-card[data-tone='accent'] { background: #db4d28; color: #ffffff; }
.fl-card-h { margin: 0; font-size: clamp(40px, 7vw, 72px); line-height: 1.05; overflow-wrap: anywhere; }
.fl-card-b { margin: 0; max-width: 32em; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
/* fx2-int-b46: the card keeps its own ink — .article figcaption's colour (light in dark mode) must not reach it */
.fl-card .fl-card-cap { color: inherit; }
.fl-card-cap { margin-top: auto; font: 450 11px/16px var(--mono-face, ui-monospace, monospace); opacity: 0.7; }
.fl-card:not(.fl-ready) .fl-card-h, .fl-card:not(.fl-ready) .fl-card-b { opacity: 0.6; }
/* fx2-font-specimens-live: until the first pair's faces arrive the card's words are hidden, not shown in another font
   (the script reveals them after 3 s at the latest; the animation only if the script never runs) */
@keyframes fl-shown { to { opacity: 1; } }
@media (scripting: enabled) {
  .fl-card:not(.fl-shown) .fl-card-h, .fl-card:not(.fl-shown) .fl-card-b { opacity: 0; animation: fl-shown 0s 5s forwards; }
  .fl-live .fl-card:not(.fl-shown) .fl-card-h, .fl-live .fl-card:not(.fl-shown) .fl-card-b { animation: none; }
}
.fl-pair-go { grid-column: 1 / -1; margin: 0; padding: 16px; border-top: 1px solid var(--line); }
.fl-pair .fl-note { grid-column: 1 / -1; }
/* fx2-us-fonts: the mini timeline — a strip of moments on a line, scrolled sideways, each its word in its face */
.fl-tl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; }
.fl-tl-item { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0 0 16px; border-right: 1px solid var(--line); scroll-snap-align: start; }
.fl-tl-item:last-child { border-right: 0; }
.fl-tl-go { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 8px; color: var(--ink); text-decoration: none; }
.fl-tl-go:hover { background: var(--paper-2); }
.fl-tl-when { position: relative; padding-top: 16px; border-top: 2px solid var(--line); color: var(--brand-ink); font: 550 11px/16px var(--mono, ui-monospace, monospace); }
.fl-tl-when::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.fl-tl-word { min-height: 1.2em; font-size: 30px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.fl-tl-face { color: var(--ink-3); font-size: 11px; line-height: 16px; }
.a-body .fl .fl-tl-note { margin: 0; padding: 0 16px; color: var(--ink); font-size: 13px; line-height: 20px; }
@keyframes fl-tl-show { to { opacity: 1; } }
@media (scripting: enabled) {
  .fl-tl-item:not(.fl-ready) .fl-tl-word { opacity: 0; animation: fl-tl-show 0s 5s forwards; }
  .fl-live .fl-tl-item:not(.fl-ready) .fl-tl-word { animation: none; }
}
.fl-time.fl-dark { background: #1e1e1e; }
.fl-time.fl-dark .fl-tl-item { border-color: #383838; }
.fl-time.fl-dark .fl-tl-go { color: #ffffff; }
.fl-time.fl-dark .fl-tl-go:hover { background: #2c2c2c; }
.fl-time.fl-dark .fl-tl-when { border-color: #383838; color: #eca28e; }
.fl-time.fl-dark .fl-tl-face { color: rgba(255, 255, 255, 0.6); }
.a-body .fl-time.fl-dark .fl-tl-note { color: rgba(255, 255, 255, 0.9); }
/* the licence explorer */
.fl-lic .fl-bar { grid-template-columns: minmax(0, 1fr); }
.fl-lic-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line); }
.fl-lic:not(.fl-live) .fl-lic-cards { display: none; }
.fl-lic-card { padding: 16px; border-right: 1px solid var(--line); }
.fl-lic-card:last-child { border-right: 0; }
.fl-lic-name { margin: 0 0 8px; color: var(--ink-3); font-size: 11px; line-height: 16px; }
.fl-lic-v { margin: 0 0 4px; font-size: 22px; line-height: 28px; font-weight: 550; }
.fl-lic-v[data-v='yes'] { color: #14ae5c; }
.fl-lic-v[data-v='cond'] { color: var(--brand-ink); }
.fl-lic-v[data-v='no'] { color: #f24822; }
.fl-lic-why { margin: 0; font-size: 13px; line-height: 20px; }
.fl-lic-table { margin: 0; padding: 0 16px 16px; }
.fl-lic-table td { font-size: 13px; line-height: 20px; vertical-align: top; }
.fl-lic-table td[data-v='yes'] strong { color: #14ae5c; }
.fl-lic-table td[data-v='no'] strong { color: #f24822; }
.fl-lic-table tr.fl-on > * { background: var(--brand-tint); }
/* the checker */
.fl-check .fl-bar { grid-template-columns: minmax(0, 1fr) auto; }
.fl-check .fl-bar[hidden] { display: none; }
.fl-go .btn { height: 24px; padding: 0 12px; border: 0; font-size: 11px; line-height: 16px; cursor: pointer; }
.fl-tries { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; color: var(--ink-3); font-size: 11px; line-height: 16px; }
.fl-tries button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.fl-drop { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px; border: 1px dashed var(--line); border-radius: 5px; color: var(--ink-3); font-size: 11px; line-height: 16px; cursor: pointer; }
.fl-check-file input[type='file'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fl-check-status { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; }
.fl-check-status[data-state='all'] { color: #14ae5c; font-weight: 550; }
.fl-check-status[data-state='some'], .fl-check-status[data-state='none'], .fl-check-status[data-state='fail'] { color: #f24822; font-weight: 550; }
.fl-letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 4px; margin: 0; padding: 16px; }
.fl-letters span { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 5px; background: var(--paper-2); color: var(--ink); font-size: 26px; line-height: 1; }
.fl-letters span.fl-wait { opacity: 0.4; }
.fl-letters span.fl-no { background: rgba(242, 72, 34, 0.12); color: #f24822; text-decoration: line-through; text-decoration-thickness: 2px; }
.fl-extra-h { margin: 0; padding: 0 16px; color: var(--ink-3); font-size: 11px; line-height: 16px; }
@media (max-width: 760px) {
  /* fx2-font-specimens-live: on a phone the untouched sample is two lines of fixed height (the third, if any, ends in an
     ellipsis) at a size that fits; the slider's own size and free wrapping return once the reader types or moves a slider */
  .fl-try:not(.fl-typed) .fl-sample { display: -webkit-box; height: 2.4em; font-size: min(var(--fl-size), 9vw); white-space: normal; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .fl-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fl-bar > .fl-text { grid-column: 1 / -1; }
  .fl-try .fl-bar > .fl-seg { grid-column: 1 / -1; }
  .fl input[type='text'], .fl select { height: 32px; font-size: 13px; }
  .fl-range { grid-template-rows: auto 32px; }
  .fl-pair { grid-template-columns: minmax(0, 1fr); }
  .fl-pair-ctl { border-right: 0; border-bottom: 1px solid var(--line); }
  .fl-card { min-height: 280px; padding: 24px; }
  .fl-lic-cards { grid-template-columns: minmax(0, 1fr); }
  .fl-lic-card { border-right: 0; border-bottom: 1px solid var(--line); }
  /* the table read down on a phone: each use a block, each licence a line under it, named */
  .fl-lic-table table, .fl-lic-table tbody, .fl-lic-table tr, .fl-lic-table th, .fl-lic-table td, .fl-stack table, .fl-stack tbody, .fl-stack tr, .fl-stack th, .fl-stack td { display: block; width: auto; }
  .fl-lic-table thead, .fl-stack thead { display: none; }
  /* fx2-int-b46: the caption of a table set to blocks is a block too (as a table-caption it shrank to one word a line) */
  .fl-lic-table caption, .fl-stack caption { display: block; width: auto; }
  .fl-lic-table tr, .fl-stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .fl-lic-table th[scope='row'], .fl-stack th[scope='row'] { padding: 0 0 4px; border: 0; font-size: 13px; line-height: 20px; }
  .fl-lic-table td, .fl-stack td { padding: 4px 0 0; border: 0; }
  .fl-lic-table td::before, .fl-stack td::before { content: attr(data-l); display: block; color: var(--ink-3); font-size: 11px; line-height: 16px; }
  .fl-check .fl-bar { grid-template-columns: minmax(0, 1fr); }
  .fl-letters { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); padding: 12px; }
  .fl-letters span { height: 40px; font-size: 22px; }
}
