Vaibhav Kathait
Add en/it/fr/es/de language support; default to our own agent LLM instead of Anam's
7f73287 Download anam/static/css/style.css from SUPER321/anam_code: direct link, hf CLI and curl.
- Browser
- Download file 21 kB
-
https://huggingface.co/spaces/SUPER321/anam_code/resolve/main/anam/static/css/style.css
- Command line
-
hf download hf://spaces/SUPER321/anam_code/anam/static/css/style.css
-
curl -L -o style.css https://huggingface.co/spaces/SUPER321/anam_code/resolve/main/anam/static/css/style.css
21 kB
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| background: #0d0d0d; color: #e0e0e0; | |
| min-height: 100vh; display: flex; flex-direction: column; | |
| align-items: center; padding: 32px 16px; gap: 20px; | |
| } | |
| header { text-align: center; } | |
| header h1 { font-size: 26px; font-weight: 700; } | |
| header p { font-size: 13px; color: #666; margin-top: 4px; } | |
| .header-row { | |
| display: flex; align-items: center; justify-content: center; | |
| gap: 16px; position: relative; | |
| } | |
| #lang-switcher { | |
| position: absolute; right: 0; top: 50%; transform: translateY(-50%); | |
| display: flex; align-items: center; gap: 6px; | |
| } | |
| #lang-switcher label { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 0.5px; } | |
| #lang-switcher select { | |
| padding: 6px 8px; border-radius: 6px; border: 1px solid #2a2a2a; | |
| background: #1a1a1a; color: #e0e0e0; font-size: 12px; | |
| } | |
| /* ββ Video ββ */ | |
| #video-container { | |
| width: 640px; max-width: 100%; aspect-ratio: 16/9; | |
| background: #1a1a1a; border-radius: 14px; overflow: hidden; | |
| position: relative; border: 1px solid #2a2a2a; | |
| } | |
| #avatar-video { width: 100%; height: 100%; object-fit: cover; display: none; } | |
| #placeholder { | |
| position: absolute; inset: 0; display: flex; flex-direction: column; | |
| align-items: center; justify-content: center; gap: 8px; color: #444; | |
| } | |
| #placeholder svg { opacity: 0.3; transition: opacity 0.3s; } | |
| #placeholder p { font-size: 14px; } | |
| #placeholder.connecting svg { display: none; } | |
| #placeholder.connecting #placeholder-hint { display: none; } | |
| #placeholder-spinner { | |
| display: none; width: 48px; height: 48px; | |
| border: 3px solid #2a2a2a; border-top-color: #FFC107; | |
| border-radius: 50%; animation: spin 0.9s linear infinite; | |
| } | |
| #placeholder.connecting #placeholder-spinner { display: block; } | |
| #placeholder-status { | |
| font-size: 13px; color: #888; display: none; | |
| } | |
| #placeholder.connecting #placeholder-status { display: block; } | |
| #rag-active-badge { | |
| position: absolute; top: 12px; left: 12px; display: none; | |
| background: rgba(156,39,176,0.85); color: #fff; | |
| font-size: 11px; font-weight: 600; padding: 4px 10px; | |
| border-radius: 20px; letter-spacing: 0.3px; | |
| } | |
| #mic-indicator { | |
| position: absolute; bottom: 14px; right: 14px; | |
| width: 36px; height: 36px; border-radius: 50%; | |
| background: rgba(0,0,0,0.6); display: none; | |
| align-items: center; justify-content: center; | |
| border: 2px solid #4CAF50; transition: border-color 0.2s; | |
| } | |
| #mic-indicator.muted { border-color: #f44336; } | |
| #mic-indicator svg { width: 18px; height: 18px; } | |
| /* ββ Status ββ */ | |
| #status-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #888; } | |
| #status-dot { | |
| width: 8px; height: 8px; border-radius: 50%; background: #444; transition: background 0.3s; | |
| } | |
| #status-dot.connected { background: #4CAF50; } | |
| #status-dot.connecting { background: #FFC107; animation: pulse 1s infinite; } | |
| #status-dot.error { background: #f44336; } | |
| @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| #call-timer { | |
| display: none; margin-left: auto; font-size: 13px; font-weight: 600; | |
| color: #FFC107; font-variant-numeric: tabular-nums; | |
| } | |
| #call-timer.visible { display: inline-block; } | |
| #call-timer.ending { color: #f44336; animation: pulse 1s infinite; } | |
| /* ββ Plan toggle (Free / Pro) ββ */ | |
| #plan-section { width: 640px; max-width: 100%; } | |
| #plan-row { display: flex; align-items: center; gap: 10px; } | |
| #plan-row .plan-label { font-size: 12px; color: #666; transition: color 0.2s; } | |
| #plan-row .plan-label.active { color: #e0e0e0; font-weight: 600; } | |
| .switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; } | |
| .switch input { opacity: 0; width: 0; height: 0; } | |
| .switch .knob { | |
| position: absolute; inset: 0; cursor: pointer; border-radius: 24px; | |
| background: #ff9800; transition: background 0.25s; /* Free = orange */ | |
| } | |
| .switch .knob::before { | |
| content: ""; position: absolute; left: 3px; top: 3px; | |
| width: 18px; height: 18px; border-radius: 50%; | |
| background: #fff; transition: transform 0.25s; | |
| } | |
| .switch input:checked + .knob { background: #4CAF50; } /* Pro = green */ | |
| .switch input:checked + .knob::before { transform: translateX(20px); } | |
| #plan-banner { | |
| display: none; margin-top: 8px; padding: 10px 12px; | |
| background: #2a2112; border: 1px solid #4a3a1b; border-radius: 8px; | |
| font-size: 12px; color: #FFC107; line-height: 1.5; | |
| } | |
| #plan-banner.visible { display: block; } | |
| /* ββ Controls ββ */ | |
| .controls { | |
| display: flex; gap: 10px; flex-wrap: wrap; | |
| justify-content: center; width: 640px; max-width: 100%; | |
| } | |
| select { | |
| flex: 1; min-width: 200px; padding: 10px 14px; | |
| border-radius: 8px; border: 1px solid #2a2a2a; | |
| background: #1a1a1a; color: #e0e0e0; font-size: 13px; cursor: pointer; | |
| } | |
| button { | |
| padding: 10px 20px; border-radius: 8px; border: none; | |
| font-size: 13px; font-weight: 600; cursor: pointer; | |
| transition: opacity 0.2s, transform 0.1s; white-space: nowrap; | |
| } | |
| button:active:not(:disabled) { transform: scale(0.97); } | |
| button:disabled { opacity: 0.35; cursor: not-allowed; } | |
| #connect-btn { background: #4CAF50; color: #fff; } | |
| #disconnect-btn { background: #f44336; color: #fff; } | |
| /* ββ Advanced panel ββ */ | |
| #preset-row { display: flex; gap: 16px; align-items: center; } | |
| #advanced-toggle { | |
| font-size: 12px; color: #555; cursor: pointer; text-decoration: underline; | |
| background: none; border: none; padding: 0; | |
| } | |
| #advanced-toggle:hover { color: #888; } | |
| #clinical-preset-btn { | |
| font-size: 12px; color: #4a7a4a; cursor: pointer; text-decoration: underline; | |
| background: none; border: none; padding: 0; | |
| } | |
| #clinical-preset-btn:hover { color: #4CAF50; } | |
| #advanced-panel { | |
| display: none; width: 640px; max-width: 100%; | |
| background: #111; border-radius: 10px; padding: 14px; | |
| border: 1px solid #1e1e1e; flex-direction: column; gap: 8px; | |
| } | |
| #advanced-panel label { font-size: 12px; color: #888; } | |
| #system-prompt-input { | |
| width: 100%; padding: 10px 12px; border-radius: 8px; | |
| border: 1px solid #2a2a2a; background: #1a1a1a; | |
| color: #e0e0e0; font-size: 13px; font-family: inherit; | |
| resize: vertical; outline: none; | |
| } | |
| #system-prompt-input:focus { border-color: #2196F3; } | |
| /* ββ Mode tabs ββ */ | |
| .mode-tabs { | |
| display: flex; gap: 0; border-radius: 8px; overflow: hidden; | |
| border: 1px solid #2a2a2a; width: fit-content; | |
| } | |
| .mode-tab { | |
| padding: 8px 18px; font-size: 13px; font-weight: 500; | |
| background: #1a1a1a; color: #888; cursor: pointer; border: none; | |
| transition: background 0.2s, color 0.2s; | |
| } | |
| .mode-tab.active { background: #2196F3; color: #fff; } | |
| /* ββ Input area ββ */ | |
| .input-area { width: 640px; max-width: 100%; } | |
| #voice-mode-row { | |
| display: none; flex-direction: column; | |
| align-items: center; gap: 14px; padding: 8px 0; | |
| } | |
| .voice-btn-row { display: flex; gap: 14px; align-items: center; } | |
| #mic-btn { | |
| width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer; | |
| display: flex; align-items: center; justify-content: center; | |
| background: #1a1a1a; border: 2px solid #4CAF50; | |
| transition: background 0.2s, border-color 0.2s, transform 0.1s; | |
| } | |
| #mic-btn:disabled { opacity: 0.35; cursor: not-allowed; } | |
| #mic-btn.muted { border-color: #f44336; background: #2a1a1a; } | |
| #mic-btn:active:not(:disabled) { transform: scale(0.94); } | |
| #interrupt-btn { | |
| padding: 10px 18px; background: #FF9800; color: #fff; | |
| border-radius: 8px; border: none; font-size: 13px; font-weight: 600; | |
| cursor: pointer; transition: opacity 0.2s; | |
| } | |
| #interrupt-btn:disabled { opacity: 0.35; cursor: not-allowed; } | |
| #voice-hint { font-size: 12px; color: #666; } | |
| #text-mode-row { display: none; gap: 10px; } | |
| #message-input { | |
| flex: 1; padding: 10px 14px; border-radius: 8px; | |
| border: 1px solid #2a2a2a; background: #1a1a1a; | |
| color: #e0e0e0; font-size: 14px; outline: none; transition: border-color 0.2s; | |
| } | |
| #message-input:focus { border-color: #2196F3; } | |
| #message-input:disabled { opacity: 0.35; } | |
| #send-btn { background: #2196F3; color: #fff; } | |
| /* ββ Knowledge Base ββ */ | |
| #kb-section { | |
| width: 640px; max-width: 100%; | |
| background: #111; border: 1px solid #1e2a1e; | |
| border-radius: 12px; padding: 18px; | |
| display: flex; flex-direction: column; gap: 14px; | |
| } | |
| .kb-header { display: flex; align-items: center; justify-content: space-between; } | |
| .kb-header h3 { font-size: 15px; font-weight: 600; color: #c8e6c9; } | |
| .kb-header-right { display: flex; align-items: center; gap: 10px; } | |
| #kb-setup-badge { | |
| font-size: 11px; font-weight: 600; padding: 3px 9px; | |
| border-radius: 20px; display: none; | |
| } | |
| #kb-setup-badge.ready { background: #1b3a1b; color: #4CAF50; border: 1px solid #2a5a2a; } | |
| #kb-setup-badge.setting-up { background: #2a2a1b; color: #FFC107; border: 1px solid #4a4a1b; } | |
| /* Drop zone */ | |
| #drop-zone { | |
| border: 2px dashed #2a2a2a; border-radius: 10px; | |
| padding: 24px 16px; text-align: center; cursor: pointer; | |
| transition: border-color 0.2s, background 0.2s; | |
| display: flex; flex-direction: column; align-items: center; gap: 8px; | |
| } | |
| #drop-zone:hover, #drop-zone.drag-over { border-color: #4CAF50; background: #0d1a0d; } | |
| #drop-zone svg { opacity: 0.4; } | |
| #drop-zone p { font-size: 13px; color: #666; } | |
| #drop-zone span { font-size: 12px; color: #444; } | |
| #browse-btn { | |
| padding: 6px 14px; border-radius: 6px; border: 1px solid #2a2a2a; | |
| background: #1a1a1a; color: #aaa; font-size: 12px; font-weight: 600; | |
| cursor: pointer; margin-top: 4px; | |
| } | |
| #browse-btn:hover { border-color: #4CAF50; color: #4CAF50; } | |
| /* Upload status */ | |
| #upload-status { | |
| display: none; align-items: center; gap: 10px; | |
| background: #0d1a0d; border: 1px solid #2a5a2a; | |
| border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #4CAF50; | |
| } | |
| .spinner { | |
| width: 16px; height: 16px; border: 2px solid #2a5a2a; | |
| border-top-color: #4CAF50; border-radius: 50%; | |
| animation: spin 0.8s linear infinite; flex-shrink: 0; | |
| } | |
| /* Document list */ | |
| #doc-list { display: flex; flex-direction: column; gap: 8px; } | |
| .doc-row { | |
| display: flex; align-items: center; gap: 10px; | |
| background: #161616; border: 1px solid #222; border-radius: 8px; padding: 10px 12px; | |
| } | |
| .doc-icon { font-size: 18px; flex-shrink: 0; } | |
| .doc-name { flex: 1; font-size: 13px; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .doc-size { font-size: 11px; color: #555; flex-shrink: 0; } | |
| .doc-badge { | |
| font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; | |
| flex-shrink: 0; display: flex; align-items: center; gap: 5px; | |
| } | |
| .doc-badge.ready { background: #1b3a1b; color: #4CAF50; border: 1px solid #2a5a2a; } | |
| .doc-badge.processing { background: #2a1f0d; color: #FF9800; border: 1px solid #4a3a1b; } | |
| .doc-badge.uploading { background: #1a1a2a; color: #FFC107; border: 1px solid #3a3a2a; } | |
| .doc-badge.failed { background: #2a1010; color: #f44336; border: 1px solid #4a2020; } | |
| .doc-badge-spinner { | |
| width: 10px; height: 10px; border: 1.5px solid currentColor; | |
| border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; | |
| } | |
| .doc-delete { | |
| background: none; border: none; color: #555; cursor: pointer; | |
| font-size: 18px; line-height: 1; padding: 0 2px; | |
| transition: color 0.2s; flex-shrink: 0; | |
| } | |
| .doc-delete:hover:not(:disabled) { color: #f44336; } | |
| .doc-delete:disabled { opacity: 0.3; cursor: not-allowed; } | |
| /* RAG toggle */ | |
| #use-rag-row { | |
| display: none; align-items: center; gap: 10px; | |
| background: #0d0d1a; border: 1px solid #2a2a4a; | |
| border-radius: 8px; padding: 12px 14px; cursor: pointer; | |
| } | |
| #use-rag-row input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; accent-color: #9C27B0; } | |
| #use-rag-label { font-size: 13px; color: #aaa; cursor: pointer; user-select: none; } | |
| #use-rag-label strong { color: #CE93D8; } | |
| #rag-doc-count { font-size: 12px; color: #666; margin-left: auto; } | |
| .kb-reset-btn { | |
| background: none; border: none; color: #555; font-size: 12px; | |
| cursor: pointer; text-decoration: underline; | |
| } | |
| .kb-reset-btn:hover { color: #f44336; } | |
| /* RAG system prompt editor */ | |
| #rag-prompt-section { | |
| display: none; flex-direction: column; gap: 8px; | |
| border-top: 1px solid #1e2a1e; padding-top: 14px; | |
| } | |
| #rag-prompt-section label { font-size: 12px; color: #6a9e6a; } | |
| #rag-system-prompt { | |
| width: 100%; padding: 10px 12px; border-radius: 8px; | |
| border: 1px solid #2a3a2a; background: #0d160d; | |
| color: #c8e6c9; font-size: 12px; font-family: inherit; | |
| resize: vertical; outline: none; line-height: 1.6; | |
| } | |
| #rag-system-prompt:focus { border-color: #4CAF50; } | |
| .rag-prompt-actions { display: flex; gap: 8px; align-items: center; } | |
| #apply-rag-prompt-btn { | |
| padding: 7px 16px; border-radius: 6px; border: none; | |
| background: #2e7d32; color: #fff; font-size: 12px; font-weight: 600; | |
| cursor: pointer; transition: background 0.2s; | |
| } | |
| #apply-rag-prompt-btn:hover { background: #388e3c; } | |
| #apply-rag-prompt-btn:disabled { opacity: 0.4; cursor: not-allowed; } | |
| #rag-prompt-hint { font-size: 11px; color: #555; } | |
| #rag-prompt-toggle { | |
| font-size: 12px; color: #4a7a4a; cursor: pointer; | |
| background: none; border: none; text-decoration: underline; padding: 0; | |
| } | |
| #rag-prompt-toggle:hover { color: #4CAF50; } | |
| /* ββ RAG mode tabs ββ */ | |
| .rag-mode-tabs { | |
| display: flex; gap: 0; border-radius: 6px; overflow: hidden; | |
| border: 1px solid #2a2a2a; | |
| } | |
| .rag-mode-tab { | |
| padding: 5px 14px; font-size: 12px; font-weight: 500; | |
| background: #1a1a1a; color: #666; cursor: pointer; border: none; | |
| transition: background 0.2s, color 0.2s; | |
| } | |
| .rag-mode-tab.active { background: #1a2a3a; color: #64B5F6; } | |
| .rag-mode-tab:hover:not(.active) { color: #aaa; } | |
| .rag-mode-note { | |
| font-size: 12px; color: #555; line-height: 1.5; | |
| } | |
| /* Local RAG drop zone */ | |
| #local-drop-zone { | |
| border: 2px dashed #2a2a3a; border-radius: 10px; | |
| padding: 24px 16px; text-align: center; cursor: pointer; | |
| transition: border-color 0.2s, background 0.2s; | |
| display: flex; flex-direction: column; align-items: center; gap: 8px; | |
| } | |
| #local-drop-zone:hover, #local-drop-zone.drag-over { border-color: #64B5F6; background: #0d0d1a; } | |
| #local-drop-zone svg { opacity: 0.4; } | |
| #local-drop-zone p { font-size: 13px; color: #666; } | |
| #local-drop-zone span { font-size: 12px; color: #444; } | |
| #local-browse-btn { | |
| padding: 6px 14px; border-radius: 6px; border: 1px solid #2a2a3a; | |
| background: #1a1a1a; color: #aaa; font-size: 12px; font-weight: 600; | |
| cursor: pointer; margin-top: 4px; | |
| } | |
| #local-browse-btn:hover { border-color: #64B5F6; color: #64B5F6; } | |
| #local-upload-status { | |
| display: none; align-items: center; gap: 10px; | |
| background: #0d0d1a; border: 1px solid #2a2a4a; | |
| border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #64B5F6; | |
| } | |
| #use-local-rag-row { | |
| display: none; align-items: center; gap: 10px; | |
| background: #0d0d1a; border: 1px solid #2a2a4a; | |
| border-radius: 8px; padding: 12px 14px; cursor: pointer; | |
| font-size: 13px; color: #aaa; | |
| } | |
| #use-local-rag-row input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; accent-color: #2196F3; } | |
| #local-doc-count { font-size: 12px; color: #666; margin-left: auto; } | |
| /* ββ Log ββ */ | |
| #log { | |
| width: 640px; max-width: 100%; max-height: 160px; overflow-y: auto; | |
| background: #111; border-radius: 10px; padding: 12px 14px; | |
| font-size: 12px; font-family: 'Menlo', 'Courier New', monospace; | |
| border: 1px solid #1e1e1e; | |
| } | |
| .log-line { line-height: 1.7; } | |
| .log-info { color: #888; } | |
| .log-success { color: #4CAF50; } | |
| .log-error { color: #f44336; } | |
| .log-user { color: #64B5F6; } | |
| .log-warn { color: #FFC107; } | |
| .log-rag { color: #CE93D8; } | |
| /* ββ Blood Test Report (Clinical RAG) ββ */ | |
| #clinical-section { | |
| width: 640px; max-width: 100%; | |
| background: #111; border: 1px solid #1e2a1e; | |
| border-radius: 12px; padding: 18px; | |
| display: flex; flex-direction: column; gap: 14px; | |
| } | |
| #report-status-badge { | |
| font-size: 11px; font-weight: 600; padding: 3px 9px; | |
| border-radius: 20px; display: none; | |
| } | |
| #report-status-badge.ready { background: #1b3a1b; color: #4CAF50; border: 1px solid #2a5a2a; } | |
| #report-drop-zone { | |
| border: 2px dashed #2a2a2a; border-radius: 10px; | |
| padding: 24px 16px; text-align: center; cursor: pointer; | |
| transition: border-color 0.2s, background 0.2s; | |
| display: flex; flex-direction: column; align-items: center; gap: 8px; | |
| } | |
| #report-drop-zone:hover, #report-drop-zone.drag-over { border-color: #4CAF50; background: #0d1a0d; } | |
| #report-drop-zone svg { opacity: 0.4; } | |
| #report-drop-zone p { font-size: 13px; color: #666; } | |
| #report-drop-zone span { font-size: 12px; color: #444; } | |
| #report-browse-btn { | |
| padding: 6px 14px; border-radius: 6px; border: 1px solid #2a2a2a; | |
| background: #1a1a1a; color: #aaa; font-size: 12px; font-weight: 600; | |
| cursor: pointer; margin-top: 4px; | |
| } | |
| #report-browse-btn:hover { border-color: #4CAF50; color: #4CAF50; } | |
| #report-upload-status { | |
| display: none; align-items: center; gap: 10px; | |
| background: #0d1a0d; border: 1px solid #2a5a2a; | |
| border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #4CAF50; | |
| } | |
| #report-summary { display: flex; flex-direction: column; gap: 8px; } | |
| .report-line { | |
| display: flex; flex-direction: column; gap: 8px; | |
| background: #161616; border: 1px solid #222; border-radius: 8px; padding: 10px 12px; | |
| font-size: 13px; | |
| } | |
| .report-line-top { display: flex; align-items: center; gap: 10px; } | |
| .report-marker { flex: 1; color: #ccc; } | |
| .report-value { color: #888; font-size: 12px; } | |
| .report-flag { | |
| font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; | |
| text-transform: uppercase; flex-shrink: 0; | |
| } | |
| .report-line.flag-low .report-flag { background: #2a1010; color: #f44336; border: 1px solid #4a2020; } | |
| .report-line.flag-high .report-flag { background: #2a2a1b; color: #FFC107; border: 1px solid #4a4a1b; } | |
| .report-line.flag-normal .report-flag { background: #1b3a1b; color: #4CAF50; border: 1px solid #2a5a2a; } | |
| .report-line.flag-unknown .report-flag { background: #1a1a2a; color: #888; border: 1px solid #2a2a3a; } | |
| /* ββ Report value bar β shows value vs. reference range ββ */ | |
| .report-bar-track { | |
| position: relative; height: 6px; border-radius: 3px; | |
| background: #0d0d0d; border: 1px solid #222; | |
| } | |
| .report-bar-range { | |
| position: absolute; top: -1px; bottom: -1px; | |
| background: #1b3a1b; border: 1px solid #2a5a2a; border-radius: 3px; | |
| } | |
| .report-bar-marker { | |
| position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; | |
| transform: translate(-50%, -50%); | |
| background: #888; border: 2px solid #0d0d0d; | |
| } | |
| .report-line.flag-low .report-bar-marker { background: #f44336; } | |
| .report-line.flag-high .report-bar-marker { background: #FFC107; } | |
| .report-line.flag-normal .report-bar-marker { background: #4CAF50; } | |
| .report-line.flag-unknown .report-bar-marker { background: #888; } | |
| /* ββ Telemetry / Session Cost ββ */ | |
| #telemetry-panel { | |
| width: 640px; max-width: 100%; | |
| background: #111; border: 1px solid #1e2a1e; | |
| border-radius: 12px; padding: 18px; | |
| display: flex; flex-direction: column; gap: 12px; | |
| } | |
| .tm-header { display: flex; align-items: center; justify-content: space-between; } | |
| .tm-header h3 { font-size: 15px; font-weight: 600; color: #c8e6c9; } | |
| #telemetry-stats { display: flex; gap: 12px; flex-wrap: wrap; } | |
| .tm-stat { | |
| flex: 1; min-width: 90px; | |
| background: #161616; border: 1px solid #222; | |
| border-radius: 8px; padding: 10px 14px; | |
| display: flex; flex-direction: column; gap: 2px; | |
| } | |
| .tm-stat-value { font-size: 1.3rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; } | |
| .tm-stat-label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 0.06em; } | |
| .tm-stat.live { border-color: #2a5a2a; background: #0d1a0d; } | |
| .tm-stat.live .tm-stat-value { color: #4CAF50; } | |
| #telemetry-rate-note { font-size: 0.74rem; color: #555; line-height: 1.5; } | |
| #telemetry-sessions { display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow-y: auto; } | |
| #telemetry-empty { font-size: 0.82rem; color: #555; font-style: italic; padding: 8px 0; } | |
| .telemetry-row { | |
| display: grid; | |
| grid-template-columns: 1fr 1.2fr 3rem 3.5rem 3.5rem 3rem; | |
| gap: 8px; align-items: center; | |
| background: #161616; border: 1px solid #222; | |
| border-radius: 6px; padding: 7px 10px; font-size: 0.78rem; | |
| } | |
| .telemetry-row.active { border-color: #2a5a2a; background: #0d1a0d; } | |
| .telemetry-row .tm-time { color: #888; } | |
| .telemetry-row .tm-persona { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .telemetry-row .tm-plan { text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.05em; } | |
| .telemetry-row .tm-plan-free { color: #FFC107; } | |
| .telemetry-row .tm-plan-pro { color: #4CAF50; } | |
| .telemetry-row .tm-duration { font-variant-numeric: tabular-nums; } | |
| .telemetry-row .tm-cost { font-weight: 600; color: #fff; text-align: right; } | |
| .telemetry-row .tm-status { text-align: right; font-size: 0.72rem; } | |
| .telemetry-row.active .tm-status { color: #4CAF50; } | |