main.explorer { max-width: 1400px; position: relative; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.layout { display: grid; grid-template-columns: minmax(280px, 26rem) minmax(0, 1fr); gap: 28px; margin-top: 18px; align-items: start; }
.editor { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 12px; color: var(--muted); }
textarea { width: 100%; height: min(70dvh, 640px); resize: vertical; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions button { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; font-size: 12px; }
.actions .primary { background: var(--ink); color: var(--surface); border-color: var(--ink); }
kbd { font: inherit; opacity: .6; }
h2 { font-size: 15px; font-weight: 600; margin: 20px 0 2px; }
h3 { font-size: 12px; font-weight: 500; margin: 8px 0 0; color: var(--muted); }
.charts { min-width: 0; }
.charts > h2:first-child { margin-top: 0; }
.chart svg { display: block; width: 100%; }
.chart text { fill: var(--ink); font-size: 11px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.model-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.model-row select, .model-row input { max-width: 340px; width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font: inherit; font-size: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.table-wrap { overflow: auto; max-height: 70dvh; margin-top: 8px; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
th, td { padding: 5px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child, th:nth-child(2), td:nth-child(2) { text-align: left; }
th { position: sticky; top: 0; background: var(--surface); font-weight: 500; cursor: pointer; }
tr[data-id] { cursor: pointer; }
tr[data-id]:hover { background: color-mix(in srgb, var(--line) 40%, transparent); }
.tooltip { width: auto; min-width: 180px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .editor { position: static; } textarea { height: 40dvh; } }
.links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.links a { text-underline-offset: 3px; }
