.lfm-screen {
  position: relative;
  gap: 7px;
  padding: 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(74, 222, 128, 0.18), transparent 31%),
    radial-gradient(circle at 100% 18%, rgba(255, 209, 102, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(5, 8, 9, 0.98), rgba(16, 18, 22, 0.98));
}

.lfm-screen:focus {
  transform: scale(0.995);
}

.lfm-header,
.lfm-footer,
.control-row,
.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lfm-header {
  min-height: 32px;
}

.lfm-title {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.lfm-title span {
  color: var(--success);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.lfm-title strong {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
}

.status-pill {
  min-width: 82px;
  padding: 7px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.status-pill.good {
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
}

.status-pill.warn {
  background: rgba(255, 209, 102, 0.15);
  color: var(--warm);
}

.status-pill.bad {
  background: rgba(255, 107, 107, 0.16);
  color: var(--danger);
}

.status-pill.run {
  background: rgba(53, 214, 255, 0.16);
  color: var(--accent-strong);
}

.control-row {
  min-height: 36px;
}

.probe-button {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 13px;
  background: rgba(28, 30, 33, 0.92);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.probe-button.primary {
  background: rgba(74, 222, 128, 0.16);
  color: var(--success);
}

.probe-button.mode {
  background: rgba(255, 209, 102, 0.14);
  color: var(--warm);
}

.probe-button.mode.is-gpu {
  background: rgba(53, 214, 255, 0.16);
  color: var(--accent-strong);
}

.probe-button:disabled {
  opacity: 0.45;
}

.model-row {
  min-height: 46px;
  padding: 5px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.model-summary {
  min-width: 0;
  flex: 1;
}

.model-summary strong,
.model-summary span,
.mode-label {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.model-summary strong {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}

.model-summary span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
}

.mode-label {
  width: 122px;
  color: var(--warm);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-align: right;
}

.check-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.check-card {
  min-width: 0;
  min-height: 53px;
  padding: 6px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.check-card span {
  display: block;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
}

.check-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.check-card p {
  height: 17px;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 1.12;
  font-weight: 700;
  overflow: hidden;
}

.check-card.good strong {
  color: var(--success);
}

.check-card.warn strong {
  color: var(--warm);
}

.check-card.bad strong {
  color: var(--danger);
}

.check-card.run strong {
  color: var(--accent-strong);
}

.check-card.skip,
.check-card.wait {
  opacity: 0.72;
}

.detail-panel {
  min-height: 0;
  flex: 1;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(8, 10, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.075);
  overflow: hidden;
}

.detail-copy strong {
  display: block;
  color: var(--success);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.detail-copy p {
  height: 28px;
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 750;
  overflow: hidden;
}

.reply-panel {
  min-height: 48px;
  margin-top: 8px;
  padding: 7px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.reply-panel span {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
}

.reply-panel p {
  height: 24px;
  margin-top: 5px;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 850;
  overflow: hidden;
}

.log-panel {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.log-heading {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.log-heading span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

.log-copy {
  width: 54px;
  height: 24px;
  border: 0;
  border-radius: 9px;
  background: rgba(74, 222, 128, 0.14);
  color: var(--success);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

.log-list {
  height: 86px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.log-entry {
  min-height: 17px;
  display: grid;
  grid-template-columns: 54px minmax(0, 62px) minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.log-entry span,
.log-entry strong,
.log-entry p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1;
}

.log-entry span {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
}

.log-entry strong {
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 950;
}

.log-entry p {
  height: auto;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 750;
}

.log-entry.good strong {
  color: var(--success);
}

.log-entry.warn strong {
  color: var(--warm);
}

.log-entry.bad strong {
  color: var(--danger);
}

.log-entry.run strong {
  color: var(--accent-strong);
}

.lfm-footer {
  min-height: 18px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
}

.lfm-footer span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}
