/* ============================================================
   Planetary Talent logstream
   ============================================================ */
:root {
  --font-ui: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --pt-white: #FFFFFF;
  --pt-cosmic-fog: #F7F3F2;
  --pt-lunar-dust: #E2DEDD;
  --pt-steel-gray: #727779;
  --pt-polished-steel: #B5BBBF;
  --pt-graphite-core: #222326;
  --pt-deep-void: #121314;
  --pt-crater-shadow: #4B4C51;
  --pt-rocket-flame: #ED6033;
  --pt-galactic-seafoam: #5DC6AD;
  --pt-solar-gold: #FFAE00;
  --pt-atmosphere-blue: #5DA3C6;
  --pt-red-alert: #E13D33;

  --pt-rocket-flame-20: rgba(237, 96, 51, 0.2);
  --pt-galactic-seafoam-20: rgba(93, 198, 173, 0.2);
  --pt-solar-gold-20: rgba(255, 174, 0, 0.2);
  --pt-atmosphere-blue-20: rgba(93, 163, 198, 0.2);
  --pt-red-alert-20: rgba(225, 61, 51, 0.2);

  --pt-ink-on-flame-20: #B24321;
  --pt-ink-on-seafoam-20: #1F6E5D;
  --pt-ink-on-gold-20: #B06E00;
  --pt-ink-on-blue-20: #2F6680;
  --pt-ink-on-red-20: #A2231C;

  --bg-page: var(--pt-cosmic-fog);
  --bg-surface: var(--pt-white);
  --bg-soft: var(--pt-cosmic-fog);
  --text-primary: var(--pt-graphite-core);
  --text-secondary: var(--pt-steel-gray);
  --text-muted: var(--pt-polished-steel);
  --border: var(--pt-lunar-dust);
  --accent: var(--pt-rocket-flame);
  --focus-outline: var(--pt-rocket-flame);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 1000px;

  --error-bg: var(--pt-red-alert-20);
  --error-text: var(--pt-ink-on-red-20);
  --error-accent: var(--pt-red-alert);
  --warn-bg: var(--pt-solar-gold-20);
  --warn-text: var(--pt-ink-on-gold-20);
  --warn-accent: var(--pt-solar-gold);
  --info-bg: var(--pt-atmosphere-blue-20);
  --info-text: var(--pt-ink-on-blue-20);
  --info-accent: var(--pt-atmosphere-blue);
  --debug-bg: var(--pt-lunar-dust);
  --debug-text: var(--pt-steel-gray);
  --healthy-bg: var(--pt-galactic-seafoam-20);
  --healthy-text: var(--pt-ink-on-seafoam-20);
  --healthy-dot: var(--pt-galactic-seafoam);
  --idle-dot: var(--pt-steel-gray);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 4px solid var(--focus-outline);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(34, 35, 38, 0.72);
  backdrop-filter: blur(6px);
}

.modal-card {
  width: min(424px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
}

.modal-logo {
  width: 56px;
  height: 40px;
  object-fit: contain;
}

.modal-kicker,
.mission-kicker,
.sidebar-kicker,
.sidebar-label,
.metric-label,
.col {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.modal-title {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.modal-desc {
  max-width: 304px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.modal-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--text-primary);
  outline: 0;
}

.modal-input:focus {
  border-color: var(--pt-graphite-core);
  background: var(--bg-surface);
}

.modal-error {
  color: var(--error-text);
  font-size: 12px;
  text-align: center;
}

.modal-button {
  width: 100%;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: var(--pt-rocket-flame);
  color: var(--pt-white);
  font-size: 14px;
  font-weight: 700;
  transition: filter 160ms ease, transform 160ms ease;
}

.modal-button:hover {
  filter: brightness(0.96);
}

.modal-button:active,
.ghost-button:active,
.time-range-item:active,
.level-pill:active {
  transform: scale(0.97);
}

/* Shell */
.app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
}

.header {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-page);
}

.header-left,
.header-right,
.live-indicator,
.search-box,
.source-item,
.level-pill,
.status-left,
.streaming-indicator,
.ghost-button {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 12px;
  min-width: 184px;
}

