:root { --bg: #080c11; --surface: #0c1219; --surface-raised: #101720; --surface-inset: #090e14; --line: #27313d; --line-soft: #1c2530; --text: #e3e8ee; --text-soft: #c2cad4; --muted: #929dab; --faint: #6f7b8a; --accent: #6f96cf; --accent-strong: #4d79b8; --good: #68c394; --danger: #df7d89; --amber: #d2b36a; --focus: rgba(111, 150, 207, 0.24); } * { box-sizing: border-box; } html { color-scheme: dark; } body { margin: 0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.45; text-rendering: optimizeLegibility; } button, input, select { font: inherit; } button, a, input, select { -webkit-tap-highlight-color: transparent; } button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .skip-link { position: fixed; left: 12px; top: 10px; z-index: 200; transform: translateY(-160%); padding: 8px 10px; background: var(--text); color: var(--bg); text-decoration: none; } .skip-link:focus { transform: translateY(0); } /* Runtime header --------------------------------------------------------- */ .topbar { position: fixed; inset: 0 0 auto 0; z-index: 80; height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(8, 12, 17, 0.98); border-bottom: 1px solid var(--line); transition: transform 150ms ease; } body.runtime-ready .topbar { transform: translateY(-52px); } body.runtime-ready .topbar:hover, body.runtime-ready .topbar:focus-within { transform: translateY(0); } .brand-wrap { min-width: 0; } .brand { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; } .runtime-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; } .runtime-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); } .runtime-pill.ready .dot { background: var(--good); } .runtime-pill.error .dot { background: var(--danger); } /* Page frame ------------------------------------------------------------- */ .shell { width: min(1500px, calc(100% - 44px)); margin: 0 auto; padding: 86px 0 46px; transition: padding-top 150ms ease; } body.runtime-ready .shell { padding-top: 28px; } .intro { padding: 13px 0 16px; max-width: 1040px; } .intro h1 { margin: 0 0 10px; color: #edf1f5; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 720; } .intro p { margin: 0; max-width: 980px; color: var(--muted); font-size: 15px; line-height: 1.65; } .intro-meta { margin-top: 10px !important; color: var(--faint) !important; font-size: 12.5px !important; letter-spacing: 0.005em; } .reference-note { margin: 2px 0 0; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); color: #aaa596; font-size: 12.5px; line-height: 1.55; } .reference-note strong { color: #c6bea9; } /* Navigation ------------------------------------------------------------- */ .tabs { display: flex; gap: 0; margin: 12px 0 18px; padding: 0; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; } .tab { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 12px 11px 10px; cursor: pointer; font-size: 13.5px; font-weight: 620; white-space: nowrap; } .tab:hover { color: var(--text-soft); } .tab.active { color: var(--text); border-bottom-color: var(--accent); } .tab-panel { display: none; } .tab-panel.active { display: block; } /* Layout ---------------------------------------------------------------- */ .workspace, .agent-layout, .research-grid { display: grid; grid-template-columns: 410px minmax(0, 1fr); gap: 16px; align-items: start; } .planner-grid { grid-template-columns: 370px minmax(0, 1fr); } .results-column, .agent-results, .research-results { min-width: 0; display: grid; gap: 14px; } .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; } .controls-panel, .agent-controls, .research-controls { padding: 20px; position: sticky; top: 14px; } .result-panel, .wide-panel, .research-panel { padding: 20px; } .panel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; } .panel-title-row h2 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.018em; font-weight: 700; } .panel-title-row p { margin: 5px 0 0; } /* Small labels: intentionally plain, not eyebrow/kicker styling. */ .section-kicker { margin: 0 0 9px; color: #a4afbc; font-size: 12.5px; line-height: 1.3; font-weight: 650; letter-spacing: 0; text-transform: none; } .panel-title-row .section-kicker { display: none; } .tag { display: inline-flex; align-items: center; color: var(--muted); padding: 2px 0; border: 0; background: transparent; font-size: 11.5px; white-space: nowrap; } .tag.good { color: var(--good); } .tag.bad { color: var(--danger); } /* Controls --------------------------------------------------------------- */ label { display: block; position: relative; color: #b9c2cd; font-size: 12.5px; font-weight: 620; } select, input[type="number"] { width: 100%; height: 40px; margin-top: 7px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface-inset); color: var(--text); padding: 0 10px; outline: none; font-size: 14px; } select:hover, input[type="number"]:hover { border-color: #374352; } select:focus, input[type="number"]:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--focus); } .unit { position: absolute; right: 9px; bottom: 12px; color: var(--faint); font-size: 10.5px; pointer-events: none; } .field-grid { display: grid; gap: 11px; margin-bottom: 11px; } .field-grid.two { grid-template-columns: 1fr 1fr; } .field-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .subcontrols { margin: 13px 0 5px; padding: 13px; border: 1px solid var(--line-soft); background: var(--surface-inset); } .subcontrols .section-kicker { margin-bottom: 10px; } hr { border: 0; border-top: 1px solid var(--line-soft); margin: 18px 0; } .hidden { display: none !important; } .field-disabled { opacity: 0.5; } input[type="file"] { width: 100%; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface-inset); color: var(--text-soft); font-size: 12.5px; } input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 1px solid #3b4858; border-radius: 2px; background: var(--surface-raised); color: var(--text-soft); cursor: pointer; } .trace-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--text-soft); font-size: 12.5px; } .control-help, .tiny-note { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; } button.primary, button.secondary { min-height: 41px; border-radius: 2px; font-size: 13.5px; font-weight: 680; cursor: pointer; transition: background-color 110ms ease, border-color 110ms ease, color 110ms ease; } button.primary { width: 100%; margin-top: 11px; border: 1px solid #6489c0; background: var(--accent-strong); color: #fff; } button.primary:hover:not(:disabled) { background: #5885c5; } button.secondary { border: 1px solid var(--line); background: transparent; color: var(--text-soft); } button.secondary:hover:not(:disabled), .mini-button:hover:not(:disabled), .chart-expand:hover, .chart-download:hover { border-color: #465466; background: var(--surface-raised); color: var(--text); } button:disabled { opacity: 0.4; cursor: not-allowed; } .compact { width: auto !important; min-width: 160px; padding: 0 16px; margin-top: 0 !important; } .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; } .action-stack, .stacked-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; gap: 8px; } .stacked-actions .compact { min-width: 166px; } .horizontal-actions { margin: 10px 0 14px; justify-content: flex-start; } .checkline { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; font-weight: 600; } .checkline input { accent-color: var(--accent); } /* Results ---------------------------------------------------------------- */ .empty-state { min-height: 330px; display: grid; place-content: center; padding: 28px; text-align: center; color: var(--muted); } .empty-state.small { min-height: 210px; } .empty-state h3 { margin: 0 0 6px; color: var(--text-soft); font-size: 16px; font-weight: 650; } .empty-state p { max-width: 620px; margin: 0; font-size: 13.5px; line-height: 1.6; } /* Metrics read as a strip, not a grid of product cards. */ .metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-bottom: 13px; border: 1px solid var(--line-soft); background: var(--surface-inset); } .metric-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .metric-grid.six-agent { grid-template-columns: repeat(6, minmax(0, 1fr)); } .metric-grid.eight-agent { grid-template-columns: repeat(4, minmax(0, 1fr)); } .metric { min-height: 84px; padding: 13px 14px; border: 0; border-right: 1px solid var(--line-soft); background: transparent; } .metric:last-child { border-right: 0; } .metric span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11.5px; } .metric strong { font-size: 20px; line-height: 1.2; letter-spacing: -0.025em; } .metric strong.metric-small { font-size: 14.5px; line-height: 1.35; } .diagnostic-card { margin-bottom: 13px; padding: 14px 15px; border: 1px solid var(--line); background: transparent; } .diagnostic-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; } .diagnostic-head span { color: var(--muted); font-size: 11.5px; } .diagnostic-head strong { font-size: 16px; } .diagnostic-card p { margin: 8px 0 0; color: var(--text-soft); font-size: 13.5px; line-height: 1.55; } .diagnostic-card .diagnostic-action { color: var(--muted); } .evidence-row { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; } .evidence-row span { padding: 0; border: 0; background: transparent; color: #8390a0; font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .study-summary { margin-bottom: 11px; padding: 9px 0 9px 12px; border-left: 2px solid #526f96; background: transparent; color: #b9c3cf; font-size: 13px; line-height: 1.6; } .study-summary strong { color: var(--text); } .warnings, .planner-note { margin-top: 10px; padding: 9px 0 9px 11px; border-left: 2px solid #756542; background: transparent; color: #bbb5a7; font-size: 12.5px; line-height: 1.55; } .planner-note { border-left-color: #496284; color: var(--muted); } .muted { color: var(--muted); font-size: 13.5px; line-height: 1.55; } /* Charts ----------------------------------------------------------------- */ .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .chart-card { position: relative; min-height: 300px; border: 1px solid var(--line); border-radius: 0; background: var(--surface-inset); } .chart-card.full { margin-top: 10px; } .chart-head { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 11px 7px 13px; border-bottom: 1px solid var(--line-soft); } .chart-title { color: var(--text-soft); font-size: 12.5px; font-weight: 650; } .chart-actions { display: flex; gap: 6px; } .chart-expand, .chart-download, .mini-button { height: 31px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11.5px; } .chart-body { height: 260px; padding: 11px 12px 12px; } .chart-body.large { height: 350px; } .research-chart { height: 310px; } .chart-card.chart-expanded { position: fixed; inset: 14px; z-index: 100; min-height: 0; margin: 0; border-color: #4a5665; background: #080d13; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.78); } .chart-card.chart-expanded .chart-body { height: calc(100vh - 78px); } body.chart-open { overflow: hidden; } canvas { width: 100% !important; height: 100% !important; max-height: none; } /* Tables ----------------------------------------------------------------- */ .table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: #a8b2bf; font-size: 12.5px; } .table-toolbar > div { display: flex; gap: 6px; } .table-wrap { overflow: auto; margin-top: 7px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13.5px; } th, td { padding: 10px 11px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; } th:first-child, td:first-child { text-align: left; } th { position: sticky; top: 0; z-index: 1; background: #090e14; color: #95a1af; font-size: 11.5px; font-weight: 650; text-transform: none; letter-spacing: 0; } td { color: #c8d0da; } tbody tr:last-child td { border-bottom: 0; } tbody tr:hover td { background: #0f161e; } .pass { color: var(--good); } .fail { color: var(--danger); } .best-label, .pareto-label { display: inline; margin-left: 7px; padding: 0; border: 0; color: #9db6d8; font-size: 11px; text-transform: none; } /* Methodology: editorial layout instead of cards-in-cards. */ .method-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; row-gap: 0; } .prose.panel { padding: 22px 0 24px; border: 0; border-top: 1px solid var(--line); background: transparent; } .prose h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.015em; } .prose p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; } .prose code { color: #a9bfdc; } .formula { margin-top: 14px; padding: 9px 11px; border-left: 2px solid #435a79; background: var(--surface-inset); color: #b7c3d2; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .wide-method { grid-column: 1 / -1; } .paper-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; margin-top: 18px; } .paper-grid > div { padding: 11px 0 13px; border: 0; border-top: 1px solid var(--line-soft); background: transparent; } .paper-grid strong { display: block; margin-bottom: 5px; font-size: 12.5px; } .paper-grid span { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.55; } /* Experiment sections ---------------------------------------------------- */ .experiment-subsection { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); } .predictive-controls { margin-top: 12px; } .research-secondary { width: 100%; margin-top: 10px; } .toast { position: fixed; right: 20px; bottom: 20px; z-index: 130; max-width: min(480px, calc(100vw - 40px)); padding: 10px 12px; border: 1px solid #465466; border-radius: 2px; background: #141c25; color: #d6dde5; font-size: 12.5px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 140ms ease, transform 140ms ease; } .toast.error { border-color: #70424a; color: #efb0b8; } .toast.show { opacity: 1; transform: translateY(0); } /* Responsive ------------------------------------------------------------- */ @media (max-width: 1250px) { .metric-grid.six-agent { grid-template-columns: repeat(3, 1fr); } .metric-grid.eight-agent { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 1100px) { .workspace, .planner-grid, .agent-layout, .research-grid { grid-template-columns: 1fr; } .controls-panel, .agent-controls, .research-controls { position: static; } .metric-grid { grid-template-columns: repeat(3, 1fr); } .paper-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 960px) { .field-grid.four { grid-template-columns: 1fr 1fr; } } @media (max-width: 720px) { .topbar { padding: 0 14px; } .runtime-pill { max-width: 180px; } .shell { width: calc(100% - 20px); padding-top: 80px; } body.runtime-ready .shell { padding-top: 20px; } .intro { padding-top: 8px; } .tabs { margin-top: 8px; } .field-grid.two, .field-grid.four, .chart-grid, .method-grid { grid-template-columns: 1fr; } .metric-grid, .metric-grid.four, .metric-grid.six-agent, .metric-grid.eight-agent { grid-template-columns: 1fr 1fr; } .metric { border-bottom: 1px solid var(--line-soft); } .paper-grid { grid-template-columns: 1fr; } .panel-title-row { flex-direction: column; } .arena-title-row .compact, .stacked-actions .compact { width: 100% !important; } .action-stack, .stacked-actions { width: 100%; align-items: stretch; } .wide-method { grid-column: auto; } .chart-card.chart-expanded { inset: 6px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }