:root {
  color-scheme: dark;
  font-family: Inter, "Microsoft YaHei", system-ui, sans-serif;
  background: #07090d;
  color: #f3f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #07090d;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.narrow {
  width: min(860px, calc(100vw - 32px));
}

.header,
.sectionHead,
.actions,
.inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header,
.sectionHead {
  justify-content: space-between;
}

.eyebrow {
  margin: 0 0 6px;
  color: #2b98ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 18px;
}

.panel {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #232832;
  border-radius: 8px;
  background: #11151b;
}

.muted {
  color: #aeb7c2;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.two {
  grid-template-columns: 1fr 1fr;
}

.four {
  grid-template-columns: 1fr 1fr 160px 140px;
}

label {
  display: grid;
  gap: 7px;
  color: #aeb7c2;
  font-size: 13px;
}

input,
select,
button {
  min-height: 42px;
  border-radius: 7px;
  border: 1px solid #303744;
  background: #0b0f15;
  color: #f3f7fb;
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 0 12px;
}

button {
  padding: 0 16px;
  cursor: pointer;
  background: #1688f8;
  border-color: #1688f8;
  font-weight: 700;
}

button.secondary,
.inline button:last-child {
  background: #202630;
  border-color: #303744;
}

.note {
  margin-top: 12px;
  color: #74d38b;
  min-height: 20px;
}

.result,
.tasks {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.card {
  border: 1px solid #28303c;
  border-radius: 8px;
  padding: 14px;
  background: #0b0f15;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  color: #aeb7c2;
  font-size: 13px;
}

.meta strong {
  display: block;
  margin-bottom: 3px;
  color: #f3f7fb;
}

.taskActions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.danger {
  background: #7d2631;
  border-color: #9a303d;
}

pre {
  overflow: auto;
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 6px;
  background: #05070a;
  color: #c9d3df;
}

@media (max-width: 820px) {
  .two,
  .four,
  .meta {
    grid-template-columns: 1fr;
  }

  .header,
  .sectionHead,
  .inline {
    align-items: stretch;
    flex-direction: column;
  }
}
