/* ── Global Scrollbar Styles ── */ * { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.1) transparent; } ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.05); border-radius: 20px; transition: background 0.3s ease; } ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.15); } /* App.css - Final Refinements for 8-Page Design */ .soma-shell { display: flex; height: 100vh; width: 100vw; background-color: transparent; /* Inherits high-fidelity body radial gradients */ overflow: hidden; } /* ── Sidebar ── */ .soma-sidebar { width: 200px; background-color: transparent; display: flex; flex-direction: column; padding: 48px 20px; flex-shrink: 0; } .brand-block { display: flex; align-items: center; gap: 16px; margin-bottom: 56px; } .brand-mark { width: 44px; height: 44px; background-color: #1a1a1a; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; } .brand-mark .material-icons { font-size: 26px; } .brand-copy h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; color: #1a1a1a; letter-spacing: -0.02em; } .brand-copy p { font-size: 0.55rem; color: #888; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; } .sidebar-nav { display: flex; flex-direction: column; gap: 8px; } .sidebar-link { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-radius: 12px; color: #666; text-decoration: none; font-weight: 600; font-size: 0.8rem; transition: all 0.2s ease; background: transparent; } .sidebar-link .material-icons { font-size: 20px; color: #999; } .sidebar-link:hover { background-color: rgba(0, 0, 0, 0.03); color: #1a1a1a; } .sidebar-link.active { background-color: #f7f7f7; /* High contrast active state */ color: #ff6b35; box-shadow: 0 4px 12px rgba(0,0,0,0.03); } .sidebar-link.active .material-icons { color: #ff6b35; } .sidebar-footer { margin-top: auto; } .session-card { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background-color: rgba(255, 255, 255, 0.6); border-radius: 20px; border: 1px solid rgba(0,0,0,0.05); } .session-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid white; } .session-copy { display: flex; flex-direction: column; } .session-copy strong { font-size: 0.75rem; font-weight: 700; color: #1a1a1a; } .session-copy span { font-size: 0.55rem; color: #999; font-weight: 500; } /* ── Main Content Area ── */ .soma-main-panel { flex: 1; padding: 24px 24px 24px 0; display: flex; } .page-canvas { flex: 1; background-color: var(--bg-card); backdrop-filter: blur(20px); border: var(--border-card); border-radius: 48px; padding: 40px; box-shadow: var(--shadow-premium); display: flex; flex-direction: column; position: relative; overflow: hidden; } .page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; } .page-header h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #1a1a1a; letter-spacing: -0.01em; } /* ── Common Components ── */ .status-pill { display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: white; border-radius: 100px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); } .status-pill .label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: #999; font-weight: 700; } .status-pill .value { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; color: #1a1a1a; } .status-dot { width: 8px; height: 8px; background-color: #ff6b35; border-radius: 50%; } .status-dot.pulse { animation: dot-pulse 1.5s infinite ease-in-out; } @keyframes dot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } } /* ── Activity Feed Overlay (Internal Monologue) ── */ .activity-feed-overlay { position: absolute; bottom: 40px; right: 0; width: 320px; background-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(10px); border-radius: 24px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.02); } .feed-header { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #999; font-weight: 700; margin-bottom: 16px; } .feed-list { display: flex; flex-direction: column; gap: 12px; } .feed-item { display: flex; flex-direction: column; gap: 2px; animation: feedItemIn 0.4s ease-out; } .feed-item strong { font-size: 0.8rem; color: #1a1a1a; font-weight: 700; } .feed-item span { font-size: 0.75rem; color: #777; line-height: 1.4; } /* ── Telemetry HUD ── */ .telemetry-trigger { position: absolute; top: 24px; right: 24px; z-index: 100; width: 42px; height: 42px; border-radius: 12px; background: white; border: 1px solid rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; color: #666; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.03); } .telemetry-trigger:hover { background: #fdfdfd; color: #ff6b35; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.06); } .telemetry-trigger.active { background: #ff6b35; color: white; border-color: #ff6b35; } .telemetry-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 40px; animation: fadeIn 0.3s ease-out; } .telemetry-modal { width: 100%; max-width: 620px; height: auto; max-height: 80vh; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(25px); border-radius: 32px; box-shadow: 0 40px 120px rgba(0,0,0,0.08); border: 1px solid white; display: flex; flex-direction: column; overflow: hidden; /* Important: Clip everything to the rounded corners */ position: relative; animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1); color: #1a1a1a; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 32px 32px 16px 32px; background: rgba(255, 255, 255, 0.01); z-index: 10; } .modal-scroll-area { flex: 1; overflow-y: auto; padding: 0 32px 32px 32px; /* Custom scrollbar for the internal area */ } .modal-scroll-area::-webkit-scrollbar { width: 16px; /* Wider track but narrower thumb */ } .modal-scroll-area::-webkit-scrollbar-track { background: transparent; } .modal-scroll-area::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.08); border: 5px solid transparent; /* Pushes the thumb 5px away from all edges */ background-clip: padding-box; border-radius: 10px; } .modal-scroll-area::-webkit-scrollbar-button:single-button { background-color: transparent; display: block; height: 12px; width: 16px; background-repeat: no-repeat; background-position: center; } .modal-scroll-area::-webkit-scrollbar-button:single-button:vertical:decrement { background-image: url("data:image/svg+xml;utf8,"); } .modal-scroll-area::-webkit-scrollbar-button:single-button:vertical:increment { background-image: url("data:image/svg+xml;utf8,"); } .modal-scroll-area::-webkit-scrollbar-button:hover { background-color: rgba(0,0,0,0.02); border-radius: 4px; } .modal-header h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: #999; font-weight: 700; } .modal-header button { background: rgba(0,0,0,0.05); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #666; cursor: pointer; transition: all 0.2s; } .modal-header button:hover { background: #ff6b35; color: white; } @keyframes modalSlide { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } body.dark-theme .telemetry-overlay { background: rgba(0, 0, 0, 0.6); } body.dark-theme .telemetry-modal { background: rgba(25, 25, 25, 0.85); border-color: rgba(255, 255, 255, 0.05); color: #fff; } body.dark-theme .modal-header { background: rgba(255, 255, 255, 0.02); } body.dark-theme .modal-header h3 { color: #ccc; } body.dark-theme .modal-header button { background: rgba(255, 255, 255, 0.1); color: #ccc; } body.dark-theme .modal-header button:hover { background: #ff6b35; color: white; } @keyframes feedItemIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } .timeline-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 40px 20px 240px 20px; text-align: center; opacity: 0.4; gap: 12px; } .timeline-empty span { font-size: 48px; color: #999; } .timeline-empty p { font-size: 0.7rem; color: #999; letter-spacing: 0.02em; } /* ── Responsive Overrides ── */ @media (max-width: 1024px) { .soma-shell { flex-direction: column !important; height: 100vh !important; height: 100dvh !important; overflow: hidden !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; } .soma-sidebar { width: 100% !important; padding: 12px 16px !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; overflow-x: auto !important; border-bottom: 1px solid rgba(0,0,0,0.05); flex-shrink: 0 !important; } body.dark-theme .soma-sidebar { border-bottom: 1px solid rgba(255,255,255,0.05); } .brand-block { margin-bottom: 0 !important; margin-right: 24px !important; } .brand-mark { width: 36px !important; height: 36px !important; } .brand-mark .material-icons { font-size: 20px !important; } .brand-copy { display: none !important; } .sidebar-nav { flex-direction: row !important; flex: 1 !important; overflow-x: auto !important; gap: 8px !important; justify-content: space-around !important; } .sidebar-link { height: 40px !important; padding: 0 12px !important; flex-shrink: 0; } .sidebar-link span:not(.material-icons) { display: none !important; } .theme-toggle-btn { margin-top: 0 !important; border-top: none !important; padding-top: 0 !important; border-left: 1px solid rgba(0,0,0,0.05) !important; margin-left: 8px !important; padding-left: 16px !important; border-radius: 0 !important; } body.dark-theme .theme-toggle-btn { border-left-color: rgba(255,255,255,0.05) !important; } .sidebar-footer { margin-top: 0 !important; margin-left: 16px !important; } .session-card { padding: 4px !important; border-radius: 8px !important; display: flex !important; align-items: center !important; gap: 4px !important; background: rgba(255, 255, 255, 0.05) !important; } .session-copy { display: none !important; } .session-card button { display: flex !important; color: #ff6b35 !important; padding: 4px !important; background: transparent !important; border: none !important; cursor: pointer !important; } .soma-main-panel { padding: 12px !important; overflow-y: auto !important; flex: 1 !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; overflow-x: hidden !important; } .page-canvas { padding: 16px !important; border-radius: 20px !important; overflow-y: visible !important; height: auto !important; flex: none !important; min-height: auto !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; overflow-x: hidden !important; } .page-header { margin-bottom: 24px !important; width: 100% !important; box-sizing: border-box !important; } /* Overriding inline layout styles with !important */ .canvas-body[style] { flex-direction: column !important; gap: 24px !important; overflow-y: visible !important; width: 100% !important; box-sizing: border-box !important; overflow-x: hidden !important; } .chat-container[style] { flex: none !important; height: 520px !important; min-height: auto !important; } .cognitive-container[style] { flex: none !important; height: auto !important; min-height: auto !important; padding: 20px 0 !important; } .activity-feed-wrapper[style] { flex: none !important; max-width: 100% !important; height: 350px !important; margin: 0 !important; } /* Grid overrides */ div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; } .status-card[style] { height: auto !important; min-height: 300px !important; } } @media (max-width: 768px) { .telemetry-modal { max-height: 90vh !important; border-radius: 24px !important; } .modal-header { padding: 20px 20px 12px 20px !important; } .modal-scroll-area { padding: 0 20px 20px 20px !important; } }