:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #17202a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  border-radius: 6px;
  background: #136f63;
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  padding: 0 16px;
}

button:hover {
  background: #0f5c52;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.15;
}

h2 {
  font-size: 18px;
}

.topbar p {
  color: #5c6875;
  margin-top: 8px;
}

.search {
  display: flex;
  gap: 8px;
}

.search input {
  width: min(320px, 42vw);
  min-height: 42px;
  border: 1px solid #cbd4dd;
  border-radius: 6px;
  padding: 0 12px;
}

.workspace {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  padding: 18px;
}

#uploadForm {
  display: grid;
  gap: 14px;
}

.drop {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 2px dashed #9fb0bd;
  border-radius: 8px;
  background: #f9fbfc;
  color: #33414f;
  text-align: center;
  padding: 18px;
  cursor: pointer;
}

.drop input {
  max-width: 100%;
}

.status,
.empty {
  color: #65717d;
  line-height: 1.45;
}

.sectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.records {
  display: grid;
  gap: 12px;
}

.record {
  border: 1px solid #e0e6ec;
  border-radius: 8px;
  padding: 14px;
}

.record div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.record span {
  color: #65717d;
  font-size: 14px;
  text-align: right;
}

pre {
  margin: 12px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #1f2b37;
  background: #f6f8fa;
  border-radius: 6px;
  padding: 12px;
  max-height: 420px;
  overflow: auto;
}

@media (max-width: 820px) {
  .topbar,
  .workspace,
  .record div {
    display: grid;
  }

  .search,
  .search input {
    width: 100%;
  }

  .record span {
    text-align: left;
  }
}
