/* newaimodelstracker.com: an airport arrivals and departures board.
   Wayfinding yellow sign, black split-flap panel, light terminal ground. */
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --page: #eceeec;
  --card: #ffffff;
  --ink: #14171a;
  --ink2: #3f454b;
  --ink3: #596067;
  --line: rgba(20, 23, 26, 0.12);
  --line2: rgba(20, 23, 26, 0.3);
  --sign: #ffd21a;
  --green: #0b6e35;
  --panel: #101214;
  --cell: #2b3035;
  --cellhi: #454c53;
  --lit: #f4f1e6;
  --dim: #a9b0b6;
  --head: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ind: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; scrollbar-color: var(--ink) var(--page); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.55 var(--body); overflow-wrap: break-word; caret-color: var(--ink); accent-color: var(--ink); }
::selection { background: var(--sign); color: var(--ink); }
a { color: var(--ink); text-decoration-line: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
a:hover { background: var(--sign); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--sign); border-radius: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; margin: 0; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
ul { padding-left: 20px; }
time, .cnt, .shown, .chart text { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -64px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 2; }
.skip:focus { top: 8px; }

/* masthead: the yellow sign with the page list, then the developer strip */
.top { background: var(--card); border-bottom: 1px solid var(--line2); }
.sign { background: var(--sign); }
.bar, .devrow, main, .foot .in { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding-top: 12px; }
.name { display: inline-flex; align-items: center; gap: 12px; font: 600 22px/1.2 var(--head); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.arw { flex: none; }
.arw rect { fill: var(--ink); }
.arw path { fill: none; stroke: var(--sign); stroke-width: 2.5; stroke-linecap: square; }
.by { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); text-decoration: none; padding: 8px 0; }
.name:hover, .by:hover { background: none; text-decoration: underline; }
.pages { display: flex; flex: 1 0 100%; overflow-x: auto; margin: 8px -16px 0; padding: 0 16px; font-size: 15px; font-weight: 500; scrollbar-width: none; border-top: 1px solid var(--line2); }
.pages a { flex: none; color: var(--ink); text-decoration: none; padding: 12px 14px; border-right: 1px solid var(--line2); white-space: nowrap; }
.pages a:first-child { border-left: 1px solid var(--line2); }
.pages a:hover { background: var(--ink); color: var(--sign); }
.pages a[aria-current] { background: var(--ink); color: #fff; }
.top :focus-visible { box-shadow: 0 0 0 6px #fff; }
.devrow { display: flex; gap: 0; overflow-x: auto; white-space: nowrap; font-size: 14px; scrollbar-width: thin; }
@media (min-width: 1000px) { .devrow { flex-wrap: wrap; overflow: visible; font-size: 13px; } .devrow a { padding-left: 6px; padding-right: 6px; } .devrow .lab, .devrow a { padding-top: 10px; padding-bottom: 10px; } }
.devrow .lab { color: var(--ink3); padding: 12px 8px 12px 0; }
.devrow a { color: var(--ink2); text-decoration: none; padding: 12px 7px; }
.devrow a:hover { background: none; color: var(--ink); text-decoration: underline; }
.devrow a.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--ink); }

main { padding-top: 40px; padding-bottom: 56px; }
.intro { max-width: 900px; margin-bottom: 32px; }
h1 { font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; }
.lede { margin-top: 20px; font-size: 18px; line-height: 1.5; max-width: 68ch; }
.stamp { margin-top: 12px; font-size: 14px; color: var(--ink2); }
h2.plain { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 40px 0 12px; padding-top: 12px; border-top: 2px solid var(--ink); }
.q { font-size: 17px; line-height: 1.35; margin: 24px 0 8px; }
section > p + p, .ulsa p + p { margin-top: 12px; }
li + li { margin-top: 8px; }

/* signature: the split-flap panel */
.flapfig { margin-bottom: 40px; }
.flapfig figcaption { margin-top: 8px; font-size: 14px; color: var(--ink2); }
.panel { container-type: inline-size; background: var(--panel); color: var(--lit); border-radius: 8px; padding: 12px; }
.flap, .fcols { --cw: clamp(10px, calc((100cqi - (var(--m) - 1) * 2px) / var(--m)), 16px); }
.phead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; font-size: 14px; color: var(--dim); padding: 0 0 12px; }
.phead span:first-child { color: var(--lit); font-weight: 600; }
.phead time { font-family: var(--mono); font-weight: 500; color: var(--lit); }
.fcols { display: none; }
.flap { list-style: none; padding: 0; display: grid; gap: 12px 24px; }
.flap li { margin: 0; }
.flap a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; color: var(--lit); text-decoration: none; border-radius: 3px; }
.flap a:hover { background: none; }
.flap a:focus-visible { outline-color: var(--sign); box-shadow: none; outline-offset: 4px; }
.fl { display: flex; gap: 2px; position: relative; }
.fm { display: grid; gap: 2px; grid-column: 1 / -1; order: 3; }
.fl i { flex: none; width: var(--cw); height: calc(var(--cw) * 1.9); background: var(--cell); border-radius: 2px; font: 500 calc(var(--cw) * 1.22)/calc(var(--cw) * 1.9) var(--mono); text-align: center; transition: background-color 150ms var(--ease); }
.fd::after, .fm .fl::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 0.5px); height: 1px; background: var(--panel); opacity: 0.4; pointer-events: none; }
.flap a:hover i { background: var(--cellhi); }
.fv { gap: 0; color: var(--dim); min-width: 0; overflow: hidden; }
.fv i { width: auto; height: auto; background: none; font: 400 14px/1.4 var(--body); white-space: pre; }
.flap a:hover .fv i { background: none; color: var(--lit); }
.fv i:empty, .ft { display: none; }
@container (min-width: 620px) {
  .flap { grid-template-columns: 1fr 1fr; }
}
@container (min-width: 1000px) {
  .flap, .fcols { --cw: clamp(11px, calc((100cqi - 72px - (var(--n) - 4) * 2px) / var(--n)), 16px); }
  .fcols { display: flex; gap: 24px; font-size: 13px; color: var(--dim); padding-bottom: 8px; }
  .fcols span { flex: none; width: calc(var(--k) * var(--cw) + (var(--k) - 1) * 2px); }
  .flap { grid-template-columns: none; gap: 8px; }
  .flap a { grid-template-columns: repeat(4, max-content); gap: 0 24px; align-items: start; }
  .fm { grid-column: auto; order: 0; }
  .fv { gap: 2px; color: inherit; overflow: visible; }
  .fv i, .flap a:hover .fv i { width: var(--cw); height: calc(var(--cw) * 1.9); background: var(--cell); font: 500 calc(var(--cw) * 1.22)/calc(var(--cw) * 1.9) var(--mono); }
  .flap a:hover .fv i { background: var(--cellhi); }
  .fv i:empty { display: block; }
  .ft { display: flex; }
  .fv::after, .ft::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 0.5px); height: 1px; background: var(--panel); opacity: 0.4; pointer-events: none; }
}

