Sonapse-LAB / synapse /web /style.css
Kai9987kai's picture
Sync Sonapse 0.3.0 Frontier Pack with Hugging Face LFS assets
a53bd89
Raw History Blame Contribute Delete
40.8 kB
:root { color-scheme: dark; --bg: #0a111c; --panel: #101d2b; --panel-hover: #152536; --line: #213449; --muted: #8b9daf; --text: #e6edf4; --teal: #5de0c1; --amber: #edbc75; --rose: #ec7c8d; --purple: #c084fc; --blue: #80aaff; } .contract-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0; } .contract-item { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; display: grid; } .contract-item small { color: var(--muted); } .contract-item.ready { border-color: #31735f; } .contract-item.ready span { color: var(--teal); } #plan-preview { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; } .plan-actions { max-width: 720px; } .plan-action { display: grid; grid-template-columns: 60px 1fr 145px; align-items: center; gap: 16px; margin: 10px 0; } .plan-action b { font-variant-numeric: tabular-nums; font-size: 12px; text-align: right; } .plan-meter { position: relative; height: 7px; background: linear-gradient(90deg, #384958 49.7%, var(--muted) 50%, #384958 50.3%); border-radius: 4px; } .plan-meter i { position: absolute; top: -3px; width: 4px; height: 13px; background: var(--teal); transform: translateX(-50%); border-radius: 2px; } .toolbar-select { display: inline; width: auto; padding: 4px 8px; margin: 0 4px; } .legend-reset { color: var(--text); } .teleop-label { font-size: 11px; color: var(--muted); } .spaced-grid { margin-top: 16px; } .thrust-tag { background: rgba(255,200,0,.15); color: #fc0; } .cognition-tag { background: rgba(0,255,180,.15); color: #00ffb4; } .vitals-container { padding: 14px; display: flex; flex-direction: column; gap: 10px; } .cognition-values { padding: 14px; } .plan-candidates { overflow-x: auto; margin: 18px 0; } .plan-candidates table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } .plan-candidates th, .plan-candidates td { text-align: right; border-bottom: 1px solid var(--line); padding: 7px 12px; white-space: nowrap; } .plan-candidates th:first-child, .plan-candidates td:first-child { text-align: left; } .planning-evidence { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 16px 0; background: rgba(16, 29, 43, .72); } .planning-evidence summary { cursor: pointer; color: var(--blue); font-weight: 600; } .planning-evidence .toolbar { align-items: end; } .planning-evidence .toolbar label { flex: 0 1 420px; max-width: 420px; } #planning-receipt-name { display: block; width: min(420px, 70vw); min-width: min(220px, 70vw); } .table-scroll { overflow-x: auto; margin: 12px 0; } .table-scroll table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } .table-scroll th, .table-scroll td { border-bottom: 1px solid var(--line); padding: 6px 9px; text-align: right; white-space: nowrap; } .table-scroll th:first-child, .table-scroll td:first-child { text-align: left; } .evidence-decision { border-left: 3px solid var(--amber); padding: 8px 12px; background: rgba(237, 188, 117, .08); font-weight: 600; } .evidence-status { border-left: 3px solid var(--line); padding: 7px 11px; font-weight: 600; } .evidence-status.good { border-color: var(--teal); color: var(--teal); } .evidence-status.bad { border-color: var(--rose); color: var(--rose); } .forecast-boundary { border-left: 3px solid var(--purple); padding: 6px 12px; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif; overflow-x: hidden; } aside { position: fixed; inset: 0 auto 0 0; width: 238px; background: #0c1723; border-right: 1px solid var(--line); padding: 34px 24px; z-index: 100; } .brand { font-size: 28px; font-weight: 700; letter-spacing: 3px; text-decoration: none; color: var(--text); display: block; } .brand span { color: var(--teal); } .caption, .eyebrow { font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; } nav { margin-top: 45px; } button, input, select, textarea { font: inherit; } button { background: #182a3c; border: 1px solid #2c4259; border-radius: 6px; color: var(--text); padding: 8px 14px; cursor: pointer; transition: all 0.15s ease-in-out; } button:hover { border-color: var(--teal); background: #1b3544; } button:active { transform: translateY(1px); } button:disabled { opacity: 0.5; cursor: wait; } nav button { width: 100%; text-align: left; border: 0; background: none; color: #71869b; padding: 13px 8px; margin: 4px 0; font-size: 11px; border-radius: 6px; } nav button span { margin-left: 10px; font-size: 13px; } nav button:hover { background: rgba(93, 224, 193, 0.05); color: var(--text); } nav button.active { color: var(--teal); background: rgba(93, 224, 193, 0.1); font-weight: 600; } .sidebar-note { position: absolute; bottom: 30px; font: 11px/1.8 Consolas, monospace; color: var(--teal); } .sidebar-note small { color: var(--muted); font: 11px/1.7 "Segoe UI", sans-serif; display: block; margin-top: 4px; } .sidebar-note i { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; margin-right: 6px; box-shadow: 0 0 8px var(--teal); } main { margin-left: 238px; padding: 34px 40px; max-width: 1800px; min-height: 100vh; } header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; } h1 { font-size: 28px; font-weight: 500; letter-spacing: -0.8px; margin: 6px 0; } h2 { font-size: 14px; font-weight: 600; margin: 0 0 14px; color: var(--text); } h3 { font-size: 14px; } #connection { color: var(--teal); font: 11px Consolas, monospace; } .toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; } .primary { background: var(--teal); border-color: var(--teal); color: #09251f; font-weight: 600; } .primary:hover { background: #a0f5df; border-color: #a0f5df; } .muted { color: var(--muted); font-size: 12px; } .tab { display: none; } .tab.active { display: block; } .metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; } .metric { padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(125deg, #142435, #101a27); box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .metric small { color: var(--muted); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; } .metric strong { display: block; font: 26px/1.4 "Segoe UI", sans-serif; color: #ffffff; margin-top: 4px; } .visual-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; } article { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 20px; margin-bottom: 20px; min-width: 0; box-shadow: 0 2px 10px rgba(0,0,0,0.15); } .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; } .panel-head h2 { margin: 0; } .tag { color: var(--teal); font: 10px Consolas, monospace; letter-spacing: 1px; } .legend { display: flex; gap: 20px; justify-content: center; align-items: center; color: var(--muted); font: 11px Consolas, monospace; margin-top: 10px; flex-wrap: wrap; } .legend span { cursor: pointer; padding: 2px 6px; border-radius: 4px; transition: opacity 0.15s, background 0.15s; } .legend span:hover { background: rgba(255,255,255,0.05); } .legend span:nth-child(1) { color: var(--teal); } .legend span:nth-child(2) { color: var(--amber); } .legend span:nth-child(3) { color: var(--purple); } /* Pixel-perfect, zero-warping canvas specifications */ .canvas-wrap { position: relative; width: 100%; display: block; border-radius: 6px; overflow: hidden; } canvas { width: 100% !important; display: block; background: #08111a; border-radius: 6px; border: 1px solid #1c2c3d; box-sizing: border-box; image-rendering: -webkit-optimize-contrast; touch-action: none; cursor: default; } #graph, #world { height: 350px !important; } #signals, #gauges, #predictive { height: 185px !important; } #dendritic-canvas, #oscillatory-canvas, #criticality-canvas, #vsa-canvas, #causal-entropy-canvas, #neurowave-canvas { height: 150px !important; margin-bottom: 8px; background: rgba(6, 14, 22, 0.85); border: 1px solid #1a2c3e; } /* View toggle pills */ .view-toggle { display: inline-flex; gap: 3px; background: #0b1723; padding: 3px; border-radius: 6px; border: 1px solid var(--line); } .view-toggle button { background: transparent; border: none; color: var(--muted); font-size: 10px; padding: 4px 10px; border-radius: 4px; cursor: pointer; line-height: 1.2; } .view-toggle button:hover { color: var(--text); background: rgba(255,255,255,0.04); } .view-toggle button.active { background: var(--teal); color: #09251f; font-weight: 700; } /* Canvas tooltip */ .canvas-tooltip { position: absolute; pointer-events: none; background: rgba(10, 20, 32, 0.96); border: 1px solid var(--teal); box-shadow: 0 4px 16px rgba(0,0,0,0.6); color: var(--text); padding: 6px 10px; font: 11px/1.4 Consolas, monospace; border-radius: 5px; display: none; z-index: 100; white-space: nowrap; } /* Teleoperation control bar */ .teleop-bar { display: flex; gap: 8px; align-items: center; background: #0c1724; padding: 8px 14px; border-radius: 6px; border: 1px solid #1b2c3e; margin-top: 10px; flex-wrap: wrap; } .teleop-bar button { padding: 5px 12px; font-size: 11px; } .teleop-kbd { font-size: 11px; color: var(--muted); font-family: Consolas, monospace; margin-left: auto; } .keyvalues { max-height: 185px; overflow-y: auto; padding-right: 6px; } .kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); font: 11px Consolas, monospace; } .kv span { color: var(--muted); } .kv b { color: #c9d8e7; } form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; } label { display: block; font-size: 11px; color: var(--muted); } input, select, textarea { display: block; background: #0b1622; color: var(--text); border: 1px solid #2c4259; border-radius: 5px; padding: 8px 10px; margin: 6px 0 10px; max-width: 100%; } input[type=checkbox] { display: inline; margin: 0 6px 0 0; vertical-align: middle; } form input { width: 110px; } form button { margin-bottom: 10px; } textarea { width: 100%; min-height: 140px; font: 11px/1.6 Consolas, monospace; resize: vertical; } textarea.tall { min-height: 320px; } pre { background: #0a1520; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; font: 11px/1.6 Consolas, monospace; color: #a9c4d9; border-radius: 5px; border: 1px solid #162637; } details { margin: 16px 0; color: var(--muted); font-size: 12px; } details summary { cursor: pointer; color: var(--teal); padding: 6px 0; } .explorer { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 25px; } #search { width: 100%; } .cap-item { display: block; width: 100%; text-align: left; margin: 6px 0; font-size: 12px; background: #0f1d2c; border-color: #1f3448; } .cap-item:hover { background: #14283b; border-color: var(--teal); } .cap-item small { display: block; color: var(--muted); font-size: 10px; } #catalog { max-height: 680px; overflow-y: auto; padding-right: 6px; } .job { border-bottom: 1px solid var(--line); padding: 12px 0; } .job b { color: var(--teal); } .job button { float: right; font-size: 10px; padding: 4px 8px; } .lineage { display: flex; gap: 12px; flex-wrap: wrap; } .lineage-node { border: 1px solid #375c62; padding: 12px; border-radius: 6px; font: 11px Consolas, monospace; background: #0e1e28; } .lineage-node span { display: block; color: var(--amber); margin-top: 4px; } #error { padding: 14px 18px; margin-bottom: 18px; border: 1px solid #8d483f; background: #351e24; color: #ffc2ab; border-radius: 6px; font-size: 13px; } footer { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; color: var(--teal); font: 11px Consolas, monospace; display: flex; justify-content: space-between; } footer span { color: var(--muted); } #checkpointlist button { margin: 4px; } @media (max-width: 1100px) { aside { width: 185px; padding: 25px 16px; } .brand { font-size: 22px; } main { margin-left: 185px; padding: 25px; } .visual-grid { grid-template-columns: 1fr; } .metrics { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 700px) { aside { position: static; width: auto; padding: 15px; } nav { margin: 10px 0; display: flex; overflow-x: auto; } nav button { white-space: nowrap; padding: 8px 12px; } .sidebar-note, .caption { display: none; } main { margin: 0; padding: 15px; } .explorer { grid-template-columns: 1fr; } header { align-items: flex-start; flex-direction: column; gap: 10px; } footer { flex-direction: column; gap: 8px; } } /* Homeostatic Vitals HUD */ .vital-row { display: flex; flex-direction: column; gap: 4px; } .vital-label { display: flex; justify-content: space-between; font-size: 11px; font-family: Consolas, monospace; color: var(--muted); } .vital-label span:last-child { font-weight: 600; color: var(--text); } .vital-track { width: 100%; height: 8px; background: #0d1822; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); } .vital-fill { height: 100%; border-radius: 4px; transition: width 0.15s ease-out; } /* Executing training state and its evidence receipt. */ .training-panel { border-color: #325b60; background: linear-gradient(115deg, #122933, #101d2b 58%); } .training-panel p { margin: 8px 0 14px; } .training-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 24px; } .training-controls { gap: 12px; align-items: flex-end; margin-bottom: 8px; } .training-controls select { margin-bottom: 0; } .training-controls button { align-self: flex-end; } .toggle-label { align-self: center; white-space: nowrap; } .status-pill { border: 1px solid #3b5666; border-radius: 18px; padding: 5px 10px; font: 10px Consolas, monospace; white-space: nowrap; } .training-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px 20px; } .training-metrics .kv { flex-direction: column; gap: 4px; padding-bottom: 9px; } .training-metrics .kv b { color: #d8eee9; font-size: 13px; } .training-evidence { border-left: 1px solid #2d454f; padding-left: 24px; } .training-evidence h3 { margin: 0; font-size: 12px; } .training-evidence button { padding: 4px 8px; font-size: 10px; } .training-evidence pre { max-height: 220px; } .training-evidence progress { width: 100%; height: 7px; } progress { accent-color: var(--teal); } .source-evidence { margin-bottom: 0; } .source-inventory { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; } .source-record { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #0c1925; } .source-record b { color: #c4e4dc; font-size: 12px; } .source-record span, .source-record small { color: var(--muted); font-size: 11px; line-height: 1.5; } .omnibus-button { background: #2d1b4e; border-color: #9d4edd; color: #e0aaff; font-weight: 600; } .omnibus-tag { background: #2d1b4e; color: #c77dff; } .screen-button { border-color: #ad8550; color: #f1ca92; } .tone-good { color: #5de0c1; } .tone-warn { color: #edbc75; } .tone-bad { color: #ec7c8d; } .tone-muted { color: #8b9daf; } .tone-ponder { color: #ff91dc; background: #472443; } .tone-purple { color: #c77dff; } /* Controls stay outside canvas geometry; all positions use the CSS content box. */ .graph-controls { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 6px 0 14px; } .graph-controls label { font-size: 10px; } .graph-controls select { font-size: 11px; padding: 5px 7px; margin: 3px 0 0; } .graph-controls button { font-size: 10px; padding: 5px 8px; } .graph-controls .toggle-label { padding-top: 12px; } .source-legend { justify-content: flex-start; gap: 6px 12px; } .source-legend button { background: transparent; border: 0; padding: 2px 0; font: 10px Consolas, monospace; } .source-color-0 { color: #5de0c1; } .source-color-1 { color: #edbc75; } .source-color-2 { color: #c084fc; } .source-color-3 { color: #80aaff; } .source-color-4 { color: #ec7c8d; } .source-color-5 { color: #85d38e; } .source-color-6 { color: #f2a6cf; } .source-color-7 { color: #62cee3; } .canvas-caption { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 10px 0 0; } .node-inspector { min-height: 40px; padding: 9px 10px; background: #0c1824; border-radius: 5px; color: #a9c4d9; font: 10px/1.6 Consolas, monospace; margin-bottom: 0; } .canvas-tooltip { top: 34px; left: 10px; max-width: calc(100% - 20px); white-space: normal; } .canvas-tooltip.visible { display: block; } .world-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 10px; } .world-controls button { font-size: 10px; padding: 4px 8px; margin-left: auto; } .world-legend { display: flex; gap: 7px 14px; flex-wrap: wrap; margin-top: 12px; } .world-key { font: 10px Consolas, monospace; color: #aabacc; } .world-key::before { content: '●'; margin-right: 5px; } .key-agent::before, .key-trail::before { color: #5de0c1; } .key-target::before, .key-goal::before { color: #80aaff; } .key-food::before { color: #edbc75; } .key-hazard::before { color: #ec7c8d; } .key-button::before, .key-sentinel::before { color: #ffaa00; } .key-tripwire::before { color: #ff00aa; } .key-gate::before { color: #c084fc; } .key-terrain::before, .key-object::before { color: #a6bfd3; } .plan-meter { height: 10px; background: transparent; } .plan-meter meter { width: 100%; height: 14px; } .vital-track { appearance: none; width: 100%; height: 8px; } .vital-track::-webkit-progress-bar { background: #0d1822; border-radius: 4px; } .vital-track::-webkit-progress-value { background: #5de0c1; border-radius: 4px; transition: width .15s ease-out; } .vital-stamina::-webkit-progress-value { background: #edbc75; } .vital-health::-webkit-progress-value { background: #4ae582; } .vital-threat::-webkit-progress-value { background: #ec7c8d; } .vital-hunger::-webkit-progress-value { background: #bc85e6; } .vital-track::-moz-progress-bar { background: #5de0c1; border-radius: 4px; } .vital-stamina::-moz-progress-bar { background: #edbc75; } .vital-health::-moz-progress-bar { background: #4ae582; } .vital-threat::-moz-progress-bar { background: #ec7c8d; } .vital-hunger::-moz-progress-bar { background: #bc85e6; } [hidden] { display: none !important; } button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; } @media (max-width: 1250px) { .training-layout { grid-template-columns: 1fr; gap: 18px; } .training-evidence { border-left: 0; border-top: 1px solid #2d454f; padding: 16px 0 0; } } @media (max-width: 700px) { .panel-head { align-items: flex-start; flex-wrap: wrap; gap: 10px; } .training-controls { align-items: center; } .training-controls .toggle-label { white-space: normal; } .graph-controls { gap: 8px; } .graph-controls .toggle-label { padding: 0; } .status-pill { font-size: 9px; } } /* Tandem Max Mode (Sections 01–05) & Restored Controls */ .header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .tandem-max-button { background: linear-gradient(135deg, #0d3b38 0%, #2d1b4e 100%); border: 1px solid #5de0c1; color: #5de0c1; font-weight: 700; padding: 8px 14px; border-radius: 6px; box-shadow: 0 0 14px rgba(93, 224, 193, 0.22); cursor: pointer; } .tandem-max-button:hover { background: linear-gradient(135deg, #13534e 0%, #3d2469 100%); border-color: #e0aaff; color: #ffffff; } .tandem-banner { border-color: #5de0c1; background: linear-gradient(120deg, rgba(18, 41, 51, 0.96), rgba(35, 22, 58, 0.92)); margin-bottom: 18px; } .tandem-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; } #filter-reset { background: rgba(93, 224, 193, 0.12); border: 1px solid rgba(93, 224, 193, 0.38); border-radius: 4px; padding: 2px 7px; color: #5de0c1; cursor: pointer; } /* NEUROWEAVE Lab (additive) */ .nwl-subnav { display: flex; flex-wrap: wrap; gap: 8px; } .nwl-subnav button { padding: 6px 12px; font-size: 12px; } .nwl-subnav button.active { border-color: var(--teal); color: var(--teal); background: #1b3544; } .nwl-panel { display: none; } .nwl-panel.active { display: block; } .nwl-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; } .nwl-inline input { width: 80px; margin: 0; } .nwl-bars { display: grid; gap: 6px; } .nwl-bar { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 70px; align-items: center; gap: 10px; font-size: 12px; } .nwl-bar span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nwl-bar b { font: 11px Consolas, monospace; text-align: right; color: var(--text); font-weight: 400; } .nwl-track { position: relative; height: 8px; background: #1a2b3c; border-radius: 4px; overflow: hidden; } .nwl-track i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--teal); border-radius: 4px; } .nwl-track i.neg { background: var(--rose); } .nwl-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 18px; font-size: 12px; } .nwl-kv div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 3px 0; } .nwl-kv span { color: var(--muted); } .nwl-kv b { font: 11px Consolas, monospace; font-weight: 400; } .nwl-mechs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; margin: 10px 0; font-size: 12px; } .nwl-mechs label { color: var(--text); } .nwl-mechs small { color: var(--muted); } .nwl-hidden { display: none; } #nwl-conn-canvas { height: 300px !important; } #nwl-eco-canvas { height: 330px !important; } #nwl-channels select { margin: 0; padding: 3px 6px; } .verdict-improved { color: var(--teal); } .verdict-worse { color: var(--rose); } .verdict-no_detectable_difference { color: var(--muted); } @media (max-width: 700px) { .nwl-bar { grid-template-columns: 100px 1fr 56px; } } /* --------------------------------------------------------------------------- Accessibility helpers and theme layer (additive). Dark stays the default: the theme rules below apply only when <html> carries data-theme="light", or data-theme="system" while the OS prefers a light scheme (app.js sets the attribute from the sidebar selector). Each override is wrapped in :where() so it keeps the specificity of the rule it mirrors. Canvases and the chat console stay dark because their drawing code and inline colours assume a dark background. Light text colours meet WCAG 2.x contrast >= 4.5:1 on every light surface defined here (tests/test_compat_manifest_tool.py). --------------------------------------------------------------------------- */ .visually-hidden:where(:not(:focus, :focus-within, :active)) { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; } .skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 8px 14px; border: 2px solid var(--teal); border-radius: 6px; background: var(--panel); color: var(--text); font-weight: 600; text-decoration: none; } :where(a:any-link, summary, [tabindex="-1"]):focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; } .theme-control { margin-top: 18px; } .theme-select { width: 100%; margin: 4px 0 0; padding: 6px 8px; font-size: 12px; } @media (max-width: 700px) { .theme-control { margin-top: 4px; } } /* Light theme: explicit choice. */ :root[data-theme="light"] { color-scheme: light; --bg: #f4f7fb; --panel: #ffffff; --panel-hover: #eaf0f7; --line: #c4d2e1; --muted: #43576b; --text: #102030; --teal: #0b6e5b; --amber: #8a4f00; --rose: #a61e34; --purple: #6b21a8; --blue: #1d4ed8; } :where(:root[data-theme="light"]) .thrust-tag { background: rgba(138, 79, 0, 0.12); color: #6f3f00; } :where(:root[data-theme="light"]) .cognition-tag { background: rgba(11, 110, 91, 0.12); color: #0a5c4c; } :where(:root[data-theme="light"]) .planning-evidence { background: #edf3fa; } :where(:root[data-theme="light"]) .evidence-decision { background: rgba(138, 79, 0, 0.06); } :where(:root[data-theme="light"]) aside { background: #eef3f9; } :where(:root[data-theme="light"]) button { background: #e8eff7; border-color: #8fa3b8; } :where(:root[data-theme="light"]) button:hover { background: #dbe6f3; } :where(:root[data-theme="light"]) nav button { color: var(--muted); } :where(:root[data-theme="light"]) nav button:hover { background: rgba(11, 110, 91, 0.06); } :where(:root[data-theme="light"]) nav button.active { background: rgba(11, 110, 91, 0.1); } :where(:root[data-theme="light"]) .primary { color: #ffffff; } :where(:root[data-theme="light"]) .primary:hover { background: #08584a; border-color: #08584a; } :where(:root[data-theme="light"]) .metric { background: linear-gradient(125deg, #ffffff, #eef3f9); box-shadow: 0 2px 8px rgba(16, 32, 48, 0.08); } :where(:root[data-theme="light"]) .metric strong { color: var(--text); } :where(:root[data-theme="light"]) article { box-shadow: 0 2px 10px rgba(16, 32, 48, 0.06); } :where(:root[data-theme="light"]) .legend span:hover { background: rgba(16, 32, 48, 0.05); } :where(:root[data-theme="light"]) #dendritic-canvas, :where(:root[data-theme="light"]) #oscillatory-canvas, :where(:root[data-theme="light"]) #criticality-canvas, :where(:root[data-theme="light"]) #vsa-canvas, :where(:root[data-theme="light"]) #causal-entropy-canvas, :where(:root[data-theme="light"]) #neurowave-canvas { background: #081019; } :where(:root[data-theme="light"]) .view-toggle { background: #e3ebf4; } :where(:root[data-theme="light"]) .view-toggle button:hover { background: rgba(16, 32, 48, 0.06); } :where(:root[data-theme="light"]) .view-toggle button.active { color: #ffffff; } :where(:root[data-theme="light"]) .canvas-tooltip { color: #e6edf4; border-color: #5de0c1; } :where(:root[data-theme="light"]) .teleop-bar { background: #eef3f9; border-color: var(--line); } :where(:root[data-theme="light"]) .kv b { color: var(--text); } :where(:root[data-theme="light"]) input, :where(:root[data-theme="light"]) select, :where(:root[data-theme="light"]) textarea { background: #edf3fa; border-color: #8fa3b8; } :where(:root[data-theme="light"]) ::placeholder { color: var(--muted); opacity: 1; } :where(:root[data-theme="light"]) pre { background: #edf3fa; color: #1c3247; border-color: var(--line); } :where(:root[data-theme="light"]) .cap-item { background: #f4f7fb; border-color: var(--line); } :where(:root[data-theme="light"]) .cap-item:hover { background: #eaf0f7; } :where(:root[data-theme="light"]) .lineage-node { background: #eef6f4; border-color: #8fc3b8; } :where(:root[data-theme="light"]) #error { background: #fdecef; border-color: #e3a3ad; color: #8f1d2c; } :where(:root[data-theme="light"]) .vital-track { background: #dbe4ee; border-color: rgba(16, 32, 48, 0.12); } :where(:root[data-theme="light"]) .vital-track::-webkit-progress-bar { background: #dbe4ee; } :where(:root[data-theme="light"]) .vital-track::-webkit-progress-value { background: #0b6e5b; } :where(:root[data-theme="light"]) .vital-stamina::-webkit-progress-value { background: #8a4f00; } :where(:root[data-theme="light"]) .vital-health::-webkit-progress-value { background: #1e7a3c; } :where(:root[data-theme="light"]) .vital-threat::-webkit-progress-value { background: #a61e34; } :where(:root[data-theme="light"]) .vital-hunger::-webkit-progress-value { background: #6b21a8; } :where(:root[data-theme="light"]) .vital-track::-moz-progress-bar { background: #0b6e5b; } :where(:root[data-theme="light"]) .vital-stamina::-moz-progress-bar { background: #8a4f00; } :where(:root[data-theme="light"]) .vital-health::-moz-progress-bar { background: #1e7a3c; } :where(:root[data-theme="light"]) .vital-threat::-moz-progress-bar { background: #a61e34; } :where(:root[data-theme="light"]) .vital-hunger::-moz-progress-bar { background: #6b21a8; } :where(:root[data-theme="light"]) .training-panel { border-color: #8fc3b8; background: linear-gradient(115deg, #e6f4f1, #ffffff 58%); } :where(:root[data-theme="light"]) .training-metrics .kv b { color: var(--text); } :where(:root[data-theme="light"]) .status-pill { border-color: #8fa3b8; } :where(:root[data-theme="light"]) .training-evidence { border-color: var(--line); } :where(:root[data-theme="light"]) .source-record { background: #edf3fa; } :where(:root[data-theme="light"]) .source-record b { color: #0a5c4c; } :where(:root[data-theme="light"]) .omnibus-button { background: #f3eafc; color: #5b1a8e; } :where(:root[data-theme="light"]) .omnibus-tag { background: #f3eafc; color: #5b1a8e; } :where(:root[data-theme="light"]) .screen-button { color: #6f3f00; } :where(:root[data-theme="light"]) .tone-good { color: #0b6e5b; } :where(:root[data-theme="light"]) .tone-warn { color: #8a4f00; } :where(:root[data-theme="light"]) .tone-bad { color: #a61e34; } :where(:root[data-theme="light"]) .tone-muted { color: #43576b; } :where(:root[data-theme="light"]) .tone-ponder { color: #8c1f6e; background: #fbe7f5; } :where(:root[data-theme="light"]) .tone-purple { color: #6b21a8; } :where(:root[data-theme="light"]) .source-color-0 { color: #0b6e5b; } :where(:root[data-theme="light"]) .source-color-1 { color: #8a4f00; } :where(:root[data-theme="light"]) .source-color-2 { color: #6b21a8; } :where(:root[data-theme="light"]) .source-color-3 { color: #1d4ed8; } :where(:root[data-theme="light"]) .source-color-4 { color: #a61e34; } :where(:root[data-theme="light"]) .source-color-5 { color: #2f6b1f; } :where(:root[data-theme="light"]) .source-color-6 { color: #9d2a6b; } :where(:root[data-theme="light"]) .source-color-7 { color: #0e6577; } :where(:root[data-theme="light"]) .node-inspector { background: #edf3fa; color: #1c3247; } :where(:root[data-theme="light"]) .world-key { color: #43576b; } :where(:root[data-theme="light"]) .key-agent::before, :where(:root[data-theme="light"]) .key-trail::before { color: #0b6e5b; } :where(:root[data-theme="light"]) .key-target::before, :where(:root[data-theme="light"]) .key-goal::before { color: #1d4ed8; } :where(:root[data-theme="light"]) .key-food::before { color: #8a4f00; } :where(:root[data-theme="light"]) .key-hazard::before { color: #a61e34; } :where(:root[data-theme="light"]) .key-button::before, :where(:root[data-theme="light"]) .key-sentinel::before { color: #7a5c00; } :where(:root[data-theme="light"]) .key-tripwire::before { color: #a3166e; } :where(:root[data-theme="light"]) .key-gate::before { color: #6b21a8; } :where(:root[data-theme="light"]) .key-terrain::before, :where(:root[data-theme="light"]) .key-object::before { color: #4a6074; } :where(:root[data-theme="light"]) .tandem-banner { border-color: var(--teal); background: linear-gradient(120deg, #e8f5f1, #f1ebf9); } :where(:root[data-theme="light"]) #filter-reset { background: rgba(11, 110, 91, 0.1); border-color: rgba(11, 110, 91, 0.45); color: #0a5c4c; } :where(:root[data-theme="light"]) .nwl-subnav button.active { background: #dbe6f3; } :where(:root[data-theme="light"]) .nwl-track { background: #d6e2ef; } :where(:root[data-theme="light"]) #chat-stream { background: #0d1722 !important; color: #e6edf4; --text: #e6edf4; --muted: #8b9daf; } :where(:root[data-theme="light"]) #chat-input { background: #0b141e !important; } :where(:root[data-theme="light"]) #chat-input::placeholder { color: #8b9daf; } /* System theme: follows the OS only while "System" is selected. */ :root[data-theme="system"] { color-scheme: light dark; } @media (prefers-color-scheme: light) { :root[data-theme="system"] { color-scheme: light; --bg: #f4f7fb; --panel: #ffffff; --panel-hover: #eaf0f7; --line: #c4d2e1; --muted: #43576b; --text: #102030; --teal: #0b6e5b; --amber: #8a4f00; --rose: #a61e34; --purple: #6b21a8; --blue: #1d4ed8; } :where(:root[data-theme="system"]) .thrust-tag { background: rgba(138, 79, 0, 0.12); color: #6f3f00; } :where(:root[data-theme="system"]) .cognition-tag { background: rgba(11, 110, 91, 0.12); color: #0a5c4c; } :where(:root[data-theme="system"]) .planning-evidence { background: #edf3fa; } :where(:root[data-theme="system"]) .evidence-decision { background: rgba(138, 79, 0, 0.06); } :where(:root[data-theme="system"]) aside { background: #eef3f9; } :where(:root[data-theme="system"]) button { background: #e8eff7; border-color: #8fa3b8; } :where(:root[data-theme="system"]) button:hover { background: #dbe6f3; } :where(:root[data-theme="system"]) nav button { color: var(--muted); } :where(:root[data-theme="system"]) nav button:hover { background: rgba(11, 110, 91, 0.06); } :where(:root[data-theme="system"]) nav button.active { background: rgba(11, 110, 91, 0.1); } :where(:root[data-theme="system"]) .primary { color: #ffffff; } :where(:root[data-theme="system"]) .primary:hover { background: #08584a; border-color: #08584a; } :where(:root[data-theme="system"]) .metric { background: linear-gradient(125deg, #ffffff, #eef3f9); box-shadow: 0 2px 8px rgba(16, 32, 48, 0.08); } :where(:root[data-theme="system"]) .metric strong { color: var(--text); } :where(:root[data-theme="system"]) article { box-shadow: 0 2px 10px rgba(16, 32, 48, 0.06); } :where(:root[data-theme="system"]) .legend span:hover { background: rgba(16, 32, 48, 0.05); } :where(:root[data-theme="system"]) #dendritic-canvas, :where(:root[data-theme="system"]) #oscillatory-canvas, :where(:root[data-theme="system"]) #criticality-canvas, :where(:root[data-theme="system"]) #vsa-canvas, :where(:root[data-theme="system"]) #causal-entropy-canvas, :where(:root[data-theme="system"]) #neurowave-canvas { background: #081019; } :where(:root[data-theme="system"]) .view-toggle { background: #e3ebf4; } :where(:root[data-theme="system"]) .view-toggle button:hover { background: rgba(16, 32, 48, 0.06); } :where(:root[data-theme="system"]) .view-toggle button.active { color: #ffffff; } :where(:root[data-theme="system"]) .canvas-tooltip { color: #e6edf4; border-color: #5de0c1; } :where(:root[data-theme="system"]) .teleop-bar { background: #eef3f9; border-color: var(--line); } :where(:root[data-theme="system"]) .kv b { color: var(--text); } :where(:root[data-theme="system"]) input, :where(:root[data-theme="system"]) select, :where(:root[data-theme="system"]) textarea { background: #edf3fa; border-color: #8fa3b8; } :where(:root[data-theme="system"]) ::placeholder { color: var(--muted); opacity: 1; } :where(:root[data-theme="system"]) pre { background: #edf3fa; color: #1c3247; border-color: var(--line); } :where(:root[data-theme="system"]) .cap-item { background: #f4f7fb; border-color: var(--line); } :where(:root[data-theme="system"]) .cap-item:hover { background: #eaf0f7; } :where(:root[data-theme="system"]) .lineage-node { background: #eef6f4; border-color: #8fc3b8; } :where(:root[data-theme="system"]) #error { background: #fdecef; border-color: #e3a3ad; color: #8f1d2c; } :where(:root[data-theme="system"]) .vital-track { background: #dbe4ee; border-color: rgba(16, 32, 48, 0.12); } :where(:root[data-theme="system"]) .vital-track::-webkit-progress-bar { background: #dbe4ee; } :where(:root[data-theme="system"]) .vital-track::-webkit-progress-value { background: #0b6e5b; } :where(:root[data-theme="system"]) .vital-stamina::-webkit-progress-value { background: #8a4f00; } :where(:root[data-theme="system"]) .vital-health::-webkit-progress-value { background: #1e7a3c; } :where(:root[data-theme="system"]) .vital-threat::-webkit-progress-value { background: #a61e34; } :where(:root[data-theme="system"]) .vital-hunger::-webkit-progress-value { background: #6b21a8; } :where(:root[data-theme="system"]) .vital-track::-moz-progress-bar { background: #0b6e5b; } :where(:root[data-theme="system"]) .vital-stamina::-moz-progress-bar { background: #8a4f00; } :where(:root[data-theme="system"]) .vital-health::-moz-progress-bar { background: #1e7a3c; } :where(:root[data-theme="system"]) .vital-threat::-moz-progress-bar { background: #a61e34; } :where(:root[data-theme="system"]) .vital-hunger::-moz-progress-bar { background: #6b21a8; } :where(:root[data-theme="system"]) .training-panel { border-color: #8fc3b8; background: linear-gradient(115deg, #e6f4f1, #ffffff 58%); } :where(:root[data-theme="system"]) .training-metrics .kv b { color: var(--text); } :where(:root[data-theme="system"]) .status-pill { border-color: #8fa3b8; } :where(:root[data-theme="system"]) .training-evidence { border-color: var(--line); } :where(:root[data-theme="system"]) .source-record { background: #edf3fa; } :where(:root[data-theme="system"]) .source-record b { color: #0a5c4c; } :where(:root[data-theme="system"]) .omnibus-button { background: #f3eafc; color: #5b1a8e; } :where(:root[data-theme="system"]) .omnibus-tag { background: #f3eafc; color: #5b1a8e; } :where(:root[data-theme="system"]) .screen-button { color: #6f3f00; } :where(:root[data-theme="system"]) .tone-good { color: #0b6e5b; } :where(:root[data-theme="system"]) .tone-warn { color: #8a4f00; } :where(:root[data-theme="system"]) .tone-bad { color: #a61e34; } :where(:root[data-theme="system"]) .tone-muted { color: #43576b; } :where(:root[data-theme="system"]) .tone-ponder { color: #8c1f6e; background: #fbe7f5; } :where(:root[data-theme="system"]) .tone-purple { color: #6b21a8; } :where(:root[data-theme="system"]) .source-color-0 { color: #0b6e5b; } :where(:root[data-theme="system"]) .source-color-1 { color: #8a4f00; } :where(:root[data-theme="system"]) .source-color-2 { color: #6b21a8; } :where(:root[data-theme="system"]) .source-color-3 { color: #1d4ed8; } :where(:root[data-theme="system"]) .source-color-4 { color: #a61e34; } :where(:root[data-theme="system"]) .source-color-5 { color: #2f6b1f; } :where(:root[data-theme="system"]) .source-color-6 { color: #9d2a6b; } :where(:root[data-theme="system"]) .source-color-7 { color: #0e6577; } :where(:root[data-theme="system"]) .node-inspector { background: #edf3fa; color: #1c3247; } :where(:root[data-theme="system"]) .world-key { color: #43576b; } :where(:root[data-theme="system"]) .key-agent::before, :where(:root[data-theme="system"]) .key-trail::before { color: #0b6e5b; } :where(:root[data-theme="system"]) .key-target::before, :where(:root[data-theme="system"]) .key-goal::before { color: #1d4ed8; } :where(:root[data-theme="system"]) .key-food::before { color: #8a4f00; } :where(:root[data-theme="system"]) .key-hazard::before { color: #a61e34; } :where(:root[data-theme="system"]) .key-button::before, :where(:root[data-theme="system"]) .key-sentinel::before { color: #7a5c00; } :where(:root[data-theme="system"]) .key-tripwire::before { color: #a3166e; } :where(:root[data-theme="system"]) .key-gate::before { color: #6b21a8; } :where(:root[data-theme="system"]) .key-terrain::before, :where(:root[data-theme="system"]) .key-object::before { color: #4a6074; } :where(:root[data-theme="system"]) .tandem-banner { border-color: var(--teal); background: linear-gradient(120deg, #e8f5f1, #f1ebf9); } :where(:root[data-theme="system"]) #filter-reset { background: rgba(11, 110, 91, 0.1); border-color: rgba(11, 110, 91, 0.45); color: #0a5c4c; } :where(:root[data-theme="system"]) .nwl-subnav button.active { background: #dbe6f3; } :where(:root[data-theme="system"]) .nwl-track { background: #d6e2ef; } :where(:root[data-theme="system"]) #chat-stream { background: #0d1722 !important; color: #e6edf4; --text: #e6edf4; --muted: #8b9daf; } :where(:root[data-theme="system"]) #chat-input { background: #0b141e !important; } :where(:root[data-theme="system"]) #chat-input::placeholder { color: #8b9daf; } } /* End of theme layer. */
:root {
color-scheme: dark;
--bg: #0a111c;
--panel: #101d2b;
--panel-hover: #152536;
--line: #213449;
--muted: #8b9daf;
--text: #e6edf4;
--teal: #5de0c1;
--amber: #edbc75;
--rose: #ec7c8d;
--purple: #c084fc;
--blue: #80aaff;
}
.contract-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0; }
.contract-item { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; display: grid; }
.contract-item small { color: var(--muted); }
.contract-item.ready { border-color: #31735f; }
.contract-item.ready span { color: var(--teal); }
#plan-preview { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.plan-actions { max-width: 720px; }
.plan-action { display: grid; grid-template-columns: 60px 1fr 145px; align-items: center; gap: 16px; margin: 10px 0; }
.plan-action b { font-variant-numeric: tabular-nums; font-size: 12px; text-align: right; }
.plan-meter { position: relative; height: 7px; background: linear-gradient(90deg, #384958 49.7%, var(--muted) 50%, #384958 50.3%); border-radius: 4px; }
.plan-meter i { position: absolute; top: -3px; width: 4px; height: 13px; background: var(--teal); transform: translateX(-50%); border-radius: 2px; }
.toolbar-select { display: inline; width: auto; padding: 4px 8px; margin: 0 4px; }
.legend-reset { color: var(--text); }
.teleop-label { font-size: 11px; color: var(--muted); }
.spaced-grid { margin-top: 16px; }
.thrust-tag { background: rgba(255,200,0,.15); color: #fc0; }
.cognition-tag { background: rgba(0,255,180,.15); color: #00ffb4; }
.vitals-container { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cognition-values { padding: 14px; }
.plan-candidates { overflow-x: auto; margin: 18px 0; }
.plan-candidates table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.plan-candidates th, .plan-candidates td { text-align: right; border-bottom: 1px solid var(--line); padding: 7px 12px; white-space: nowrap; }
.plan-candidates th:first-child, .plan-candidates td:first-child { text-align: left; }
.planning-evidence { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 16px 0; background: rgba(16, 29, 43, .72); }
.planning-evidence summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.planning-evidence .toolbar { align-items: end; }
.planning-evidence .toolbar label { flex: 0 1 420px; max-width: 420px; }
#planning-receipt-name { display: block; width: min(420px, 70vw); min-width: min(220px, 70vw); }
.table-scroll { overflow-x: auto; margin: 12px 0; }
.table-scroll table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-scroll th, .table-scroll td { border-bottom: 1px solid var(--line); padding: 6px 9px; text-align: right; white-space: nowrap; }
.table-scroll th:first-child, .table-scroll td:first-child { text-align: left; }
.evidence-decision { border-left: 3px solid var(--amber); padding: 8px 12px; background: rgba(237, 188, 117, .08); font-weight: 600; }
.evidence-status { border-left: 3px solid var(--line); padding: 7px 11px; font-weight: 600; }
.evidence-status.good { border-color: var(--teal); color: var(--teal); }
.evidence-status.bad { border-color: var(--rose); color: var(--rose); }
.forecast-boundary { border-left: 3px solid var(--purple); padding: 6px 12px; }
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font: 14px/1.6 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
overflow-x: hidden;
}
aside {
position: fixed;
inset: 0 auto 0 0;
width: 238px;
background: #0c1723;
border-right: 1px solid var(--line);
padding: 34px 24px;
z-index: 100;
}
.brand {
font-size: 28px;
font-weight: 700;
letter-spacing: 3px;
text-decoration: none;
color: var(--text);
display: block;
}
.brand span {
color: var(--teal);
}
.caption, .eyebrow {
font-size: 10px;
letter-spacing: 2px;
color: var(--muted);
text-transform: uppercase;
}
nav {
margin-top: 45px;
}
button, input, select, textarea {
font: inherit;
}
button {
background: #182a3c;
border: 1px solid #2c4259;
border-radius: 6px;
color: var(--text);
padding: 8px 14px;
cursor: pointer;