body {
  background: #f5f7fb;
  color: #20242c;
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef2f7;
}

.login-shell {
  width: min(420px, calc(100vw - 32px));
}

.login-panel {
  background: #ffffff;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(20, 30, 45, 0.08);
}

.app-shell {
  padding: 24px;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px) auto;
  gap: 16px;
  align-items: end;
  background: #ffffff;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  padding: 16px;
}

.search-action {
  display: flex;
  justify-content: flex-end;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px 10px;
}

.results-frame {
  background: #ffffff;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
}

.empty-row {
  padding: 32px;
  text-align: center;
}

.file-cell {
  max-width: 360px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
}

.log-cell {
  min-width: 360px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
}

@media (max-width: 820px) {
  .app-shell {
    padding: 16px;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-action {
    justify-content: stretch;
  }

  .search-action .btn {
    width: 100%;
  }

  .status-row {
    flex-direction: column;
  }
}