.logo {
  width: 40px;
  height: 32px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-eyebrow {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.header-title {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.header-spacer {
  flex: 1;
}

.search-box {
  width: min(480px, 42vw);
  height: 44px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.search-box:focus-within {
  border-color: var(--pt-graphite-core);
  color: var(--text-primary);
}

.search-icon {
  flex: 0 0 auto;
  font-size: 20px;
}

.search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.live-indicator {
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--healthy-bg);
  color: var(--healthy-text);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.live-indicator:hover {
  filter: brightness(0.97);
}

.live-indicator.disconnected {
  background: var(--pt-lunar-dust);
  color: var(--text-secondary);
}

.live-indicator.paused {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.live-indicator.paused .live-dot {
  background: var(--warn-accent);
}

.live-icon {
  font-size: 13px;
  line-height: 1;
}

.live-pending {
  min-width: 18px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--warn-accent);
  color: var(--pt-white);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.live-dot,
.streaming-dot,
.source-dot,
.level-dot {
  border-radius: 50%;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--healthy-dot);
}

.live-indicator.disconnected .live-dot,
.streaming-indicator.disconnected .streaming-dot {
  background: var(--idle-dot);
}

.live-text {
  font-size: 12px;
}

.body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 280px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
  background: var(--bg-surface);
  overflow-y: auto;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px;
}

.ghost-button {
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.ghost-button:hover {
  background: var(--pt-rocket-flame-20);
  color: var(--pt-ink-on-flame-20);
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-label {
  padding: 0 12px;
}

.source-list,
.level-list,
.time-range-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.source-item {
  min-height: 40px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.source-item:hover {
  background: var(--bg-soft);
}

.source-item.active {
  border-color: var(--pt-rocket-flame-20);
  background: var(--pt-rocket-flame-20);
  color: var(--pt-ink-on-flame-20);
}

.source-icon {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 18px;
}

.source-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
}

.source-dot--healthy {
  background: var(--healthy-dot);
}

.source-dot--idle {
  background: var(--idle-dot);
}

.source-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-count {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.source-item.active .source-count {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.level-list {
  flex-flow: row wrap;
}

.level-pill {
  min-height: 32px;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.level-dot {
  width: 6px;
  height: 6px;
}

.level-count {
  font-family: var(--font-mono);
  font-size: 10px;
}

.level-pill--error {
  background: var(--error-bg);
  color: var(--error-text);
}

.level-pill--error .level-dot {
  background: var(--error-accent);
}

.level-pill--error.active {
  border-color: var(--error-accent);
  background: var(--bg-surface);
}

.level-pill--warning {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.level-pill--warning .level-dot {
  background: var(--warn-accent);
}

.level-pill--warning.active {
  border-color: var(--warn-accent);
  background: var(--bg-surface);
}

.level-pill--info {
  background: var(--info-bg);
  color: var(--info-text);
}

.level-pill--info .level-dot {
  background: var(--info-accent);
}

.level-pill--info.active {
  border-color: var(--info-accent);
  background: var(--bg-surface);
}

.level-pill--debug {
  background: var(--pt-lunar-dust);
  color: var(--debug-text);
}

.level-pill--debug .level-dot {
  background: var(--text-secondary);
}

.level-pill--debug.active {
  border-color: var(--text-secondary);
  background: var(--bg-surface);
}

.time-range-item {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.time-range-item:hover {
  background: var(--bg-soft);
}

.time-range-item.active {
  border-color: var(--pt-rocket-flame-20);
  background: var(--pt-rocket-flame-20);
  color: var(--pt-ink-on-flame-20);
}

/* Main */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
  background: var(--bg-page);
}

.mission-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(480px, 1.4fr);
  gap: 16px;
}

.mission-copy,
.metric-card,
.stream-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.mission-copy {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  /* Scrim darkens the left edge where the copy begins, then clears toward the
     center-right so the astronaut on the bottom-third foreground stays visible.
     Legibility over the bright scene comes from the tight text-shadows below. */
  background:
    linear-gradient(
      90deg,
      rgba(18, 19, 20, 0.82) 0%,
      rgba(18, 19, 20, 0.34) 44%,
      rgba(18, 19, 20, 0.06) 78%,
      rgba(18, 19, 20, 0) 100%
    ),
    url("assets/lost-on-a-planet.png") center 78% / cover no-repeat var(--pt-deep-void);
  color: var(--pt-white);
  overflow: hidden;
}

.mission-kicker {
  color: var(--pt-galactic-seafoam);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.5);
}

.mission-copy h1 {
  max-width: 520px;
  color: var(--pt-white);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 16px rgba(0, 0, 0, 0.45);
}

.mission-copy p {
  max-width: 560px;
  color: var(--pt-white);
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.6);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.metric-card {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--bg-surface);
}

.metric-card i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  font-size: 24px;
}

.metric-card strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.metric-card--total i {
  background: var(--pt-rocket-flame-20);
  color: var(--pt-ink-on-flame-20);
}

.metric-card--error i {
  background: var(--error-bg);
  color: var(--error-text);
}

.metric-card--warning i {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.metric-card--sources i {
  background: var(--healthy-bg);
  color: var(--healthy-text);
}

.stream-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-surface);
}

.table-header,
.log-row {
  display: grid;
  grid-template-columns: 144px 72px minmax(112px, 160px) minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.table-header {
  flex: 0 0 auto;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.col {
  color: var(--text-secondary);
}

.log-container {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: var(--bg-surface);
}

.log-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.log-row {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.log-row:hover {
  border-color: var(--border);
  background: var(--bg-soft);
}

.log-row--error {
  border-color: var(--pt-red-alert-20);
  background: var(--error-bg);
}

.log-row--warning {
  border-color: var(--pt-solar-gold-20);
  background: var(--warn-bg);
}

.log-row--debug .log-timestamp,
.log-row--debug .log-source,
.log-row--debug .log-message {
  color: var(--text-muted);
}

.log-timestamp,
.log-message,
.stat-value,
.streaming-indicator,
.source-count,
.level-count,
.log-row-expanded pre {
  font-family: var(--font-mono);
}

.log-timestamp {
  color: var(--text-secondary);
  font-size: 12px;
}

.log-level-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.log-level-badge--error {
  background: var(--error-bg);
  color: var(--error-text);
}

.log-level-badge--warning {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.log-level-badge--info {
  background: var(--info-bg);
  color: var(--info-text);
}

.log-level-badge--debug {
  background: var(--debug-bg);
  color: var(--debug-text);
}

.log-source {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-message {
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-row--error .log-message {
  color: var(--error-text);
}

.log-row-expanded {
  display: none;
  margin: 0 8px 8px;
  padding: 0 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.log-row-expanded.open {
  display: block;
}

.log-row-expanded pre {
  margin-top: 16px;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--pt-white);
  color: var(--text-primary);
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-row.log-row--new {
  animation: flash-in 300ms ease-out;
}

@keyframes flash-in {
  0% {
    background-color: var(--pt-rocket-flame-20);
  }
  100% {
    background-color: var(--bg-surface);
  }
}

/* Honor reduced-motion: no row flash for users who opt out of animation */
@media (prefers-reduced-motion: reduce) {
  .log-row.log-row--new {
    animation: none;
  }
}

.empty-state {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 64px 24px;
  color: var(--text-secondary);
  text-align: center;
}

.empty-state i {
  color: var(--pt-rocket-flame);
  font-size: 40px;
}

.empty-title {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

.empty-desc {
  font-size: 13px;
}

.loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  color: var(--text-secondary);
  font-size: 12px;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.status-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.status-left {
  min-width: 0;
  gap: 16px;
  overflow-x: auto;
}

.stat-value {
  flex: 0 0 auto;
  color: var(--text-secondary);
  font-size: 11px;
}

.stat-errors {
  color: var(--error-text);
}

.stat-warnings {
  color: var(--warn-text);
}

.stat-divider {
  flex: 0 0 auto;
  width: 1px;
  height: 16px;
  background: var(--border);
}

.status-right {
  margin-left: auto;
}

.streaming-indicator {
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--healthy-bg);
  color: var(--healthy-text);
  font-size: 11px;
  font-weight: 600;
}

.streaming-indicator.disconnected {
  background: var(--pt-lunar-dust);
  color: var(--text-secondary);
}

.streaming-indicator.paused {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.streaming-indicator.paused .streaming-dot {
  background: var(--warn-accent);
}

.streaming-dot {
  width: 7px;
  height: 7px;
  background: var(--healthy-dot);
}

.source-list,
.time-range-list,
.status-left {
  scrollbar-width: none;
}

.source-list::-webkit-scrollbar,
.time-range-list::-webkit-scrollbar,
.status-left::-webkit-scrollbar {
  display: none;
}

.log-container {
  scrollbar-width: thin;
  scrollbar-color: var(--pt-polished-steel) transparent;
}

/* Responsive */
@media (max-width: 1180px) {
  .mission-strip {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mission-copy,
  .metric-card {
    min-height: 128px;
  }
}

@media (max-width: 920px) {
  html,
  body {
    overflow: auto;
  }

  .app {
    min-height: 100vh;
    height: auto;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 10;
    flex-wrap: wrap;
    padding: 16px;
  }

  .header-left {
    min-width: 0;
  }

  .header-spacer {
    display: none;
  }

  .search-box {
    order: 3;
    width: 100%;
  }

  .body {
    flex-direction: column;
    overflow: visible;
  }

  .sidebar {
    width: 100%;
    min-width: 0;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }

  .source-list,
  .time-range-list {
    flex-flow: row nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .source-item,
  .time-range-item {
    flex: 0 0 auto;
  }

  .main {
    min-height: 720px;
    padding: 16px;
    overflow: visible;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-eyebrow,
  .live-indicator {
    display: none;
  }

  .mission-copy h1 {
    font-size: 24px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 112px;
  }

  .table-header,
  .log-row {
    grid-template-columns: 96px 64px minmax(0, 1fr);
  }

  .log-message {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .col-source,
  .log-source {
    display: none;
  }

  .table-header,
  .status-bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .stat-divider {
    display: none;
  }

  .status-right {
    display: none;
  }
}
