:root {
  color: #202124;
  background: #f5f3ee;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 18px;
}

.panel {
  width: min(100%, 620px);
  border: 1px solid #ddd6c8;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #5d6653;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.copy {
  margin: 12px 0 20px;
  color: #4a4d47;
  line-height: 1.5;
}

.file-picker,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #245b4f;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0 18px;
}

input[type="file"] {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

button {
  margin-top: 16px;
}

.retry-button {
  justify-self: start;
  margin-top: 2px;
  min-height: 38px;
  padding: 0 14px;
}

button:disabled {
  background: #9ba39b;
  cursor: not-allowed;
}

button:focus-visible {
  outline: 3px solid #d2a84a;
  outline-offset: 3px;
}

.summary {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.summary span {
  border: 1px solid #ddd6c8;
  border-radius: 999px;
  color: #4a4d47;
  font-size: 0.88rem;
  padding: 6px 10px;
}

.file-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.file-item {
  display: grid;
  gap: 8px;
  border: 1px solid #e5ded2;
  border-radius: 8px;
  padding: 12px;
}

.file-item--blocked {
  border-color: #c75d4d;
  background: #fff7f5;
}

.file-item--completed {
  border-color: #398065;
  background: #f4fbf7;
}

.file-item--uploading {
  border-color: #4d78a8;
  background: #f5f9ff;
}

.file-item--error {
  border-color: #b15b22;
  background: #fff8f0;
}

.file-name {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.file-meta {
  color: #5f625c;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

progress {
  width: 100%;
  height: 12px;
}

.status {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.status div {
  display: grid;
  gap: 4px;
  border-top: 1px solid #ecece5;
  padding-top: 12px;
}

dt {
  color: #5d6653;
  font-size: 0.8rem;
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

code {
  font-size: 0.88rem;
}
