* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7f9;
  color: #17202a;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px 56px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.eyebrow {
  margin: 0 0 6px;
  color: #5b6b7a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.lede {
  max-width: 760px;
  color: #44515f;
  line-height: 1.55;
  font-size: 1.05rem;
}

.card {
  background: white;
  border: 1px solid #e0e5eb;
  border-radius: 18px;
  padding: 22px;
  margin: 18px 0;
  box-shadow: 0 12px 32px rgba(23, 32, 42, 0.06);
}

.file-box,
.form-grid label,
.option-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #fbfcfd;
  font-weight: 700;
}

.form-grid,
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
}

.option-card input {
  margin-top: 4px;
  width: auto;
}

input,
select {
  font: inherit;
}

input[type="file"],
input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cdd5df;
  border-radius: 10px;
  background: white;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

button,
.button-link {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  background: #1f6feb;
  color: white;
  text-decoration: none;
  display: inline-block;
}

button.secondary { background: #e7edf5; color: #17202a; }
button.danger { background: #b42318; color: white; }

.hero-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status {
  margin: 14px 0 0;
  color: #44515f;
  font-weight: 700;
}

.muted {
  color: #5b6b7a;
  line-height: 1.5;
}

.hidden { display: none !important; }

.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.summary span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #e0e5eb;
  border-radius: 14px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
  font-size: 0.92rem;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #e9edf2;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f4f8;
}

ol {
  line-height: 1.7;
}

@media (max-width: 800px) {
  .hero,
  .form-grid,
  .option-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}


.version-note {
  display: inline-block;
  margin: 10px 0 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #17202a;
  color: white;
  font-weight: 800;
}
