Spaces:
Running
Running
Komalpreet Kaur
fix: remove example contamination from neocortex extraction prompt
d1ef054 unverified | /* ── 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,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='%23999999'><path d='M7 14l5-5 5 5z'/></svg>"); | |
| } | |
| .modal-scroll-area::-webkit-scrollbar-button:single-button:vertical:increment { | |
| background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='%23999999'><path d='M7 10l5 5 5-5z'/></svg>"); | |
| } | |
| .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 ; | |
| height: 100vh ; | |
| height: 100dvh ; | |
| overflow: hidden ; | |
| width: 100% ; | |
| max-width: 100vw ; | |
| box-sizing: border-box ; | |
| } | |
| .soma-sidebar { | |
| width: 100% ; | |
| padding: 12px 16px ; | |
| flex-direction: row ; | |
| align-items: center ; | |
| justify-content: space-between ; | |
| overflow-x: auto ; | |
| border-bottom: 1px solid rgba(0,0,0,0.05); | |
| flex-shrink: 0 ; | |
| } | |
| body.dark-theme .soma-sidebar { | |
| border-bottom: 1px solid rgba(255,255,255,0.05); | |
| } | |
| .brand-block { | |
| margin-bottom: 0 ; | |
| margin-right: 24px ; | |
| } | |
| .brand-mark { | |
| width: 36px ; | |
| height: 36px ; | |
| } | |
| .brand-mark .material-icons { | |
| font-size: 20px ; | |
| } | |
| .brand-copy { | |
| display: none ; | |
| } | |
| .sidebar-nav { | |
| flex-direction: row ; | |
| flex: 1 ; | |
| overflow-x: auto ; | |
| gap: 8px ; | |
| justify-content: space-around ; | |
| } | |
| .sidebar-link { | |
| height: 40px ; | |
| padding: 0 12px ; | |
| flex-shrink: 0; | |
| } | |
| .sidebar-link span:not(.material-icons) { | |
| display: none ; | |
| } | |
| .theme-toggle-btn { | |
| margin-top: 0 ; | |
| border-top: none ; | |
| padding-top: 0 ; | |
| border-left: 1px solid rgba(0,0,0,0.05) ; | |
| margin-left: 8px ; | |
| padding-left: 16px ; | |
| border-radius: 0 ; | |
| } | |
| body.dark-theme .theme-toggle-btn { | |
| border-left-color: rgba(255,255,255,0.05) ; | |
| } | |
| .sidebar-footer { | |
| margin-top: 0 ; | |
| margin-left: 16px ; | |
| } | |
| .session-card { | |
| padding: 4px ; | |
| border-radius: 8px ; | |
| display: flex ; | |
| align-items: center ; | |
| gap: 4px ; | |
| background: rgba(255, 255, 255, 0.05) ; | |
| } | |
| .session-copy { | |
| display: none ; | |
| } | |
| .session-card button { | |
| display: flex ; | |
| color: #ff6b35 ; | |
| padding: 4px ; | |
| background: transparent ; | |
| border: none ; | |
| cursor: pointer ; | |
| } | |
| .soma-main-panel { | |
| padding: 12px ; | |
| overflow-y: auto ; | |
| flex: 1 ; | |
| width: 100% ; | |
| max-width: 100vw ; | |
| box-sizing: border-box ; | |
| overflow-x: hidden ; | |
| } | |
| .page-canvas { | |
| padding: 16px ; | |
| border-radius: 20px ; | |
| overflow-y: visible ; | |
| height: auto ; | |
| flex: none ; | |
| min-height: auto ; | |
| width: 100% ; | |
| max-width: 100% ; | |
| box-sizing: border-box ; | |
| overflow-x: hidden ; | |
| } | |
| .page-header { | |
| margin-bottom: 24px ; | |
| width: 100% ; | |
| box-sizing: border-box ; | |
| } | |
| /* Overriding inline layout styles with !important */ | |
| .canvas-body[style] { | |
| flex-direction: column ; | |
| gap: 24px ; | |
| overflow-y: visible ; | |
| width: 100% ; | |
| box-sizing: border-box ; | |
| overflow-x: hidden ; | |
| } | |
| .chat-container[style] { | |
| flex: none ; | |
| height: 520px ; | |
| min-height: auto ; | |
| } | |
| .cognitive-container[style] { | |
| flex: none ; | |
| height: auto ; | |
| min-height: auto ; | |
| padding: 20px 0 ; | |
| } | |
| .activity-feed-wrapper[style] { | |
| flex: none ; | |
| max-width: 100% ; | |
| height: 350px ; | |
| margin: 0 ; | |
| } | |
| /* Grid overrides */ | |
| div[style*="grid-template-columns"] { | |
| grid-template-columns: 1fr ; | |
| gap: 24px ; | |
| } | |
| .status-card[style] { | |
| height: auto ; | |
| min-height: 300px ; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .telemetry-modal { | |
| max-height: 90vh ; | |
| border-radius: 24px ; | |
| } | |
| .modal-header { | |
| padding: 20px 20px 12px 20px ; | |
| } | |
| .modal-scroll-area { | |
| padding: 0 20px 20px 20px ; | |
| } | |
| } | |