Loading files
/* ============================================
Prometheus BCI — Shared Design System
Liquid Glass. Neural precision.
============================================ */
:root {
/* Surfaces */
--bg-root: #050508;
--bg-surface: rgba(255, 255, 255, 0.04);
--bg-raised: rgba(255, 255, 255, 0.06);
--bg-hover: rgba(255, 255, 255, 0.10);
--bg-active: rgba(255, 255, 255, 0.14);
/* Borders */
--border-subtle: rgba(255, 255, 255, 0.08);
--border-default: rgba(255, 255, 255, 0.12);
--border-strong: rgba(255, 255, 255, 0.22);
/* Glass — Liquid Glass (subtle) */
--glass-blur: 6px;
--glass-saturate: 1.05;
--glass-backdrop: blur(var(--glass-blur)) saturate(var(--glass-saturate));
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
--glass-specular: inset 0 1px 0 rgba(255, 255, 255, 0.08);
/* Text */
--text-primary: #fafafa;
--text-secondary: #a0a0ab;
--text-tertiary: #63636e;
--text-disabled: #3f3f46;
/* Accent */
--accent: #22d3ee;
--accent-dim: rgba(34, 211, 238, 0.15);
--accent-glow: rgba(34, 211, 238, 0.08);
/* Semantic */
--red: #ef4444;
--red-dim: rgba(239, 68, 68, 0.15);
--green: #22c55e;
--green-dim: rgba(34, 197, 94, 0.15);
--amber: #f59e0b;
--amber-dim: rgba(245, 158, 11, 0.15);
/* Typography */
--font-sans: 'DM Sans', -apple-system, sans-serif;
--font-mono: 'JetBrains Mono', 'SF Mono', monospace;
/* Spacing */
--sidebar-width: 260px;
/* Radius */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
}
/* ---- Reset & Base ---- */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 14px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: var(--font-sans);
background: var(--bg-root);
color: var(--text-primary);
line-height: 1.5;
overflow: hidden;
height: 100vh;
background-image:
radial-gradient(ellipse 900px 700px at 8% 12%, rgba(34, 211, 238, 0.38) 0%, transparent 65%),
radial-gradient(ellipse 700px 650px at 88% 78%, rgba(6, 182, 212, 0.32) 0%, transparent 60%),
radial-gradient(ellipse 800px 550px at 50% 35%, rgba(167, 139, 250, 0.26) 0%, transparent 60%),
radial-gradient(ellipse 600px 450px at 72% 8%, rgba(34, 211, 238, 0.28) 0%, transparent 50%),
radial-gradient(ellipse 500px 400px at 22% 82%, rgba(139, 125, 181, 0.26) 0%, transparent 55%),
radial-gradient(ellipse 650px 500px at 92% 28%, rgba(92, 168, 181, 0.22) 0%, transparent 55%),
radial-gradient(ellipse 450px 350px at 40% 90%, rgba(34, 211, 238, 0.18) 0%, transparent 50%),
radial-gradient(ellipse 500px 400px at 60% 55%, rgba(122, 179, 189, 0.14) 0%, transparent 50%);
}
/* Liquid Glass — Noise grain overlay */
body::after {
content: '';
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: none;
opacity: 0.42;
mix-blend-mode: overlay;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-repeat: repeat;
background-size: 150px 150px;
}
/* ---- Layout ---- */
.app-layout {
display: flex;
height: 100vh;
overflow: hidden;
}
/* ---- Sidebar ---- */
.sidebar {
width: var(--sidebar-width);
min-width: var(--sidebar-width);
height: 100vh;
background: linear-gradient(180deg, rgba(34, 211, 238, 0.03) 0%, var(--bg-surface) 15%, var(--bg-surface) 85%, rgba(139, 125, 181, 0.03) 100%);
backdrop-filter: var(--glass-backdrop);
-webkit-backdrop-filter: var(--glass-backdrop);
border-right: 1px solid var(--border-subtle);
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: var(--glass-specular);
}
.sidebar-header {
padding: 28px 20px 16px;
display: flex;
align-items: center;
gap: 12px;
border-bottom: 1px solid var(--border-subtle);
}
.logo-mark {
width: 32px;
height: 32px;
background: linear-gradient(135deg, var(--accent), #06b6d4);
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
color: var(--bg-root);
flex-shrink: 0;
box-shadow: 0 0 20px rgba(34, 211, 238, 0.35), 0 0 40px rgba(34, 211, 238, 0.15);
}
.logo-text {
display: flex;
flex-direction: column;
line-height: 1.2;
}
.logo-title {
font-weight: 600;
font-size: 14px;
color: var(--text-primary);
letter-spacing: -0.01em;
}
.logo-subtitle {
font-size: 11px;
color: var(--text-tertiary);
font-weight: 400;
}
.sidebar-toggle {
margin-left: auto;
background: none;
border: 1px solid transparent;
border-radius: var(--radius-sm);
color: var(--text-tertiary);
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
flex-shrink: 0;
}
.sidebar-toggle svg {
width: 16px;
height: 16px;
transition: transform 0.3s ease;
}
.sidebar-toggle:hover {
color: var(--text-primary);
background: var(--bg-hover);
border-color: var(--border-subtle);
}
.sidebar.collapsed .sidebar-toggle svg {
transform: rotate(180deg);
}
/* ---- Sidebar Collapsed State ---- */
.sidebar {
transition: width 0.3s ease, min-width 0.3s ease;
}
.sidebar.collapsed {
width: 56px;
min-width: 56px;
}
.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-section-label,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .status-text {
opacity: 0;
width: 0;
overflow: hidden;
white-space: nowrap;
transition: opacity 0.15s ease;
}
.sidebar.collapsed .sidebar-header {
padding: 28px 12px 16px;
justify-content: center;
}
.sidebar.collapsed .sidebar-toggle {
position: absolute;
right: 6px;
top: 28px;
}
.sidebar.collapsed .sidebar-nav {
padding: 12px 6px;
}
.sidebar.collapsed .nav-item {
justify-content: center;
padding: 7px;
}
.sidebar.collapsed .sidebar-footer {
padding: 14px 12px;
justify-content: center;
}
.sidebar.collapsed .connection-status {
justify-content: center;
}
.sidebar-nav {
flex: 1;
overflow-y: auto;
padding: 12px 10px;
}
.sidebar-nav::-webkit-scrollbar {
width: 0;
}
.nav-section {
margin-bottom: 8px;
}
.nav-section-label {
display: block;
font-size: 10.5px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-tertiary);
padding: 8px 10px 6px;
}
.nav-item {
display: flex;
align-items: center;
gap: 10px;
padding: 7px 10px;
border-radius: var(--radius-sm);
color: var(--text-secondary);
text-decoration: none;
font-size: 13px;
font-weight: 400;
transition: all 0.2s ease;
cursor: pointer;
border: 1px solid transparent;
}
.nav-item:hover {
background: var(--bg-hover);
color: var(--text-primary);
border-color: var(--border-subtle);
}
.nav-item.active {
background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(6, 182, 212, 0.08));
color: var(--accent);
border-color: rgba(34, 211, 238, 0.18);
box-shadow: 0 0 16px rgba(34, 211, 238, 0.12), var(--glass-specular);
}
.nav-icon {
width: 16px;
height: 16px;
flex-shrink: 0;
stroke-width: 1.5;
}
.sidebar-footer {
padding: 14px 20px;
border-top: 1px solid var(--border-subtle);
}
.connection-status {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
color: var(--text-tertiary);
}
.status-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--amber);
flex-shrink: 0;
transition: background 0.3s ease;
}
.status-dot.connected {
background: var(--green);
box-shadow: 0 0 8px var(--green), 0 0 20px rgba(34, 197, 94, 0.35), 0 0 40px rgba(34, 197, 94, 0.15);
}
.status-dot.disconnected {
background: var(--red);
}
.status-text {
font-family: var(--font-mono);
font-size: 11px;
}
/* ---- Main Content ---- */
.main-content {
flex: 1;
overflow-y: auto;
padding: 0;
display: flex;
flex-direction: column;
position: relative;
}
.main-content::-webkit-scrollbar {
width: 6px;
}
.main-content::-webkit-scrollbar-track {
background: transparent;
}
.main-content::-webkit-scrollbar-thumb {
background: var(--border-default);
border-radius: 3px;
}
/* ---- Page Header ---- */
.page-header {
padding: 28px 32px 20px;
display: flex;
align-items: flex-start;
justify-content: space-between;
border-bottom: 1px solid var(--border-subtle);
flex-shrink: 0;
background: var(--bg-surface);
backdrop-filter: var(--glass-backdrop);
-webkit-backdrop-filter: var(--glass-backdrop);
}
.page-title {
font-size: 20px;
font-weight: 600;
letter-spacing: -0.02em;
color: var(--text-primary);
line-height: 1.3;
}
.page-description {
font-size: 13px;
color: var(--text-tertiary);
margin-top: 2px;
}
.header-badge {
display: flex;
align-items: center;
gap: 6px;
padding: 5px 12px;
background: var(--bg-raised);
backdrop-filter: blur(12px) saturate(1.6);
-webkit-backdrop-filter: blur(12px) saturate(1.6);
border: 1px solid var(--border-default);
border-radius: 20px;
font-size: 12px;
font-family: var(--font-mono);
color: var(--text-secondary);
flex-shrink: 0;
box-shadow: var(--glass-specular), 0 2px 8px rgba(0, 0, 0, 0.15);
}
.badge-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--text-tertiary);
transition: background 0.3s;
}
.header-badge.recording .badge-dot {
background: var(--red);
box-shadow: 0 0 8px var(--red);
animation: pulse-dot 1.5s ease infinite;
}
/* ---- Panels (Glass Cards) ---- */
.panel {
margin: 24px 32px;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
background: var(--bg-surface);
backdrop-filter: var(--glass-backdrop);
-webkit-backdrop-filter: var(--glass-backdrop);
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
box-shadow: var(--glass-shadow);
position: relative;
}
.panel::before {
content: '';
position: absolute;
inset: 0;
z-index: 0;
border-radius: inherit;
pointer-events: none;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.08),
inset 0 0 4px 1px rgba(255, 255, 255, 0.01);
}
.panel::after {
content: '';
position: absolute;
top: -1px;
left: -1px;
right: -1px;
height: 1px;
background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.2) 70%, transparent 90%);
z-index: 1;
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.panel-header {
padding: 14px 20px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border-subtle);
flex-shrink: 0;
}
.panel-title {
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
font-family: var(--font-mono);
letter-spacing: -0.01em;
}
.panel-badge {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--accent);
background: var(--accent-dim);
backdrop-filter: blur(8px) saturate(1.6);
-webkit-backdrop-filter: blur(8px) saturate(1.6);
padding: 2px 8px;
border-radius: 10px;
border: 1px solid rgba(34, 211, 238, 0.12);
box-shadow: var(--glass-specular);
}
.panel-body {
padding: 16px 20px;
flex: 1;
overflow-y: auto;
}
.panel-body::-webkit-scrollbar {
width: 4px;
}
.panel-body::-webkit-scrollbar-thumb {
background: var(--border-default);
border-radius: 2px;
}
/* ---- Controls Bar ---- */
.controls-bar {
padding: 16px 32px;
display: flex;
gap: 8px;
border-bottom: 1px solid var(--border-subtle);
flex-shrink: 0;
background: var(--bg-surface);
backdrop-filter: var(--glass-backdrop);
-webkit-backdrop-filter: var(--glass-backdrop);
}
.btn-control {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 16px;
border: 1px solid var(--border-default);
border-radius: var(--radius-sm);
background: var(--bg-raised);
backdrop-filter: blur(12px) saturate(1.6);
-webkit-backdrop-filter: blur(12px) saturate(1.6);
color: var(--text-secondary);
font-family: var(--font-sans);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
outline: none;
box-shadow: var(--glass-specular), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn-control svg {
width: 14px;
height: 14px;
}
.btn-control:hover {
background: var(--bg-hover);
color: var(--text-primary);
border-color: var(--border-strong);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.btn-control:active {
transform: scale(0.97);
}
.btn-record:hover, .btn-record.active {
border-color: var(--red);
color: var(--red);
background: var(--red-dim);
box-shadow: 0 0 20px rgba(239, 68, 68, 0.12);
}
.btn-stop:hover {
border-color: var(--text-secondary);
}
.btn-marker:hover {
border-color: var(--accent);
color: var(--accent);
background: var(--accent-dim);
box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}
/* ---- Charts ---- */
.chart-item {
margin-bottom: 4px;
position: relative;
}
.chart-item canvas {
width: 100% !important;
height: 70px !important;
display: block;
border-radius: var(--radius-sm);
background: rgba(15, 15, 18, 0.8);
}
canvas {
background: rgba(15, 15, 18, 0.8);
}
.chart-label {
position: absolute;
top: 6px;
left: 10px;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
color: var(--accent);
letter-spacing: 0.04em;
text-transform: uppercase;
z-index: 1;
pointer-events: none;
background: rgba(9, 9, 11, 0.5);
backdrop-filter: blur(10px) saturate(1.6);
-webkit-backdrop-filter: blur(10px) saturate(1.6);
padding: 1px 6px;
border-radius: 4px;
border: 1px solid var(--border-subtle);
box-shadow: var(--glass-specular), 0 1px 4px rgba(0, 0, 0, 0.2);
}
/* ---- Empty State ---- */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 20px;
color: var(--text-tertiary);
gap: 12px;
}
.empty-state svg {
opacity: 0.3;
}
.empty-state p {
font-size: 13px;
font-family: var(--font-mono);
}
/* ---- Metrics Grid ---- */
.metrics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-bottom: 24px;
}
.metric-card {
background: var(--bg-raised);
backdrop-filter: var(--glass-backdrop);
-webkit-backdrop-filter: var(--glass-backdrop);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
padding: 16px;
box-shadow: var(--glass-shadow), var(--glass-specular);
position: relative;
overflow: hidden;
}
.metric-card::before {
content: '';
position: absolute;
top: -1px;
left: 10%;
right: 10%;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}
.metric-label {
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-tertiary);
margin-bottom: 8px;
font-family: var(--font-mono);
}
.metric-value {
font-size: 28px;
font-weight: 300;
font-family: var(--font-mono);
color: var(--text-primary);
letter-spacing: -0.03em;
}
.metric-unit {
font-size: 13px;
color: var(--text-tertiary);
margin-left: 4px;
}
.metric-bar-track {
width: 100%;
height: 4px;
background: var(--bg-hover);
border-radius: 2px;
margin-top: 12px;
overflow: hidden;
}
.metric-bar-fill {
height: 100%;
border-radius: 2px;
background: var(--accent);
transition: width 0.4s ease;
}
.metric-bar-fill.stress { background: linear-gradient(90deg, var(--red), #f87171); box-shadow: 0 0 12px rgba(239, 68, 68, 0.5), 0 0 24px rgba(239, 68, 68, 0.2); }
.metric-bar-fill.attention { background: linear-gradient(90deg, var(--accent), #67e8f9); box-shadow: 0 0 12px rgba(34, 211, 238, 0.5), 0 0 24px rgba(34, 211, 238, 0.2); }
.metric-bar-fill.arousal { background: linear-gradient(90deg, var(--amber), #fbbf24); box-shadow: 0 0 12px rgba(245, 158, 11, 0.5), 0 0 24px rgba(245, 158, 11, 0.2); }
.metric-bar-fill.cognitive { background: linear-gradient(90deg, #8b7db5, #a78bfa); box-shadow: 0 0 12px rgba(167, 139, 250, 0.5), 0 0 24px rgba(167, 139, 250, 0.2); }
/* ---- Animations ---- */
@keyframes fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes glass-appear {
from { opacity: 0; transform: translateY(10px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.panel {
animation: glass-appear 0.5s ease both;
}
.controls-bar {
animation: fade-in 0.3s ease both;
animation-delay: 0.1s;
}
.nav-item {
animation: fade-in 0.25s ease both;
}
.nav-section:nth-child(1) .nav-item { animation-delay: 0.05s; }
.nav-section:nth-child(2) .nav-item:nth-child(2) { animation-delay: 0.08s; }
.nav-section:nth-child(2) .nav-item:nth-child(3) { animation-delay: 0.11s; }
.nav-section:nth-child(2) .nav-item:nth-child(4) { animation-delay: 0.14s; }
.nav-section:nth-child(2) .nav-item:nth-child(5) { animation-delay: 0.17s; }
.nav-section:nth-child(3) .nav-item:nth-child(2) { animation-delay: 0.20s; }
.nav-section:nth-child(3) .nav-item:nth-child(3) { animation-delay: 0.23s; }
.nav-section:nth-child(3) .nav-item:nth-child(4) { animation-delay: 0.26s; }
.nav-section:nth-child(3) .nav-item:nth-child(5) { animation-delay: 0.29s; }
.nav-section:nth-child(4) .nav-item:nth-child(2) { animation-delay: 0.32s; }
/* ---- App Footer ---- */
.app-footer {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 32px;
margin-top: auto;
border-top: 1px solid var(--border-subtle);
font-size: 11px;
color: var(--text-tertiary);
font-family: var(--font-mono);
flex-shrink: 0;
}
.app-footer a {
color: var(--text-secondary);
text-decoration: none;
transition: color 0.2s ease;
}
.app-footer a:hover {
color: var(--accent);
}
.footer-brand {
font-weight: 500;
color: var(--text-secondary);
}
.footer-sep {
color: var(--border-strong);
}
.footer-icon-link {
display: inline-flex;
align-items: center;
color: var(--text-tertiary);
transition: color 0.2s ease;
}
.footer-icon-link:hover {
color: var(--accent);
}
.footer-icon-link svg {
width: 15px;
height: 15px;
}
b82d43fbeThis file is pinned to the selected release. Download the original to open it in your design tool.