:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #080808;
  color: #f3f3f3;
  font-size: 17px;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 850px;
  margin: auto;
  padding: 40px 24px 64px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 12px 0 24px;
}
h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 16px;
}
p {
  color: #c7c7cc;
}
.intro {
  font-size: 1.15rem;
}
.eyebrow {
  color: #ff777a;
  font-size: 0.85rem;
  font-weight: 700;
}
aside {
  border: 1px solid #393939;
  border-radius: 12px;
  padding: 18px;
  color: #c7c7cc;
}
aside strong {
  display: block;
  color: white;
}
section {
  margin: 36px 0;
  padding-top: 28px;
  border-top: 1px solid #303033;
}
label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 600;
}
select,
textarea,
input[type="file"] {
  width: 100%;
  padding: 12px;
  background: #151515;
  color: white;
  border: 1px solid #555;
  border-radius: 8px;
}
textarea {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  resize: vertical;
}
button {
  font: inherit;
  font-size: 0.92rem;
  background: #ff555b;
  color: #110506;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 650;
  cursor: pointer;
  min-height: 44px;
}
.secondary {
  background: #202024;
  color: white;
  border-color: #4a4a50;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #b5d6ff;
  outline-offset: 3px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.check input {
  margin-top: 8px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}
th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #36363a;
  vertical-align: top;
}
th {
  color: white;
}
td:last-child {
  min-width: 180px;
  color: #cbcbd0;
}
caption {
  text-align: left;
  color: #aaa;
  margin-bottom: 8px;
}
#status {
  min-height: 1.6em;
  color: #ffb6b8;
}
footer {
  font-size: 0.85rem;
  margin-top: 40px;
}
#sample {
  margin-top: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 500px) {
  main {
    padding: 24px 16px 48px;
  }
  .actions button {
    flex-grow: 1;
  }
}

select {
  width: 100%;
  color: #eee;
  background: #161619;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  margin-bottom: 14px;
}

a {
  color: #ffb6b8;
  text-underline-offset: 3px;
}
.import-help a {
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
}
