.lg-card { padding: 28px; }
.lg-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.lg-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

.lg-dropzone { border: 2px dashed #ddd; border-radius: 10px; padding: 26px; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease; margin-bottom: 16px; }
.lg-dropzone:hover, .lg-dropzone.dragover { border-color: var(--site-light); background: #f0fdfa; }
.lg-dropzone i { font-size: 1.8em; color: var(--site-light); margin-bottom: 8px; display: block; }
.lg-dropzone p { margin: 0; color: #6b7280; font-size: .9em; }
.lg-dropzone input { display: none; }

#lgInput { width: 100%; min-height: 160px; border: 1px solid #ddd; border-radius: 8px; padding: 14px 16px; font-family: "Courier New", monospace; font-size: .85em; line-height: 1.6; resize: vertical; box-sizing: border-box; outline: none; margin-bottom: 16px; }
#lgInput:focus { border-color: var(--site-light); }

.lg-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.lg-filter-field { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: 8px; padding: 9px 14px; }
.lg-filter-field i { color: #9aa0aa; }
.lg-filter-field input { border: none; outline: none; flex: 1; font-size: .92em; }
.lg-checkbox { display: flex; align-items: center; gap: 6px; font-size: .85em; font-weight: 600; color: #374151; cursor: pointer; user-select: none; }
.lg-checkbox input { accent-color: var(--site-dark); width: 15px; height: 15px; cursor: pointer; }

.lg-summary { font-size: .85em; color: #6b7280; margin-bottom: 14px; }
.lg-summary strong { color: var(--site-dark); }

.lg-timeline-wrap { border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; background: #fafbfc; }
.lg-timeline-bars { display: flex; align-items: flex-end; gap: 2px; height: 110px; }
.lg-timeline-bar { flex: 1; background: linear-gradient(180deg, var(--site-light), var(--site-dark)); border-radius: 3px 3px 0 0; min-height: 2px; cursor: default; }
.lg-timeline-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: .74em; color: #9aa0aa; }

.lg-log-list { border: 1px solid #eee; border-radius: 8px; max-height: 380px; overflow-y: auto; }
.lg-log-line { padding: 7px 14px; border-bottom: 1px solid #f0f1f3; font-family: "Courier New", monospace; font-size: .84em; white-space: pre-wrap; word-break: break-word; }
.lg-log-line:nth-child(even) { background: #fafbfc; }
.lg-log-line mark { background: #fde68a; border-radius: 2px; padding: 0 1px; }
.lg-log-line.lg-level-error { border-left: 3px solid var(--site-danger); }
.lg-log-line.lg-level-warn { border-left: 3px solid #f59e0b; }
.lg-empty { padding: 24px; text-align: center; color: #6b7280; font-size: .9em; }

@media (max-width: 600px) {
    .lg-controls { flex-direction: column; align-items: stretch; }
}
