:root {
  color: #1f1f1f;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
}

body {
  margin: 0;
  background: #ffffff;
}

main {
  padding: 20px;
}

h1 {
  margin: 0 0 12px;
  color: #183a2a;
  font-size: 24px;
}

h2 {
  margin-top: 28px;
  font-size: 18px;
}

.intro,
.hint {
  color: #555555;
  line-height: 1.45;
}

.hint {
  font-size: 13px;
}

dl {
  margin: 20px 0;
}

dl div {
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
}

dt {
  color: #666666;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.status {
  padding: 10px 12px;
  border-left: 4px solid #a06b00;
  background: #fff7df;
  line-height: 1.4;
}

.status[data-state="ok"] {
  border-color: #157347;
  background: #e9f7ef;
}

.status[data-state="error"] {
  border-color: #b42318;
  background: #fff0ef;
}

button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  background: #183a2a;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

button:hover,
button:focus-visible {
  background: #24573f;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

button.secondary {
  margin-top: 10px;
  background: #e9eee9;
  color: #183a2a;
}

button.secondary:hover,
button.secondary:focus-visible {
  background: #dbe5dd;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #555555;
  font-size: 13px;
  font-weight: 600;
}

input,
select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #a9a9a9;
  border-radius: 3px;
  background: #ffffff;
  color: #1f1f1f;
  font: inherit;
}

input {
  min-width: 0;
  padding: 9px 10px;
}

select {
  margin-top: 10px;
  padding: 4px;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.input-row button {
  width: auto;
}
