.backend-log-viewer { font-family: Arial, sans-serif; color: #e2e8f0; line-height: 1.5; }
.backend-log-entry { padding: 16px; border-bottom: 1px solid #273449; border-left: 3px solid #475569; }
.backend-log-entry:last-child { border-bottom: 0; }
.backend-log-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }
.backend-log-time { color: #a7b5c8; font-variant-numeric: tabular-nums; }
.backend-log-level { border-radius: 4px; padding: 2px 7px; font-weight: 700; font-size: 11px; background: #263449; color: #cbd5e1; }
.backend-log-source { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #94a3b8; font-family: Consolas, monospace; }
.backend-log-message { margin: 9px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.backend-log-info { border-left-color: #60a5fa; }
.backend-log-info .backend-log-level { background: #142f50; color: #93c5fd; }
.backend-log-warn { border-left-color: #fbbf24; }
.backend-log-warn .backend-log-level { background: #3c2d16; color: #fcd34d; }
.backend-log-error { border-left-color: #f87171; }
.backend-log-error .backend-log-level { background: #431d28; color: #fca5a5; }
.backend-log-details { margin-top: 10px; font-size: 12px; color: #a7b5c8; }
.backend-log-details summary { cursor: pointer; width: fit-content; }
.backend-log-details summary:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
.backend-log-fields { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr); gap: 6px 12px; margin: 10px 0 0; padding: 10px; background: #101b2b; border-radius: 6px; }
.backend-log-fields dt { color: #9baec5; overflow-wrap: anywhere; }
.backend-log-fields dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #e2e8f0; font-family: Consolas, monospace; }
.backend-log-empty { padding: 24px; text-align: center; font-size: 14px; color: #94a3b8; }
@media (max-width: 600px) { .backend-log-entry { padding: 12px; } .backend-log-fields { grid-template-columns: 1fr; } .backend-log-fields dd { margin-bottom: 6px; } }
