:root {
  font:
    15px/1.6 system-ui,
    sans-serif;
  color: #30253e;
  background: #f7f6f9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 22px 5%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
}
main {
  max-width: 1120px;
  padding: 30px;
  margin: auto;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
}
h2 {
  font-size: 20px;
}
p {
  max-width: 80ch;
}
section {
  background: white;
  border: 1px solid #e2d9e9;
  border-radius: 10px;
  margin: 24px 0;
  padding: 24px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
label {
  display: block;
  margin: 16px 0;
  font-weight: 600;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #bcaccb;
  border-radius: 6px;
  font: inherit;
  margin-top: 5px;
}
button,
a {
  color: #7820ad;
}
button {
  background: #8b22c6;
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 11px 17px;
  font: inherit;
  cursor: pointer;
}
button:hover {
  background: #7820ad;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
:focus-visible {
  outline: 3px solid #8b22c6;
  outline-offset: 3px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
#message:not(:empty) {
  padding: 15px;
  border-left: 4px solid #8b22c6;
  background: #ede1f5;
  overflow-wrap: anywhere;
}
article {
  border-top: 1px solid #ddd;
  padding: 18px 0;
  overflow-wrap: anywhere;
}
article p {
  white-space: pre-wrap;
}
.small {
  font-size: 13px;
  color: #695773;
}
[hidden] {
  display: none !important;
}
footer {
  padding: 15px 0;
}
@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
  }
  main {
    padding: 18px;
  }
  header span {
    display: none;
  }
}
