:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #0f172a;
  background: #f8fafc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #0f172a;
  color: white;
  padding: 22px max(22px, calc((100vw - 1100px) / 2));
  display: flex;
  gap: 12px;
  align-items: center;
}
header img {
  width: 96px;
  height: auto;
}
header span {
  font-size: 22px;
  font-weight: 300;
  margin-left: -12px;
}
header strong {
  font-size: 14px;
  border-left: 1px solid #475569;
  padding-left: 25px;
  margin-left: 12px;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 40px 24px;
}
.eyebrow {
  color: #b91c1c;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}
h1 {
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 16px 0 24px;
}
h2 {
  font-size: 24px;
  margin-top: 0;
}
h3 {
  font-size: 17px;
  margin-top: 25px;
}
.lead {
  font-size: 18px;
  max-width: 760px;
  color: #475569;
  line-height: 1.7;
}
.panel {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin: 25px 0;
}
p {
  line-height: 1.65;
}
button,
input,
select {
  font: inherit;
}
button {
  background: #dc2626;
  color: white;
  border: 1px solid #dc2626;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 650;
  cursor: pointer;
}
button:hover {
  background: #b91c1c;
}
button.secondary {
  background: white;
  color: #0f172a;
  border-color: #94a3b8;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 10px;
}
input[type="file"],
select {
  padding: 11px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  max-width: 100%;
  background: white;
}
.row {
  display: flex;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.options {
  display: grid;
  gap: 12px;
}
.options label {
  font-weight: 400;
  display: flex;
  gap: 12px;
  align-items: start;
}
.options input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.muted {
  font-size: 13px;
  color: #475569;
}
.notice {
  background: #e2e8f0;
  padding: 14px;
  border-radius: 8px;
}
.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 18px;
  border-radius: 10px;
}
.table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
td,
th {
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px;
  max-width: 300px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
th {
  background: #f1f5f9;
}
table select {
  font-size: 13px;
  min-width: 100px;
}
footer {
  padding: 24px 0;
  color: #475569;
  font-size: 13px;
}
a {
  color: #b91c1c;
}
:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
  }
  header strong {
    flex-basis: 100%;
    border: 0;
    margin: 0;
    padding: 0;
  }
  main {
    padding: 25px 16px;
  }
  .panel {
    padding: 20px;
  }
  .row {
    align-items: stretch;
    flex-direction: column;
  }
  button {
    width: 100%;
  }
}
