Spaces:
Sleeping
Sleeping
| :root { | |
| --bg-base: #080b11; | |
| --bg-card: rgba(18, 24, 38, 0.85); | |
| --bg-card-hover: rgba(26, 35, 56, 0.95); | |
| --border-subtle: rgba(70, 90, 130, 0.25); | |
| --border-active: rgba(0, 240, 255, 0.6); | |
| --text-main: #f0f4fc; | |
| --text-dim: #8a9bb8; | |
| --accent-cyan: #00f0ff; | |
| --accent-green: #00ff88; | |
| --accent-amber: #ffb800; | |
| --accent-red: #ff3366; | |
| --accent-purple: #b055ff; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| body { | |
| background-color: var(--bg-base); | |
| color: var(--text-main); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| overflow-x: hidden; | |
| } | |
| /* Top Header */ | |
| header { | |
| background: rgba(12, 16, 26, 0.9); | |
| backdrop-filter: blur(12px); | |
| border-bottom: 1px solid var(--border-subtle); | |
| padding: 12px 24px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| } | |
| .brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .brand-logo { | |
| width: 32px; | |
| height: 32px; | |
| background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green)); | |
| border-radius: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 900; | |
| color: #000; | |
| font-size: 16px; | |
| box-shadow: 0 0 16px rgba(0, 240, 255, 0.4); | |
| } | |
| .brand-title { | |
| font-size: 18px; | |
| font-weight: 700; | |
| letter-spacing: 0.5px; | |
| } | |
| .brand-subtitle { | |
| font-size: 11px; | |
| color: var(--text-dim); | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| .header-meta { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| } | |
| .badge { | |
| font-size: 11px; | |
| padding: 4px 10px; | |
| border-radius: 6px; | |
| font-weight: 600; | |
| letter-spacing: 0.5px; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .badge-verified { | |
| background: rgba(0, 255, 136, 0.15); | |
| color: var(--accent-green); | |
| border: 1px solid rgba(0, 255, 136, 0.3); | |
| } | |
| .badge-gpu { | |
| background: rgba(0, 240, 255, 0.15); | |
| color: var(--accent-cyan); | |
| border: 1px solid rgba(0, 240, 255, 0.3); | |
| } | |
| .badge-state { | |
| background: rgba(255, 184, 0, 0.15); | |
| color: var(--accent-amber); | |
| border: 1px solid rgba(255, 184, 0, 0.3); | |
| } | |
| .dot-pulse { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| background: currentColor; | |
| box-shadow: 0 0 8px currentColor; | |
| } | |
| /* Nav Tabs */ | |
| nav { | |
| display: flex; | |
| gap: 4px; | |
| background: rgba(14, 20, 32, 0.8); | |
| border-bottom: 1px solid var(--border-subtle); | |
| padding: 0 24px; | |
| } | |
| .nav-tab { | |
| padding: 12px 18px; | |
| background: transparent; | |
| border: none; | |
| border-bottom: 2px solid transparent; | |
| color: var(--text-dim); | |
| font-size: 13px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .nav-tab:hover { | |
| color: var(--text-main); | |
| } | |
| .nav-tab.active { | |
| color: var(--accent-cyan); | |
| border-bottom-color: var(--accent-cyan); | |
| background: rgba(0, 240, 255, 0.05); | |
| } | |
| /* Main Workspace */ | |
| main { | |
| flex: 1; | |
| padding: 24px; | |
| max-width: 1600px; | |
| margin: 0 auto; | |
| width: 100%; | |
| } | |
| .tab-content { | |
| display: none; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| animation: fadeIn 0.25s ease forwards; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(4px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Grid Layouts */ | |
| .grid-overview { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 16px; | |
| margin-bottom: 24px; | |
| } | |
| .card { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 12px; | |
| padding: 20px; | |
| backdrop-filter: blur(8px); | |
| position: relative; | |
| } | |
| .card-header { | |
| font-size: 12px; | |
| color: var(--text-dim); | |
| text-transform: uppercase; | |
| letter-spacing: 0.8px; | |
| margin-bottom: 8px; | |
| display: flex; | |
| justify-content: space-between; | |
| } | |
| .card-value { | |
| font-size: 26px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| } | |
| .card-subtext { | |
| font-size: 12px; | |
| color: var(--text-dim); | |
| margin-top: 6px; | |
| } | |
| /* 3D Connectome Container */ | |
| .viewer-container { | |
| display: grid; | |
| grid-template-columns: 1fr 340px; | |
| gap: 20px; | |
| height: 680px; | |
| } | |
| #connectome-canvas-wrapper { | |
| background: #040609; | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 12px; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| #connectome-canvas { | |
| width: 100%; | |
| height: 100%; | |
| display: block; | |
| } | |
| .viewer-controls-overlay { | |
| position: absolute; | |
| top: 16px; | |
| left: 16px; | |
| background: rgba(14, 20, 32, 0.85); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 8px; | |
| padding: 10px 14px; | |
| display: flex; | |
| gap: 10px; | |
| align-items: center; | |
| z-index: 10; | |
| } | |
| .inspector-panel { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 12px; | |
| padding: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 14px; | |
| overflow-y: auto; | |
| } | |
| .inspector-row { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 13px; | |
| padding-bottom: 6px; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| .inspector-label { | |
| color: var(--text-dim); | |
| } | |
| .inspector-val { | |
| font-weight: 600; | |
| color: var(--text-main); | |
| font-family: monospace; | |
| } | |
| /* Buttons & Controls */ | |
| .btn { | |
| background: rgba(0, 240, 255, 0.15); | |
| color: var(--accent-cyan); | |
| border: 1px solid rgba(0, 240, 255, 0.4); | |
| padding: 8px 16px; | |
| border-radius: 6px; | |
| font-size: 12px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .btn:hover { | |
| background: rgba(0, 240, 255, 0.25); | |
| box-shadow: 0 0 12px rgba(0, 240, 255, 0.3); | |
| } | |
| .btn-green { | |
| background: rgba(0, 255, 136, 0.15); | |
| color: var(--accent-green); | |
| border-color: rgba(0, 255, 136, 0.4); | |
| } | |
| .btn-green:hover { | |
| background: rgba(0, 255, 136, 0.25); | |
| box-shadow: 0 0 12px rgba(0, 255, 136, 0.3); | |
| } | |
| .btn-amber { | |
| background: rgba(255, 184, 0, 0.15); | |
| color: var(--accent-amber); | |
| border-color: rgba(255, 184, 0, 0.4); | |
| } | |
| select, input[type="text"], input[type="number"] { | |
| background: rgba(10, 15, 25, 0.9); | |
| border: 1px solid var(--border-subtle); | |
| color: var(--text-main); | |
| padding: 8px 12px; | |
| border-radius: 6px; | |
| font-size: 12px; | |
| outline: none; | |
| } | |
| select:focus, input:focus { | |
| border-color: var(--accent-cyan); | |
| } | |
| /* Tables & Lists */ | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| font-size: 13px; | |
| } | |
| th { | |
| text-align: left; | |
| padding: 10px 14px; | |
| color: var(--text-dim); | |
| border-bottom: 1px solid var(--border-subtle); | |
| font-size: 11px; | |
| text-transform: uppercase; | |
| } | |
| td { | |
| padding: 10px 14px; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.04); | |
| color: var(--text-main); | |
| } | |
| /* Toast Container */ | |
| #toast-container { | |
| position: fixed; | |
| bottom: 24px; | |
| right: 24px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| z-index: 9999; | |
| } | |
| .toast { | |
| background: rgba(18, 24, 38, 0.95); | |
| border: 1px solid var(--border-active); | |
| border-radius: 8px; | |
| padding: 12px 18px; | |
| font-size: 13px; | |
| color: var(--text-main); | |
| backdrop-filter: blur(12px); | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); | |
| animation: slideIn 0.2s ease forwards; | |
| } | |
| @keyframes slideIn { | |
| from { transform: translateX(50px); opacity: 0; } | |
| to { transform: translateX(0); opacity: 1; } | |
| } | |
| /* Scientific provenance panel (v4.1) */ | |
| .prov-grid { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| margin-top: 12px; | |
| } | |
| .prov-row { | |
| display: grid; | |
| grid-template-columns: 200px 1fr; | |
| gap: 12px; | |
| align-items: baseline; | |
| padding: 8px 0; | |
| border-bottom: 1px solid var(--border-subtle); | |
| font-size: 13px; | |
| } | |
| .prov-label { | |
| color: var(--text-dim); | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| font-size: 11px; | |
| letter-spacing: 0.06em; | |
| } | |
| .prov-val { | |
| color: var(--text-main); | |
| line-height: 1.5; | |
| } | |
| .mono { | |
| font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; | |
| font-size: 12px; | |
| word-break: break-all; | |
| } | |
| .tag { | |
| display: inline-block; | |
| padding: 2px 8px; | |
| border-radius: 20px; | |
| font-size: 11px; | |
| font-weight: 700; | |
| margin-right: 6px; | |
| } | |
| .tag-heuristic { | |
| background: rgba(255, 184, 0, 0.15); | |
| color: var(--accent-amber); | |
| border: 1px solid rgba(255, 184, 0, 0.4); | |
| } | |
| .tag-empirical { | |
| background: rgba(0, 255, 136, 0.12); | |
| color: var(--accent-green); | |
| border: 1px solid rgba(0, 255, 136, 0.35); | |
| } | |
| .tag-unknown { | |
| background: rgba(138, 155, 184, 0.12); | |
| color: var(--text-dim); | |
| border: 1px solid var(--border-subtle); | |
| } | |
| .btn-red { | |
| background: rgba(255, 51, 102, 0.15); | |
| border: 1px solid rgba(255, 51, 102, 0.5); | |
| color: var(--accent-red); | |
| } | |
| .btn-red:hover { | |
| background: rgba(255, 51, 102, 0.3); | |
| } | |
| /* Accessibility: visible focus + reduced motion */ | |
| button:focus-visible, select:focus-visible, input:focus-visible, canvas:focus-visible { | |
| outline: 2px solid var(--accent-cyan); | |
| outline-offset: 2px; | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .toast { animation: none; } | |
| .dot-pulse { animation: none; } | |
| } | |
| @media (max-width: 900px) { | |
| .prov-row { grid-template-columns: 1fr; } | |
| header { flex-direction: column; gap: 10px; } | |
| } | |