:root { --bg: #090d12; --surface: #0d1219; --surface-2: #0a0f15; --surface-3: #111822; --line: #26313f; --line-soft: #1b2430; --text: #e4e9ef; --muted: #929dab; --faint: #697586; --accent: #6f9fe8; --accent-2: #9ab8df; --good: #6fd0a0; --danger: #ee7f8d; --amber: #d8b96e; } * { box-sizing: border-box; } html { color-scheme: dark; } body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; } .topbar { position: fixed; inset: 0 0 auto 0; z-index: 80; height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #090d12; border-bottom: 1px solid var(--line); transition: transform .18s ease; } body.runtime-ready .topbar { transform: translateY(-58px); } body.runtime-ready .topbar:hover, body.runtime-ready .topbar:focus-within { transform: translateY(0); } .brand-wrap { display: flex; align-items: center; min-width: 0; } .brand { font-size: 14px; font-weight: 760; letter-spacing: -.01em; } .subtitle { margin-top: 2px; color: var(--faint); font-size: 10px; } .runtime-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); border: 1px solid var(--line); background: var(--surface-2); border-radius: 4px; padding: 6px 9px; font-size: 10px; white-space: nowrap; } .runtime-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); } .runtime-pill.ready .dot { background: var(--good); } .runtime-pill.error .dot { background: var(--danger); } .shell { width: min(1460px, calc(100% - 40px)); margin: 0 auto; padding: 94px 0 44px; transition: padding-top .18s ease; } body.runtime-ready .shell { padding-top: 34px; } .intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 46px; align-items: end; padding: 16px 0 18px; } .eyebrow, .section-kicker { color: var(--accent-2); font-size: 9px; line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; font-weight: 760; } .intro h1 { max-width: 900px; margin: 8px 0 9px; color: #edf1f5; font-size: clamp(28px, 3vw, 43px); line-height: 1.06; letter-spacing: -.038em; font-weight: 720; } .intro p { max-width: 920px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; } .project-facts { margin: 0; border-top: 1px solid var(--line); } .project-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); } .project-facts dt { color: var(--faint); font-size: 10px; } .project-facts dd { margin: 0; color: #bdc7d2; font-size: 11px; } .reference-note { border-left: 2px solid #6c6041; background: #11120f; color: #bcb5a5; padding: 10px 12px; font-size: 11px; line-height: 1.55; } .tabs { display: flex; gap: 2px; padding: 22px 0 10px; overflow-x: auto; border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; } .tab { border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; padding: 9px 11px; cursor: pointer; font-weight: 650; white-space: nowrap; } .tab:hover { color: var(--text); } .tab.active { color: var(--text); border-bottom-color: var(--accent); } .tab-panel { display: none; } .tab-panel.active { display: block; } .workspace { display: grid; grid-template-columns: 405px minmax(0, 1fr); gap: 14px; align-items: start; } .planner-grid { grid-template-columns: 360px minmax(0, 1fr); } .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; } .controls-panel { padding: 18px; position: sticky; top: 16px; } .result-panel, .wide-panel { padding: 20px; } .panel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; } .panel-title-row h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; } .panel-title-row p { margin: 6px 0 0; } .tag { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 4px; padding: 5px 7px; font-size: 10px; white-space: nowrap; } .tag.good { color: var(--good); border-color: #315e4a; } .tag.bad { color: var(--danger); border-color: #643943; } label { display: block; color: #b5bfcb; font-size: 11px; font-weight: 650; position: relative; } select, input[type="number"] { width: 100%; margin-top: 7px; height: 37px; border: 1px solid var(--line); background: #0a0f15; color: var(--text); border-radius: 4px; padding: 0 9px; outline: none; } select:focus, input[type="number"]:focus { border-color: #5475a8; box-shadow: 0 0 0 2px rgba(84,117,168,.16); } .unit { position: absolute; right: 9px; bottom: 11px; color: #697687; font-size: 9px; pointer-events: none; } .field-grid { display: grid; gap: 10px; margin-bottom: 10px; } .field-grid.two { grid-template-columns: 1fr 1fr; } .subcontrols { margin: 12px 0 4px; padding: 12px; border: 1px solid var(--line-soft); background: #0a0f15; } .subcontrols .section-kicker { margin-bottom: 10px; } hr { border: 0; border-top: 1px solid var(--line-soft); margin: 17px 0; } .section-kicker { margin-bottom: 10px; } .hidden { display: none !important; } button.primary, button.secondary { height: 40px; border-radius: 4px; font-weight: 700; cursor: pointer; transition: .12s ease; } button.primary { width: 100%; border: 1px solid #668fd5; background: #4f7fce; color: white; margin-top: 11px; } button.primary:hover:not(:disabled) { background: #5b8bd8; } button.secondary { border: 1px solid var(--line); background: #0b1016; color: #c4ccd7; } button.secondary:hover:not(:disabled), .mini-button:hover:not(:disabled), .chart-expand:hover, .chart-download:hover { border-color: #536174; background: #151b24; color: #d9e0e8; } button:disabled { opacity: .42; cursor: not-allowed; } .compact { width: auto !important; min-width: 178px; padding: 0 17px; margin-top: 0 !important; } .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; } .action-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .checkline { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 600; } .checkline input { accent-color: var(--accent); } .empty-state { min-height: 380px; display: grid; place-content: center; text-align: center; color: var(--muted); padding: 30px; } .empty-state.small { min-height: 240px; } .empty-state h3 { color: #ccd4de; margin: 0 0 6px; font-size: 15px; } .empty-state p { max-width: 560px; margin: 0; line-height: 1.55; font-size: 12px; } .metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 12px; } .metric-grid.four { grid-template-columns: repeat(4, 1fr); } .metric { min-height: 82px; padding: 13px; border: 1px solid var(--line-soft); background: var(--surface-2); } .metric span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 9px; } .metric strong { font-size: 18px; letter-spacing: -.025em; } .metric strong.metric-small { font-size: 13px; line-height: 1.35; } .metric.emphasis { border-color: #486da4; background: #101824; } .diagnostic-card { margin-bottom: 12px; border: 1px solid var(--line); background: #0d131b; padding: 14px; } .diagnostic-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; } .diagnostic-head span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; } .diagnostic-head strong { font-size: 14px; } .diagnostic-card p { margin: 8px 0 0; color: #b8c1cd; font-size: 12px; line-height: 1.55; } .diagnostic-card .diagnostic-action { color: var(--muted); } .evidence-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .evidence-row span { border: 1px solid var(--line-soft); background: #090e14; padding: 4px 6px; color: #8390a0; font: 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .chart-card { border: 1px solid var(--line); background: var(--surface-2); min-height: 300px; position: relative; } .chart-card.full { margin-top: 10px; } .chart-head { height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; border-bottom: 1px solid var(--line-soft); } .chart-title { color: #c7d0db; font-size: 11px; font-weight: 700; } .chart-actions { display: flex; gap: 6px; } .chart-expand, .chart-download, .mini-button { border: 1px solid var(--line); background: #0a0f15; color: var(--muted); border-radius: 3px; cursor: pointer; height: 28px; padding: 0 9px; font-size: 10px; } .chart-body { height: 260px; padding: 10px 12px 12px; } .chart-body.large { height: 350px; } .chart-card.chart-expanded { position: fixed; inset: 16px; z-index: 100; background: #0a0f15; border-color: #4c596b; box-shadow: 0 0 0 9999px rgba(0,0,0,.76); min-height: 0; margin: 0; } .chart-card.chart-expanded .chart-body { height: calc(100vh - 80px); } body.chart-open { overflow: hidden; } canvas { width: 100% !important; height: 100% !important; max-height: none; } .warnings { margin-top: 10px; border-left: 3px solid #7b6840; padding: 9px 11px; background: #15140f; color: #c4bca9; font-size: 11px; line-height: 1.5; } .muted { color: var(--muted); font-size: 12px; line-height: 1.55; } .table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: #aab4c1; font-size: 11px; } .table-toolbar > div { display: flex; gap: 6px; } .table-wrap { overflow: auto; margin-top: 7px; border: 1px solid var(--line); } table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 900px; } 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 { color: #7f8b9b; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; background: #090e14; position: sticky; top: 0; } td { color: #c7d0db; } tbody tr:last-child td { border-bottom: 0; } tbody tr:hover td { background: #111821; } .pass { color: var(--good); } .fail { color: var(--danger); } .best-label, .pareto-label { display: inline-block; margin-left: 7px; border: 1px solid #4a6386; color: #9ab8df; padding: 2px 5px; border-radius: 2px; font-size: 9px; text-transform: uppercase; } .planner-note { color: var(--muted); border-left: 2px solid #445a77; padding: 7px 9px; margin-bottom: 2px; font-size: 11px; line-height: 1.5; } .method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .prose { padding: 22px; } .prose h2 { font-size: 20px; margin: 8px 0 11px; } .prose p { color: var(--muted); line-height: 1.7; font-size: 13px; } .prose code { color: #a8bfe4; } .formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #b7c3d2; padding: 10px; border: 1px solid var(--line); background: #0a0f15; font-size: 11px; } .wide-method { grid-column: 1 / -1; } .paper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; } .paper-grid > div { padding: 12px; border: 1px solid var(--line-soft); background: #0c1219; } .paper-grid strong { display: block; font-size: 11px; margin-bottom: 7px; } .paper-grid span { color: var(--muted); font-size: 10px; line-height: 1.55; display: block; } .toast { position: fixed; right: 20px; bottom: 20px; z-index: 130; background: #17202b; border: 1px solid #465467; color: #d5dce5; padding: 9px 12px; border-radius: 4px; font-size: 11px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .16s ease; } .toast.show { opacity: 1; transform: translateY(0); } @media (max-width: 1100px) { .intro { grid-template-columns: 1fr; gap: 24px; } .workspace, .planner-grid { grid-template-columns: 1fr; } .controls-panel { position: static; } .metric-grid { grid-template-columns: repeat(3, 1fr); } .paper-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 720px) { .topbar { padding: 0 15px; } .subtitle { display: none; } .runtime-pill { max-width: 170px; } .shell { width: calc(100% - 20px); padding-top: 88px; } body.runtime-ready .shell { padding-top: 20px; } .intro { padding-top: 10px; } .project-facts div { grid-template-columns: 100px 1fr; } .field-grid.two, .chart-grid, .method-grid { grid-template-columns: 1fr; } .metric-grid, .metric-grid.four { grid-template-columns: 1fr 1fr; } .paper-grid { grid-template-columns: 1fr; } .panel-title-row { flex-direction: column; } .arena-title-row .compact { width: 100% !important; } .action-stack { width: 100%; align-items: stretch; } .wide-method { grid-column: auto; } .chart-card.chart-expanded { inset: 6px; } }