Files
aetheel-2/dashboard/styles.css

1784 lines
40 KiB
CSS

/* ═══════════════════════════════════════════════════════════
AETHEEL MISSION CONTROL — DESIGN SYSTEM
═══════════════════════════════════════════════════════════ */
/* ── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* Surface elevation (darker = deeper) */
--bg-deepest: #0A0A0A;
--bg-sidebar: #0D0D0D;
--bg-page: #121212;
--bg-card: #1A1A1A;
--bg-card-hover: #222222;
--bg-elevated: #252525;
--bg-input: #1E1E1E;
--bg-input-focus: #2A2A2A;
/* Borders */
--border: rgba(255, 255, 255, 0.06);
--border-hover: rgba(255, 255, 255, 0.12);
--border-focus: rgba(229, 133, 15, 0.4);
/* Text opacity hierarchy */
--text-primary: rgba(255, 255, 255, 0.90);
--text-secondary: rgba(255, 255, 255, 0.60);
--text-muted: rgba(255, 255, 255, 0.38);
--text-disabled: rgba(255, 255, 255, 0.20);
/* Brand colours — slightly desaturated for dark mode */
--brand-orange: #E5850F;
--brand-orange-dim: rgba(229, 133, 15, 0.15);
--brand-blue: #5A9CF5;
--brand-blue-dim: rgba(90, 156, 245, 0.15);
--brand-green: #2ECC8F;
--brand-green-dim: rgba(46, 204, 143, 0.15);
--brand-red: #D95555;
--brand-red-dim: rgba(217, 85, 85, 0.15);
--brand-purple: #A78BFA;
--brand-purple-dim: rgba(167, 139, 250, 0.15);
--brand-cyan: #22D3EE;
--brand-cyan-dim: rgba(34, 211, 238, 0.15);
/* Gradients */
--gradient-orange: linear-gradient(135deg, #E5850F, #F5A623);
--gradient-blue: linear-gradient(135deg, #5A9CF5, #7BB3FF);
--gradient-green: linear-gradient(135deg, #2ECC8F, #44E5A8);
--gradient-red: linear-gradient(135deg, #D95555, #E87070);
--gradient-purple: linear-gradient(135deg, #A78BFA, #C4B5FD);
/* Layout */
--sidebar-width: 260px;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 18px;
/* Shadows */
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.25);
--shadow-glow: 0 0 20px rgba(229, 133, 15, 0.08);
/* Transitions */
--transition-fast: 150ms ease;
--transition-med: 250ms ease;
--transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
/* Font */
--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html,
body {
height: 100%;
font-family: var(--font);
background: var(--bg-page);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
overflow: hidden;
}
body {
display: flex;
}
a {
color: inherit;
text-decoration: none;
}
button {
font-family: var(--font);
cursor: pointer;
}
input,
textarea,
select {
font-family: var(--font);
}
/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.08);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.14);
}
/* ── Animations ────────────────────────────────────────── */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInScale {
from {
opacity: 0;
transform: scale(0.96);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
@keyframes slideRight {
from {
width: 0%;
}
to {
width: var(--target-width, 50%);
}
}
@keyframes dotPulse {
0%,
100% {
box-shadow: 0 0 0 0 rgba(46, 204, 143, 0.7);
}
50% {
box-shadow: 0 0 0 6px rgba(46, 204, 143, 0);
}
}
.fade-in {
animation: fadeIn var(--transition-slow) forwards;
}
/* ═══════════════════════════════════════════════════════════
SIDEBAR
═══════════════════════════════════════════════════════════ */
.sidebar {
width: var(--sidebar-width);
min-width: var(--sidebar-width);
height: 100vh;
background: var(--bg-sidebar);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
z-index: 10;
}
.sidebar-header {
padding: 24px 20px 16px;
}
.sidebar-logo {
display: flex;
align-items: center;
gap: 12px;
}
.logo-glyph {
width: 40px;
height: 40px;
border-radius: var(--radius-md);
background: var(--gradient-orange);
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: 800;
color: #000;
flex-shrink: 0;
}
.logo-text {
display: flex;
flex-direction: column;
}
.logo-name {
font-size: 17px;
font-weight: 700;
letter-spacing: -0.3px;
}
.logo-version {
font-size: 11px;
color: var(--text-muted);
font-weight: 500;
}
/* Status card */
.sidebar-status {
margin: 0 16px 16px;
padding: 10px 14px;
border-radius: var(--radius-md);
background: var(--bg-card);
border: 1px solid var(--border);
display: flex;
align-items: center;
gap: 10px;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--brand-green);
animation: dotPulse 2s infinite;
flex-shrink: 0;
}
.status-dot.offline {
background: var(--brand-red);
animation: none;
}
.status-text {
font-size: 12px;
color: var(--text-secondary);
line-height: 1.3;
}
/* Nav */
.sidebar-nav {
flex: 1;
padding: 0 12px;
display: flex;
flex-direction: column;
gap: 2px;
overflow-y: auto;
}
.nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: var(--radius-sm);
font-size: 13.5px;
font-weight: 500;
color: var(--text-secondary);
transition: all var(--transition-fast);
}
.nav-item:hover {
color: var(--text-primary);
background: rgba(255, 255, 255, 0.04);
}
.nav-item.active {
color: #fff;
background: rgba(255, 255, 255, 0.07);
}
.nav-item.active .nav-icon {
color: var(--brand-orange);
}
.nav-icon {
width: 18px;
height: 18px;
flex-shrink: 0;
}
/* Footer / XP bar */
.sidebar-footer {
padding: 16px;
border-top: 1px solid var(--border);
}
.xp-bar {
display: flex;
flex-direction: column;
gap: 6px;
}
.xp-label {
display: flex;
justify-content: space-between;
align-items: center;
}
.xp-level {
font-size: 11px;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.xp-sub {
font-size: 11px;
color: var(--text-muted);
font-weight: 500;
}
.xp-track {
height: 4px;
background: rgba(255, 255, 255, 0.06);
border-radius: 2px;
overflow: hidden;
}
.xp-fill {
height: 100%;
border-radius: 2px;
background: var(--gradient-orange);
width: 0%;
transition: width 1s ease;
}
/* ═══════════════════════════════════════════════════════════
MAIN CONTENT
═══════════════════════════════════════════════════════════ */
.main-content {
flex: 1;
overflow-y: auto;
height: 100vh;
padding: 32px 40px;
}
.page-header {
margin-bottom: 28px;
}
.page-title {
font-size: 26px;
font-weight: 700;
letter-spacing: -0.5px;
margin-bottom: 6px;
}
.page-subtitle {
font-size: 14px;
color: var(--text-muted);
font-weight: 400;
}
/* ═══════════════════════════════════════════════════════════
STAT CARDS
═══════════════════════════════════════════════════════════ */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-bottom: 28px;
}
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
position: relative;
overflow: hidden;
animation: fadeIn 0.4s ease forwards;
transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.stat-card:hover {
border-color: var(--border-hover);
transform: translateY(-1px);
}
.stat-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.stat-card.orange::before {
background: var(--gradient-orange);
}
.stat-card.blue::before {
background: var(--gradient-blue);
}
.stat-card.green::before {
background: var(--gradient-green);
}
.stat-card.red::before {
background: var(--gradient-red);
}
.stat-card.purple::before {
background: var(--gradient-purple);
}
.stat-label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.6px;
color: var(--text-muted);
margin-bottom: 8px;
}
.stat-value {
font-size: 32px;
font-weight: 800;
letter-spacing: -1px;
line-height: 1;
}
.stat-badge {
display: inline-block;
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 99px;
margin-top: 8px;
}
.stat-badge.orange {
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.stat-badge.blue {
background: var(--brand-blue-dim);
color: var(--brand-blue);
}
.stat-badge.green {
background: var(--brand-green-dim);
color: var(--brand-green);
}
/* Stagger animations */
.stat-card:nth-child(1) {
animation-delay: 0.05s;
opacity: 0;
}
.stat-card:nth-child(2) {
animation-delay: 0.10s;
opacity: 0;
}
.stat-card:nth-child(3) {
animation-delay: 0.15s;
opacity: 0;
}
.stat-card:nth-child(4) {
animation-delay: 0.20s;
opacity: 0;
}
/* ═══════════════════════════════════════════════════════════
CONTENT SECTIONS
═══════════════════════════════════════════════════════════ */
.section-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 28px;
}
.section-grid.full {
grid-template-columns: 1fr;
}
.section-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
animation: fadeIn 0.5s ease forwards;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(--border);
}
.section-title {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.section-badge {
font-size: 11px;
font-weight: 600;
padding: 3px 10px;
border-radius: 99px;
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.section-body {
padding: 16px 20px;
max-height: 400px;
overflow-y: auto;
}
/* ═══════════════════════════════════════════════════════════
ACTIVITY FEED
═══════════════════════════════════════════════════════════ */
.activity-list {
display: flex;
flex-direction: column;
gap: 2px;
}
.activity-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 10px 12px;
border-radius: var(--radius-sm);
transition: background var(--transition-fast);
animation: fadeIn 0.3s ease forwards;
}
.activity-item:hover {
background: rgba(255, 255, 255, 0.02);
}
.activity-icon {
width: 30px;
height: 30px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
flex-shrink: 0;
margin-top: 2px;
}
.activity-icon.message {
background: var(--brand-blue-dim);
color: var(--brand-blue);
}
.activity-icon.heartbeat {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.activity-icon.cron {
background: var(--brand-purple-dim);
color: var(--brand-purple);
}
.activity-icon.hook {
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.activity-icon.error {
background: var(--brand-red-dim);
color: var(--brand-red);
}
.activity-body {
flex: 1;
min-width: 0;
}
.activity-title {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
margin-bottom: 2px;
}
.activity-detail {
font-size: 12px;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.activity-time {
font-size: 11px;
color: var(--text-disabled);
flex-shrink: 0;
margin-top: 2px;
}
/* ═══════════════════════════════════════════════════════════
CONFIG TABLE
═══════════════════════════════════════════════════════════ */
.config-table {
width: 100%;
}
.config-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid var(--border);
}
.config-row:last-child {
border-bottom: none;
}
.config-key {
font-size: 12px;
font-weight: 500;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.3px;
}
.config-value {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
}
/* ═══════════════════════════════════════════════════════════
CONNECTIONS PAGE
═══════════════════════════════════════════════════════════ */
.connections-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
}
.connection-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
display: flex;
align-items: center;
gap: 16px;
transition: all var(--transition-fast);
animation: fadeIn 0.4s ease forwards;
}
.connection-card:hover {
border-color: var(--border-hover);
transform: translateY(-1px);
}
.connection-card.inactive {
border-style: dashed;
opacity: 0.7;
}
.connection-logo {
width: 44px;
height: 44px;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
flex-shrink: 0;
}
.connection-logo.discord {
background: rgba(88, 101, 242, 0.15);
color: #5865F2;
}
.connection-logo.claude {
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.connection-logo.codex {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.connection-logo.gemini {
background: var(--brand-blue-dim);
color: var(--brand-blue);
}
.connection-logo.opencode {
background: var(--brand-cyan-dim);
color: var(--brand-cyan);
}
.connection-logo.heartbeat {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.connection-logo.cron {
background: var(--brand-purple-dim);
color: var(--brand-purple);
}
.connection-logo.ipc {
background: var(--brand-cyan-dim);
color: var(--brand-cyan);
}
.connection-logo.skills {
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.connection-info {
flex: 1;
min-width: 0;
}
.connection-name {
font-size: 14px;
font-weight: 600;
margin-bottom: 2px;
}
.connection-detail {
font-size: 12px;
color: var(--text-muted);
}
.connection-status {
font-size: 11px;
font-weight: 600;
padding: 4px 10px;
border-radius: 99px;
flex-shrink: 0;
}
.connection-status.active {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.connection-status.inactive {
background: var(--brand-red-dim);
color: var(--brand-red);
}
/* Stagger */
.connection-card:nth-child(1) {
animation-delay: 0.05s;
opacity: 0;
}
.connection-card:nth-child(2) {
animation-delay: 0.10s;
opacity: 0;
}
.connection-card:nth-child(3) {
animation-delay: 0.12s;
opacity: 0;
}
.connection-card:nth-child(4) {
animation-delay: 0.15s;
opacity: 0;
}
.connection-card:nth-child(5) {
animation-delay: 0.18s;
opacity: 0;
}
.connection-card:nth-child(6) {
animation-delay: 0.21s;
opacity: 0;
}
/* ═══════════════════════════════════════════════════════════
PROGRESS BAR (connections page)
═══════════════════════════════════════════════════════════ */
.progress-bar-container {
margin-bottom: 24px;
}
.progress-label {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.progress-label span {
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
}
.progress-track {
height: 8px;
background: rgba(255, 255, 255, 0.06);
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 4px;
background: var(--gradient-green);
transition: width 0.8s ease;
}
/* ═══════════════════════════════════════════════════════════
SESSIONS PAGE
═══════════════════════════════════════════════════════════ */
.session-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.session-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-md);
transition: border-color var(--transition-fast);
}
.session-item:hover {
border-color: var(--border-hover);
}
.session-channel {
font-size: 14px;
font-weight: 600;
font-family: 'SF Mono', 'Fira Code', monospace;
}
.session-id {
font-size: 12px;
color: var(--text-muted);
font-family: 'SF Mono', 'Fira Code', monospace;
}
/* ═══════════════════════════════════════════════════════════
BRAIN PAGE
═══════════════════════════════════════════════════════════ */
.brain-tabs {
display: flex;
gap: 4px;
margin-bottom: 20px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 4px;
}
.brain-tab {
flex: 1;
padding: 10px;
border: none;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-muted);
font-size: 13px;
font-weight: 600;
transition: all var(--transition-fast);
}
.brain-tab:hover {
color: var(--text-primary);
background: rgba(255, 255, 255, 0.04);
}
.brain-tab.active {
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
.editor-area {
width: 100%;
min-height: 400px;
padding: 16px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: 13px;
line-height: 1.7;
font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
resize: vertical;
transition: border-color var(--transition-fast);
}
.editor-area:focus {
outline: none;
border-color: var(--border-focus);
}
.editor-actions {
display: flex;
gap: 10px;
margin-top: 12px;
}
/* ═══════════════════════════════════════════════════════════
TASKS PAGE
═══════════════════════════════════════════════════════════ */
.task-list {
display: flex;
flex-direction: column;
gap: 4px;
}
.task-item {
display: flex;
align-items: center;
gap: 14px;
padding: 12px 16px;
border-radius: var(--radius-sm);
transition: background var(--transition-fast);
}
.task-item:hover {
background: rgba(255, 255, 255, 0.02);
}
.task-type-badge {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 3px 8px;
border-radius: 4px;
flex-shrink: 0;
}
.task-type-badge.cron {
background: var(--brand-purple-dim);
color: var(--brand-purple);
}
.task-type-badge.heartbeat {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.task-name {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
min-width: 140px;
}
.task-detail {
font-size: 12px;
color: var(--text-muted);
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.task-schedule {
font-size: 11px;
font-weight: 500;
color: var(--text-secondary);
font-family: 'SF Mono', 'Fira Code', monospace;
flex-shrink: 0;
}
/* ═══════════════════════════════════════════════════════════
SKILL CARDS
═══════════════════════════════════════════════════════════ */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 14px;
}
.skill-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 18px;
transition: all var(--transition-fast);
animation: fadeIn 0.4s ease forwards;
}
.skill-card:hover {
border-color: var(--border-hover);
transform: translateY(-1px);
}
.skill-name {
font-size: 14px;
font-weight: 700;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 8px;
}
.skill-name::before {
content: "⚡";
font-size: 12px;
}
.skill-preview {
font-size: 12px;
color: var(--text-muted);
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* ═══════════════════════════════════════════════════════════
SETTINGS PAGE
═══════════════════════════════════════════════════════════ */
.settings-section {
margin-bottom: 28px;
}
.settings-section-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 14px;
display: flex;
align-items: center;
gap: 8px;
}
/* ═══════════════════════════════════════════════════════════
BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 9px 18px;
border-radius: var(--radius-sm);
font-size: 13px;
font-weight: 600;
border: 1px solid var(--border);
background: var(--bg-card);
color: var(--text-primary);
transition: all var(--transition-fast);
}
.btn:hover {
background: var(--bg-card-hover);
border-color: var(--border-hover);
}
.btn.primary {
background: var(--brand-orange);
border-color: var(--brand-orange);
color: #000;
}
.btn.primary:hover {
background: #F0950F;
}
.btn.danger {
color: var(--brand-red);
border-color: rgba(217, 85, 85, 0.3);
}
.btn.danger:hover {
background: var(--brand-red-dim);
}
.btn.saved {
background: var(--brand-green-dim);
border-color: rgba(46, 204, 143, 0.3);
color: var(--brand-green);
}
/* ═══════════════════════════════════════════════════════════
EMPTY STATE
═══════════════════════════════════════════════════════════ */
.empty-state {
padding: 40px 20px;
text-align: center;
color: var(--text-muted);
}
.empty-icon {
font-size: 32px;
margin-bottom: 12px;
opacity: 0.3;
}
.empty-text {
font-size: 14px;
font-weight: 500;
}
/* ═══════════════════════════════════════════════════════════
PRODUCTIVITY PAGE (localStorage-only, bonus)
═══════════════════════════════════════════════════════════ */
.todo-input-row {
display: flex;
gap: 8px;
margin-bottom: 16px;
}
.todo-input {
flex: 1;
padding: 10px 14px;
border-radius: var(--radius-sm);
background: var(--bg-input);
border: 1px solid var(--border);
color: var(--text-primary);
font-size: 13px;
}
.todo-input:focus {
outline: none;
border-color: var(--border-focus);
}
.todo-list {
display: flex;
flex-direction: column;
gap: 4px;
}
.todo-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: var(--radius-sm);
transition: background var(--transition-fast);
}
.todo-item:hover {
background: rgba(255, 255, 255, 0.02);
}
.todo-checkbox {
width: 18px;
height: 18px;
border-radius: 4px;
border: 2px solid rgba(255, 255, 255, 0.15);
background: transparent;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: all var(--transition-fast);
}
.todo-checkbox.checked {
background: var(--brand-green);
border-color: var(--brand-green);
}
.todo-checkbox.checked::after {
content: "✓";
color: #000;
font-size: 11px;
font-weight: 700;
}
.todo-text {
flex: 1;
font-size: 13px;
color: var(--text-primary);
}
.todo-text.completed {
text-decoration: line-through;
color: var(--text-muted);
}
.todo-delete {
opacity: 0;
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 14px;
transition: opacity var(--transition-fast);
}
.todo-item:hover .todo-delete {
opacity: 1;
}
.todo-delete:hover {
color: var(--brand-red);
}
/* ═══════════════════════════════════════════════════════════
SECOND BRAIN — FACT CARDS
═══════════════════════════════════════════════════════════ */
.brain-type-tabs {
display: flex;
gap: 6px;
margin-bottom: 12px;
}
.type-tab {
padding: 7px 14px;
border-radius: var(--radius-sm);
background: var(--bg-input);
border: 1px solid var(--border);
color: var(--text-muted);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
}
.type-tab:hover {
border-color: var(--border-hover);
color: var(--text-primary);
}
.type-tab.active {
background: var(--brand-orange-dim);
border-color: var(--brand-orange);
color: var(--brand-orange);
}
.brain-add-form {
display: flex;
flex-direction: column;
gap: 10px;
}
.brain-input {
width: 100%;
padding: 10px 14px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 13px;
font-family: inherit;
resize: vertical;
transition: border-color var(--transition-fast);
}
.brain-input:focus {
outline: none;
border-color: var(--border-focus);
}
.brain-input-small {
flex: 1;
min-width: 0;
padding: 9px 12px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 12px;
font-family: inherit;
transition: border-color var(--transition-fast);
}
.brain-input-small:focus {
outline: none;
border-color: var(--border-focus);
}
.brain-input-full {
width: 100%;
padding: 10px 14px;
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-size: 13px;
font-family: inherit;
transition: border-color var(--transition-fast);
}
.brain-input-full:focus {
outline: none;
border-color: var(--border-focus);
}
.brain-form-row {
display: flex;
gap: 10px;
align-items: center;
}
.brain-search-row {
margin-bottom: 16px;
}
.brain-facts-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.brain-fact-card {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 14px 16px;
transition: all var(--transition-fast);
animation: fadeIn 0.3s ease forwards;
}
.brain-fact-card:hover {
border-color: var(--border-hover);
}
.brain-fact-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.brain-fact-type {
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.brain-fact-type.note {
background: var(--brand-blue-dim);
color: var(--brand-blue);
}
.brain-fact-type.url {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.brain-fact-type.file {
background: var(--brand-purple-dim);
color: var(--brand-purple);
}
.brain-fact-category {
font-size: 11px;
font-weight: 500;
color: var(--text-muted);
padding: 2px 8px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.05);
}
.brain-fact-delete {
margin-left: auto;
background: none;
border: none;
color: var(--text-disabled);
cursor: pointer;
font-size: 14px;
opacity: 0;
transition: all var(--transition-fast);
}
.brain-fact-card:hover .brain-fact-delete {
opacity: 1;
}
.brain-fact-delete:hover {
color: var(--brand-red);
}
.brain-fact-content {
font-size: 13px;
color: var(--text-primary);
line-height: 1.6;
word-break: break-word;
}
.brain-fact-content a {
color: var(--brand-blue);
text-decoration: none;
}
.brain-fact-content a:hover {
text-decoration: underline;
}
.brain-fact-tags {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-top: 8px;
}
.brain-tag {
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 3px;
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.brain-fact-time {
font-size: 11px;
color: var(--text-disabled);
margin-top: 8px;
}
/* ═══════════════════════════════════════════════════════════
PRODUCTIVITY PAGE — KANBAN
═══════════════════════════════════════════════════════════ */
.productivity-columns {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
margin-top: 16px;
}
.task-column {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
animation: fadeIn 0.4s ease forwards;
}
.task-column-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.task-column-body {
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
min-height: 100px;
max-height: 500px;
overflow-y: auto;
}
.productivity-card {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 14px;
transition: all var(--transition-fast);
}
.productivity-card:hover {
border-color: var(--border-hover);
transform: translateY(-1px);
}
.productivity-card-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.priority-badge {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
padding: 2px 8px;
border-radius: 4px;
letter-spacing: 0.3px;
}
.priority-badge.green {
background: var(--brand-green-dim);
color: var(--brand-green);
}
.priority-badge.blue {
background: var(--brand-blue-dim);
color: var(--brand-blue);
}
.priority-badge.orange {
background: var(--brand-orange-dim);
color: var(--brand-orange);
}
.priority-badge.red {
background: var(--brand-red-dim);
color: var(--brand-red);
}
.project-badge {
font-size: 10px;
font-weight: 500;
color: var(--text-muted);
padding: 2px 6px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.05);
}
.productivity-card-title {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 4px;
}
.productivity-card-desc {
font-size: 12px;
color: var(--text-muted);
margin-bottom: 6px;
line-height: 1.5;
}
.productivity-card-due {
font-size: 11px;
color: var(--text-muted);
margin-bottom: 8px;
}
.productivity-card-actions {
display: flex;
gap: 6px;
margin-top: 6px;
}
.productivity-add-form {
display: flex;
flex-direction: column;
gap: 10px;
}
.empty-state-small {
text-align: center;
color: var(--text-disabled);
font-size: 12px;
padding: 24px 12px;
}
/* ═══════════════════════════════════════════════════════════
CONTENT INTEL PAGE
═══════════════════════════════════════════════════════════ */
.content-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.content-card {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 14px 16px;
transition: all var(--transition-fast);
animation: fadeIn 0.3s ease forwards;
}
.content-card:hover {
border-color: var(--border-hover);
}
.content-card.archived {
opacity: 0.5;
}
.content-card-header {
display: flex;
align-items: flex-start;
gap: 12px;
}
.content-type-icon {
font-size: 20px;
flex-shrink: 0;
margin-top: 2px;
}
.content-card-info {
flex: 1;
min-width: 0;
}
.content-card-title {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 3px;
}
.content-card-title a {
color: var(--brand-blue);
text-decoration: none;
}
.content-card-title a:hover {
text-decoration: underline;
}
.content-card-meta {
font-size: 11px;
color: var(--text-disabled);
}
.content-card-actions {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.content-card-summary {
font-size: 12px;
color: var(--text-muted);
line-height: 1.5;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid var(--border);
}
/* ═══════════════════════════════════════════════════════════
SMALL BUTTONS
═══════════════════════════════════════════════════════════ */
.btn-small {
padding: 4px 10px;
border-radius: var(--radius-sm);
font-size: 11px;
font-weight: 600;
border: 1px solid var(--border);
background: var(--bg-card);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.btn-small:hover {
background: var(--bg-card-hover);
border-color: var(--border-hover);
color: var(--text-primary);
}
.btn-small.danger {
color: var(--text-disabled);
}
.btn-small.danger:hover {
color: var(--brand-red);
background: var(--brand-red-dim);
border-color: rgba(217, 85, 85, 0.3);
}
select.brain-input-small {
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
padding-right: 28px;
}
/* ═══════════════════════════════════════════════════════════
RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
.section-grid {
grid-template-columns: 1fr;
}
.productivity-columns {
grid-template-columns: 1fr;
}
}
@media (max-width: 800px) {
.sidebar {
width: 60px;
min-width: 60px;
}
.sidebar-header,
.sidebar-status,
.sidebar-footer {
display: none;
}
.nav-item span {
display: none;
}
.nav-item {
justify-content: center;
padding: 12px;
}
.main-content {
padding: 20px;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.brain-form-row {
flex-wrap: wrap;
}
}