* {
  box-sizing: border-box;
}
input[type="checkbox"] {
  display: inline-block;
  width: auto;
  min-width: 20px;
  min-height: 20px;
}
body {
  margin: 0;
  background: #f4f6f9;
  color: #172338;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
main {
  max-width: 760px;
  margin: 32px auto;
  padding: 24px;
}
header > p:first-child {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #53657b;
}
h1 {
  font-size: 36px;
  margin: 12px 0;
}
section,
form {
  background: white;
  border: 1px solid #dce2e9;
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
}
section form {
  padding: 16px;
}
label {
  display: block;
  margin: 12px 0;
}
fieldset {
  min-inline-size: 0;
  width: 100%;
  max-width: 100%;
  padding: 12px;
  overflow-wrap: anywhere;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #b7c2d0;
  border-radius: 6px;
  font: inherit;
}
button {
  background: #164c78;
  color: white;
  border: 0;
  border-radius: 7px;
  padding: 12px 16px;
  margin: 5px;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.mode-switch,
#category-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#category-navigation button {
  background: #eef6fb;
  color: #164c78;
  border: 1px solid #b9d8e9;
}
.product-advanced-hidden {
  display: none !important;
}
#first-run-list li {
  padding: 10px 0;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #7ebef1;
  outline-offset: 2px;
}
#actions {
  display: flex;
  flex-wrap: wrap;
}
#message {
  min-height: 24px;
  color: #a03030;
}
li {
  padding: 8px 0;
}
p {
  overflow-wrap: anywhere;
}
header p,
form p {
  color: #53657b;
}
@media (max-width: 600px) {
  main {
    padding: 14px;
    margin: 0;
  }
  section,
  form {
    padding: 14px;
  }
  #actions button {
    flex: 1 1 45%;
  }
}