/* bands: a sign strip with a count at the right edge */
.band, .board .month th { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: var(--sign); color: var(--ink); font: 600 17px/1.4 var(--head); padding: 8px 16px; text-align: left; }
.band { border-radius: 6px 6px 0 0; border: 1px solid var(--line2); border-bottom: 0; }
.band .cnt, .month .cnt { font: 500 14px/1.7 var(--mono); white-space: nowrap; }

/* filters: one row, wraps on small screens */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.filters label { display: grid; gap: 4px; color: var(--ink2); flex: 1 1 140px; }
.filters .grow { flex: 2 1 200px; max-width: 320px; }
.filters select, .filters input, .filters button { font: 400 15px/1.3 var(--body); color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: 6px; padding: 8px 12px; min-height: 44px; width: 100%; }
.filters button { width: auto; cursor: pointer; font-weight: 500; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.filters button:hover { background: var(--ink); color: #fff; }
.filters .on { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--sign); font-weight: 600; }
.shown { margin-left: auto; color: var(--ink2); padding-bottom: 12px; }
.none { padding: 24px 16px; background: var(--card); border: 1px solid var(--line2); border-radius: 6px; color: var(--ink2); }
@media (min-width: 720px) { .filters label { flex: 0 1 200px; } .filters .grow { flex: 1 1 200px; } }

/* the board: small screens first, each row a two-line record */
.wrap { background: var(--card); border: 1px solid var(--line2); border-radius: 6px; overflow: hidden; }
.band + .wrap { border-radius: 0 0 6px 6px; }
.board { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.board, .board tbody, .board caption { display: block; }
.board caption { text-align: left; padding: 12px 16px; color: var(--ink2); border-bottom: 1px solid var(--line); }
.board thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.board th { font-weight: 400; text-align: left; }
.board td, .board th { padding: 0; vertical-align: top; }
.board tbody tr { border-top: 1px solid var(--line); }
.board tbody tr:first-child, .board tr.month, .board tr.month + tr { border-top: 0; }
.board tr:target { background: #fff6cc; }
.board .n { font: 600 16px/1.35 var(--head); color: var(--ink); text-decoration: none; }
.board a.n:hover { text-decoration: underline; }
.board .dv { color: var(--ink2); }
.board .d { color: var(--ink); white-space: nowrap; }
.board .d time, .tl .d { font: 500 13.5px/1.6 var(--mono); }
.board .k, .board .an, .board .ev, .board .sub, .board .or { display: block; color: var(--ink3); font-size: 13px; font-weight: 400; white-space: normal; }
.board .nw, .tl .new time { color: var(--green); }
.board .nw { display: block; font-size: 13px; font-weight: 600; white-space: normal; line-height: 1.25; }
.flag { display: block; font-size: 13px; font-weight: 600; color: var(--ink); white-space: normal; margin-top: 4px; }
.tag { display: inline-block; border: 1px solid var(--line2); border-radius: 4px; padding: 0 6px; margin: 0 4px 4px 0; font-size: 13px; line-height: 20px; color: var(--ink); white-space: nowrap; }
.board .s p + p { margin-top: 4px; }
.board .s b { font-weight: 600; color: var(--ink2); }
.board .nt { color: var(--ink2); }
.np { color: var(--ink3); }
.board .l a { display: block; }

.rel tbody tr:not(.month) { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px 12px calc(16px + var(--ind)); }
.rel tr.month { display: block; }
.rel tr.new { box-shadow: inset 4px 0 0 var(--green); }
.rel tbody tr:not(.month) { position: relative; min-height: 88px; }
.rel .d { width: calc(var(--ind) - 12px); position: absolute; left: 16px; top: 12px; }
.rel .d .flag { display: none; }
.rel .m, .rel .a { display: contents; }
.rel .n { flex: 1 1 100%; min-width: 0; }
.rel .t .k { display: none; }
.rel .tag { margin-bottom: 0; }
.rel .an, .rel .s, .rel .l { flex: 0 0 100%; min-width: 0; }
.rel .l a { display: inline; margin-right: 12px; }

.dep tbody tr, .src3 tbody tr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 12px; padding: 12px 16px; }
.dep .d, .src3 .d { grid-column: 1; grid-row: 1 / span 4; white-space: normal; }
.dep .m, .dep .t, .dep .a, .dep .l, .src3 .m, .src3 .s { grid-column: 2; }
.dep .n { display: block; font-size: 15px; overflow-wrap: anywhere; }
.dep .dv { display: block; }
.dep .a { overflow-wrap: anywhere; }
.src3 .m a { font: 600 15px/1.35 var(--head); }
.src3 .s { color: var(--ink2); }

@media (min-width: 900px) {
  .board { display: table; table-layout: fixed; }
  .board tbody { display: table-row-group; }
  .board caption { display: table-caption; }
  .board thead { position: static; width: auto; height: auto; clip-path: none; display: table-header-group; }
  .board thead th { padding: 8px 12px; font-size: 13px; color: var(--ink2); border-bottom: 1px solid var(--line2); white-space: normal; font-weight: 500; }
  .board tbody tr:not(.month), .rel tbody tr:not(.month) { display: table-row; padding: 0; }
  .rel tr.month { display: table-row; }
  .board .month th { display: table-cell; }
  .board .month th .cnt { float: right; }
  .board tbody td, .board tbody tr:not(.month) th { padding: 12px; display: table-cell; }
  .board thead .d, .board tbody .d { padding-left: 16px; }
  .rel tr.new { box-shadow: none; }
  .rel tr.new .d { box-shadow: inset 4px 0 0 var(--green); }
  .rel .m, .rel .a { display: table-cell; }
  .rel .n, .rel .dv { display: block; margin: 0; }
  .rel .t .k { display: block; }
  .rel .d { position: static; }
  .rel tbody tr:not(.month) { position: static; }
  .rel .d .flag { display: block; }
  .rel .tag { margin-bottom: 4px; }
  .rel .l a { display: block; margin: 0 0 4px; }
  .rel thead .d { width: 124px; }
  .rel thead .m { width: 19%; }
  .rel thead .t { width: 11%; }
  .rel thead .a { width: 17%; }
  .rel thead .l { width: 13%; }
  .dep thead .d { width: 132px; }
  .dep thead .m { width: 30%; }
  .dep thead .t { width: 20%; }
  .dep thead .l { width: 17%; }
  .src3 thead .d { width: 190px; }
  .src3 thead .m { width: 32%; }
}

/* timeline */
.chart { background: var(--card); border: 1px solid var(--line2); border-radius: 6px; padding: 16px; max-width: 720px; }
.chart svg { display: block; width: 100%; height: auto; }
.chart rect { fill: var(--ink); }
.chart line { stroke: var(--line2); stroke-width: 1; }
.chart text { text-anchor: middle; fill: var(--ink); }
.chart .v { font: 500 15px var(--mono); }
.chart .l { font: 400 13px var(--body); fill: var(--ink2); }
.chart figcaption { margin-top: 12px; font-size: 14px; color: var(--ink2); }
.tmonth { margin-top: 32px; }
.tmonth .count { background: var(--card); border: 1px solid var(--line2); border-top: 0; border-bottom: 0; padding: 12px 16px; font-size: 15px; color: var(--ink2); }
.tl { list-style: none; padding: 0; background: var(--card); border: 1px solid var(--line2); border-radius: 0 0 6px 6px; font-size: 14.5px; }
.tl li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 0 12px; padding: 8px 16px; margin: 0; border-top: 1px solid var(--line); }
.tl li:first-child { border-top: 0; }
.tl li.new { box-shadow: inset 4px 0 0 var(--green); }
.tl .n { font: 600 15px/1.4 var(--head); color: var(--ink); text-decoration: none; }
.tl .n:hover { text-decoration: underline; }
.tl .dv { color: var(--ink2); }
.tl .l { grid-column: 2; font-size: 13.5px; }
@media (min-width: 720px) {
  .tl li { grid-template-columns: 72px minmax(0, 1fr) 220px; }
  .tl .l { grid-column: 3; }
}

/* text sections */
.cols { display: grid; gap: 0 56px; margin-top: 16px; }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.answers { display: grid; gap: 0 56px; max-width: 1100px; }
@media (min-width: 900px) { .answers { grid-template-columns: 1fr 1fr; } }
.ans { border-top: 2px solid var(--ink); padding: 0 0 28px; }
.ans .q { margin-top: 12px; }
.ans:target .q { box-shadow: inset 0 -0.5em 0 var(--sign); display: inline-block; }
.src { font-size: 14px; margin-top: 8px; }
.src a { display: inline-block; margin-right: 12px; }
.qa, .lb, .conf, .rules, .trk, .notes { max-width: 68ch; }
.cols .qa, .cols .notes { max-width: none; }
.depsec { margin-top: 32px; }
.depsec + .qa, .depsec + .conf { margin-top: 8px; }
.trk dt { font: 600 16px/1.4 var(--head); margin-top: 16px; }
.trk dd { margin: 4px 0 0; }

/* the one call to action: a sign panel */
.ulsa { margin-top: 56px; max-width: 68ch; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; padding: 20px; }
.ulsa h2 { font-size: 20px; margin-bottom: 8px; }
.ulsa p { color: var(--ink2); font-size: 15px; }
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; padding: 10px 18px; border-radius: 6px; }
.btn:hover { background: var(--sign); color: var(--ink); }
.go span { font-size: 14px; color: var(--ink3); }

