/* CATHACTION benchmark: plain, dense, table-first layout in the spirit of classic vision benchmarks. */
* { box-sizing: border-box; }
html { background: #E9EBEE; }
body { margin: 0; color: #222; font: 13px/1.5 Verdana, "Helvetica Neue", Arial, sans-serif; }
a { color: #0B4C9C; text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: 12px Menlo, Consolas, monospace; background: #F1F3F5; padding: 0 3px; border: 1px solid #E1E4E8; }

.wrap { max-width: 1080px; margin: 0 auto; background: #fff; min-height: 100vh; box-shadow: 0 0 0 1px #D5D8DC; }

/* banner */
.banner { position: relative; height: 128px; overflow: hidden; background: #0C1B2E; color: #fff; }
.banner img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; opacity: .55;
              -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.banner .t { position: absolute; left: 24px; bottom: 20px; }
.banner .t b { display: block; font: 700 34px/1 Arial, sans-serif; letter-spacing: .02em; }
.banner .t span { display: block; margin-top: 8px; font-size: 13px; color: #C9D4E3; }
.banner .t span i { font-style: normal; color: #fff; }

/* menu */
.menu { display: flex; flex-wrap: wrap; background: linear-gradient(#5A6470, #3E4650); border-top: 1px solid #77818C; border-bottom: 1px solid #2A3038; }
.menu a { color: #EEF1F4; padding: 7px 13px; font-size: 12px; border-right: 1px solid #333A42; box-shadow: 1px 0 0 #66707B; }
.menu a:hover { background: #2B323A; text-decoration: none; }
.menu a.cur { background: #fff; color: #222; font-weight: 700; box-shadow: none; }
.menu .sp { flex: 1; }
.menu a.acct { border-left: 1px solid #333A42; border-right: 0; }

/* content */
.content { padding: 14px 24px 36px; }
h1 { font: 700 20px Arial, sans-serif; margin: 14px 0 8px; color: #111; }
h2 { font: 700 15px Arial, sans-serif; margin: 26px 0 6px; padding-bottom: 3px; border-bottom: 1px solid #CDD2D8; color: #111; }
h3 { font: 700 13px Arial, sans-serif; margin: 16px 0 4px; }
p { margin: 6px 0 10px; }
ul { margin: 4px 0 10px; padding-left: 22px; }
li { margin: 2px 0; }
.muted { color: #6A737D; }
.small { font-size: 11px; }

.note { border: 1px solid #E3C770; background: #FFF8DC; padding: 8px 12px; margin: 12px 0; }
.note.info { border-color: #A9C4E8; background: #EEF4FC; }
.note b:first-child { margin-right: 4px; }

.news { margin: 4px 0 0; padding: 0; list-style: none; }
.news li { padding: 3px 0; border-bottom: 1px dotted #DDE1E5; display: flex; gap: 12px; }
.news time { flex: 0 0 82px; color: #6A737D; font-family: Menlo, Consolas, monospace; font-size: 12px; }

/* tables */
table.res { border-collapse: collapse; width: 100%; font-size: 12px; margin: 6px 0 4px; }
table.res th { background: #DCE1E6; border: 1px solid #BFC6CE; padding: 4px 6px; font-weight: 700; text-align: right; white-space: nowrap; }
table.res th.l, table.res td.l { text-align: left; }
table.res th.c, table.res td.c { text-align: center; }
table.res th.s { cursor: pointer; }
table.res th.s:hover { background: #CFD6DD; }
table.res th.act { background: #C4CED8; }
table.res td { border-left: 1px solid #E1E5E9; border-right: 1px solid #E1E5E9; padding: 3px 6px; text-align: right; white-space: nowrap; }
table.res tbody tr.m td { border-top: 1px solid #C9D0D7; }
table.res tbody tr.m:nth-of-type(4n+1) td, table.res tbody tr.m:nth-of-type(4n+1) + tr.cite td { background: #F5F7F9; }
table.res tr.cite td { padding: 0 6px 4px 34px; font-size: 11px; color: #6A737D; text-align: left; white-space: normal; border-top: 0; }
table.res td.best { font-weight: 700; }
table.res td.rk { color: #555; width: 34px; }
table.res tr.flash td { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: #FFF1A8; } }
table.res.wrap-cells td, table.res.wrap-cells th { white-space: normal; }
table.kv { border-collapse: collapse; font-size: 12px; margin: 4px 0 10px; }
table.kv th { text-align: left; background: #EEF0F3; border: 1px solid #D5DAE0; padding: 3px 10px; font-weight: 700; vertical-align: top; white-space: nowrap; }
table.kv td { border: 1px solid #D5DAE0; padding: 3px 10px; }
.scroll { overflow-x: auto; }

.tag { display: inline-block; font-size: 10px; line-height: 15px; padding: 0 4px; border: 1px solid; border-radius: 2px; margin-left: 4px; vertical-align: 1px; }
.tag.human { color: #6A2C99; border-color: #C9A6E4; background: #F6EEFC; }
.tag.ap { color: #1757A6; border-color: #A8C5EA; background: #EDF4FD; }
.tag.undeclared { color: #6A737D; border-color: #CDD2D8; background: #F5F6F7; }
.tag.pending { color: #8A5A00; border-color: #E3C770; background: #FFF8DC; }
.tag.anon { color: #555; border-color: #CCC; }

.tabs { margin: 10px 0 0; display: flex; gap: 0; border-bottom: 1px solid #BFC6CE; }
.tabs button { font: inherit; font-size: 12px; padding: 4px 12px; margin-bottom: -1px; background: #EEF0F3; border: 1px solid #BFC6CE; border-left-width: 0; cursor: pointer; color: #333; }
.tabs button:first-child { border-left-width: 1px; }
.tabs button.on { background: #fff; border-bottom-color: #fff; font-weight: 700; }
.filters { margin: 8px 0 2px; font-size: 12px; }
.filters label { margin-right: 12px; white-space: nowrap; }

/* forms */
form.f { max-width: 560px; }
form.f label { display: block; margin: 9px 0 2px; font-weight: 700; font-size: 12px; }
form.f label .muted { font-weight: 400; }
form.f input[type=text], form.f input[type=email], form.f input[type=password], form.f input[type=url], form.f select, form.f textarea {
  width: 100%; font: inherit; padding: 4px 6px; border: 1px solid #AEB6BF; background: #fff; }
form.f textarea { min-height: 70px; resize: vertical; }
form.f .chk { font-weight: 400; display: block; padding-left: 22px; text-indent: -22px; }
form.f .chk input { width: 14px; margin: 0 8px 0 0; vertical-align: -2px; }
button.btn, input.btn { font: inherit; font-size: 12px; padding: 4px 14px; margin-top: 12px; border: 1px solid #7D8792; background: linear-gradient(#FDFDFD, #E3E6EA); cursor: pointer; }
button.btn:hover { background: linear-gradient(#fff, #D7DBE0); }
button.btn.primary { border-color: #2D5C99; background: linear-gradient(#4E86CF, #2C62AA); color: #fff; }
button.btn:disabled { opacity: .5; cursor: default; }
.msg { margin: 8px 0; padding: 6px 10px; display: none; }
.msg.on { display: block; }
.msg.err { background: #FDECEC; border: 1px solid #E8A9A9; color: #8A1C1C; }
.msg.ok { background: #EAF6EC; border: 1px solid #A6D3AE; color: #1D5E29; }
.cols { display: flex; gap: 40px; flex-wrap: wrap; }
.cols > div { flex: 1 1 300px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #BBB; margin-right: 5px; }
.dot.on { background: #2EA44F; } .dot.off { background: #D73A49; }
pre.box { background: #F6F8FA; border: 1px solid #E1E4E8; padding: 8px 10px; overflow: auto; font: 11px/1.5 Menlo, Consolas, monospace; }

footer { border-top: 1px solid #D5D8DC; padding: 12px 24px 20px; color: #6A737D; font-size: 11px; }

@media (max-width: 720px) {
  .banner { height: 100px; } .banner .t b { font-size: 26px; } .banner img { width: 100%; opacity: .3; }
  .content { padding: 10px 12px 30px; }
  .menu a { padding: 6px 9px; }
  table.res .opt { display: none; }
}
