:root { color-scheme: light; --ink: #182536; --muted: #657284; --line: #dce3eb; --accent: #2563eb; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f5f7fb; font: 15px/1.55 system-ui, sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; padding: 18px max(24px, calc((100% - 1100px)/2)); background: white; border-bottom: 1px solid var(--line); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.brand { font-weight: 750; color: var(--ink); }
nav { display: flex; gap: 24px; }
main { max-width: 1100px; margin: 36px auto 80px; padding: 0 24px; }
main.wide { max-width: 1500px; }
h1 { margin-bottom: 8px; font-size: 30px; }
h2 { font-size: 20px; margin: 24px 0 12px; }
.muted { color: var(--muted); }
.panel { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 10px; margin: 20px 0; }
.panel h2 { margin-top: 0; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; }
label { display: block; font-weight: 600; margin: 0 0 18px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #bdc8d5; border-radius: 6px; color: var(--ink); background: white; font: inherit; }
textarea { resize: vertical; }
.code, pre, #params { font-family: ui-monospace, Consolas, monospace; font-size: 13px; tab-size: 4; }
input:focus, select:focus, textarea:focus { outline: 2px solid #bfdbfe; border-color: var(--accent); }
button { background: var(--accent); color: white; border: 0; border-radius: 6px; padding: 10px 16px; font: inherit; font-weight: 600; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
.secondary { background: #e8eef7; color: #294568; }
.danger { background: #b42335; }
.small { font-size: 12px; padding: 5px 9px; margin-left: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; color: var(--muted); background: #f8fafc; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7faff; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.heading h2 { margin: 0; }
.badge { display: inline-block; padding: 4px 12px; background: #e8eef7; border-radius: 20px; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; font-size: 13px; }
.logs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.logs section { min-width: 0; }
.terminal { height: 320px; overflow: auto; padding: 16px; border-radius: 8px; color: #d6e2f1; background: #172333; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
#source { height: 400px; margin-top: 12px; }
.positive { color: #157347; font-weight: 700; }
.negative, .error { color: #b42335; }
.error:empty, #message:empty { display: none; }
.run-select { max-width: 850px; }
details { margin-top: 16px; }
summary { cursor: pointer; }
#settings { overflow-x: auto; }
.json { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; max-height: 450px; }
.score { font-weight: 750; color: var(--accent); }
.cell-files a { margin-right: 12px; font-size: 12px; }
.cell-files a:last-child { margin-right: 0; }
.code-section { margin-top: 24px; }
.code-view { padding: 16px; background: #0f172a; color: #e2e8f0; border-radius: 8px; overflow: auto; max-height: 520px; white-space: pre; font-family: ui-monospace, Consolas, monospace; font-size: 13px; tab-size: 4; line-height: 1.5; margin: 0; }
.highlight { background: #eff6ff; }
@media (max-width: 700px) { .logs { grid-template-columns: 1fr; } header { padding: 16px; } nav { gap: 14px; } main { padding: 0 16px; } .panel { padding: 18px; } .heading { align-items: flex-start; } }
