main
John Lauer Publish 0.2.2 6e403aa
@font-face { font-family: 'Familjen Grotesk'; src: url('fonts/FamiljenGrotesk-Variable.woff2') format('woff2'); font-weight: 400 700; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2'); }
:root { --bg: #0f1115; --panel: #161a21; --line: #262c37; --txt: #e6e6e6; --dim: #9aa4b2; --teal: #2dd4bf; --amber: #ffb74d; --red: #f87171; --green: #4ade80; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: 'Familjen Grotesk', system-ui, sans-serif; font-size: 15px; }
header { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5; }
.brand { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.logo { color: var(--teal); }
.study { font-weight: 500; color: var(--dim); font-size: 14px; margin-left: 10px; }
.hdr-right { display: flex; align-items: center; gap: 12px; }
.busy { color: var(--amber); font-size: 14px; }
button { font-family: inherit; }
.icon { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 6px; color: #fff; }
.icon:hover { background: #222834; }
[data-tip] { position: relative; }
[data-tip]:hover::after { content: attr(data-tip); position: absolute; right: 0; top: 110%; background: #222834; color: #fff; padding: 5px 8px; border-radius: 6px; font-size: 13px; white-space: nowrap; opacity: 0; animation: tip .2s .6s forwards; pointer-events: none; }
@keyframes tip { to { opacity: 1; } }
main { padding: 16px; display: flex; flex-direction: column; gap: 16px; max-width: 1600px; margin: 0 auto; }
.verdict { padding: 14px 18px; border-radius: 10px; font-size: 18px; font-weight: 600; border: 1px solid var(--line); }
.verdict.agree { background: #0f2a22; border-color: #1f6f5b; color: #7ff0d6; }
.verdict.disagree { background: #2b1414; border-color: #7f2a2a; color: #fca5a5; }
.verdict.single { background: #10202a; border-color: #1f4f6f; color: #9fd3f0; }
.verdict.pending { background: var(--panel); color: var(--dim); }
.engines { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.eng { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.eng .name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.eng .where { color: var(--dim); font-size: 13px; }
.eng .stats { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #cfd8dc; line-height: 1.6; }
.eng .row { display: flex; gap: 8px; align-items: center; }
.run { background: var(--teal); color: #0f1115; border: 0; border-radius: 7px; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.run:disabled { background: #2a303b; color: var(--dim); cursor: default; }
.toggle { margin-left: auto; color: var(--dim); font-size: 13px; display: flex; gap: 6px; align-items: center; cursor: pointer; }
.state-running { color: var(--amber); } .state-done { color: var(--green); } .state-failed { color: var(--red); }
.charts { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.chart { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.chart:first-child { grid-row: span 2; }
.chart h3 { margin: 2px 0 6px; font-size: 15px; font-weight: 600; }
.chart canvas { width: 100%; display: block; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.panel h2 { margin: 0 0 4px; font-size: 18px; }
.sub { margin: 0 0 12px; color: var(--dim); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: right; padding: 7px 10px; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th { color: var(--dim); font-weight: 600; }
td.num { font-family: 'JetBrains Mono', monospace; }
.ok { color: var(--green); font-weight: 600; } .bad { color: var(--red); font-weight: 700; }
tr.flag td { background: #2b1414; }
.outlier { outline: 2px solid var(--red); outline-offset: -2px; border-radius: 4px; }
.log #log { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: #cfd8dc; max-height: 180px; overflow: auto; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 20; }
.hidden { display: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: min(620px, 94vw); max-height: 86vh; overflow: auto; padding: 16px 18px; }
.card-hdr { display: flex; justify-content: space-between; align-items: center; }
.setrow { display: grid; grid-template-columns: 1fr 220px; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.setrow .help { color: var(--dim); font-size: 13px; }
.setrow input, .setrow select { background: #0f1115; color: var(--txt); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font-family: inherit; width: 100%; }
.ver { color: var(--dim); font-size: 13px; margin-top: 10px; }
#toasts { position: fixed; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 30; }
.toast { background: #222834; border-left: 4px solid var(--teal); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.hl { box-shadow: 0 0 0 3px var(--amber); transition: box-shadow .3s; }
@media (max-width: 900px) { .charts { grid-template-columns: 1fr; } .chart:first-child { grid-row: auto; } }