:root {
  font-family: Arial, sans-serif;
  color: #203044;
  background: #f4f6f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 28px 18px 60px;
}
h1 {
  margin: 18px 0 8px;
  font-size: 30px;
}
h2 {
  font-size: 20px;
}
p {
  line-height: 1.5;
  color: #536174;
}
a {
  color: #174e85;
}
section,
fieldset,
article {
  background: white;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 12px 0 6px;
}
input,
select,
textarea,
button {
  font: inherit;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #acb7c5;
  border-radius: 6px;
  min-width: 0;
}
textarea {
  min-height: 80px;
}
button,
.button {
  display: inline-block;
  border: 0;
  border-radius: 7px;
  padding: 10px 15px;
  background: #174e85;
  color: white;
  text-decoration: none;
  cursor: pointer;
  margin: 7px 7px 0 0;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  background: #e8edf3;
  color: #203044;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery article {
  margin: 0;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f4f6f8;
}
.status {
  padding: 12px;
  border-radius: 7px;
  background: #e9f1fa;
  white-space: pre-wrap;
}
.error {
  background: #ffe8e8;
  color: #8b1c1c;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.check input {
  margin-top: 3px;
}
small {
  color: #536174;
}
iframe {
  width: 100%;
  height: 700px;
  border: 1px solid #ddd;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .row {
    grid-template-columns: 1fr;
  }
  main {
    padding: 16px;
  }
  h1 {
    font-size: 26px;
  }
  section,
  fieldset {
    padding: 14px;
  }
}
