body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #101318;
  color: #eef2f7;
}

main {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 18px;
}

h1 {
  margin: 0;
}

.sub {
  color: #aab4c0;
  margin-top: 8px;
}

.card {
  background: #171c24;
  border: 1px solid #2d3542;
  border-radius: 14px;
  padding: 18px;
  margin-top: 18px;
}

label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}

textarea, input, select {
  width: 100%;
  box-sizing: border-box;
  background: #0d1117;
  color: #eef2f7;
  border: 1px solid #3a4352;
  border-radius: 9px;
  padding: 11px;
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

button {
  margin-top: 14px;
  background: #377dff;
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.08);
}

.status {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.box {
  background: #171c24;
  border: 1px solid #2d3542;
  border-radius: 14px;
  padding: 18px;
}

.box strong {
  display: block;
  font-size: 13px;
  color: #aab4c0;
  margin-bottom: 7px;
}

.box span {
  font-size: 18px;
}

pre {
  background: #0d1117;
  border: 1px solid #2d3542;
  border-radius: 10px;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 120px;
}

#log {
  min-height: 420px;
}

.actions {
  display: flex;
  gap: 10px;
}


.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #dce4ee;
}

.check input {
  width: auto;
}


.hint {
  color: #aab4c0;
  margin-top: -6px;
}

h3 {
  margin-top: 18px;
  color: #dce4ee;
}


.progress-wrap {
  margin: 12px 0 18px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  color: #dce4ee;
  margin-bottom: 8px;
}

.progress-track {
  width: 100%;
  height: 18px;
  background: #0d1117;
  border: 1px solid #2d3542;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #377dff;
  transition: width .35s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.stats-grid div {
  background: #0d1117;
  border: 1px solid #2d3542;
  border-radius: 10px;
  padding: 12px;
}

.stats-grid strong {
  display: block;
  font-size: 22px;
}

.stats-grid span {
  display: block;
  color: #aab4c0;
  font-size: 12px;
  margin-top: 4px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #2d3542;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #0d1117;
}

th, td {
  padding: 9px 10px;
  border-bottom: 1px solid #2d3542;
  text-align: left;
  font-size: 13px;
}

th {
  color: #aab4c0;
  background: #121821;
}

tr.ok td {
  color: #b7f7c5;
}

tr.fail td {
  color: #ffb8b8;
}

tr.running td {
  color: #dce4ee;
}

.progress-wrap {
  margin: 12px 0 18px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: #aab4c0;
  margin-bottom: 8px;
  font-size: 14px;
}

.progress-bar {
  height: 18px;
  border-radius: 999px;
  background: #0d1117;
  border: 1px solid #2d3542;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: #377dff;
  transition: width .35s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.stats-grid div {
  background: #0d1117;
  border: 1px solid #2d3542;
  border-radius: 10px;
  padding: 12px;
}

.stats-grid strong {
  display: block;
  color: #aab4c0;
  font-size: 12px;
  margin-bottom: 6px;
}

.stats-grid span {
  font-size: 20px;
  font-weight: 700;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #2d3542;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #0d1117;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #2d3542;
  text-align: left;
  font-size: 13px;
}

th {
  color: #aab4c0;
  background: #121821;
}

tr:last-child td {
  border-bottom: 0;
}

.status-ok {
  color: #44d17a;
  font-weight: 700;
}

.status-fail {
  color: #ff6978;
  font-weight: 700;
}

.status-run {
  color: #ffd166;
  font-weight: 700;
}