/* footer: the black panel with the changelogs watched, then the publisher line */
.foot { background: var(--panel); color: var(--dim); font-size: 14px; scrollbar-color: var(--dim) var(--panel); }
.foot .in { padding-top: 32px; padding-bottom: 48px; }
.foot h2 { font-size: 16px; margin-bottom: 12px; color: var(--lit); }
.foot a { color: var(--lit); }
.foot a:hover { background: var(--sign); color: var(--ink); }
.foot :focus-visible { outline-color: var(--sign); box-shadow: none; }
.logs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.logs li { margin: 0; }
.logs a, .pub a { display: inline-block; padding: 6px 0; }
.pub { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(244, 241, 230, 0.2); }
.pub a { margin-right: 12px; }
.ulsa-mark { display: block; }

@media (min-width: 720px) {
  h1 { font-size: 44px; }
  .lede { font-size: 19px; }
  main { padding-top: 56px; }
}
@media (min-width: 1000px) {
  .bar { flex-wrap: nowrap; padding-top: 0; }
  .name { font-size: 24px; padding: 14px 0; }
  .pages { flex: 0 1 auto; margin: 0 0 0 auto; padding: 0; border-top: 0; align-self: stretch; }
  .pages a { display: flex; align-items: center; padding: 0 16px; }
  .panel { padding: 20px; }
  h1 { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
