* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f7f6;
  color: #18352f;
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    Arial,
    sans-serif;
}
header {
  background: #143e34;
  color: white;
  padding: 15px max(18px, calc((100vw - 940px) / 2));
  display: flex;
  align-items: center;
  gap: 20px;
}
header a {
  color: white;
  text-decoration: none;
  font-weight: 750;
}
header button {
  margin-left: auto;
}
main {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}
h1 {
  font-size: clamp(25px, 4vw, 34px);
}
h2 {
  font-size: 22px;
}
nav,
.inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
button,
nav a {
  border: 0;
  background: #096753;
  color: white;
  font: inherit;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 15px;
  cursor: pointer;
  max-width: 100%;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
nav button[aria-current="true"] {
  background: #162d28;
}
form:not(.inline),
article {
  background: #fff;
  padding: 18px;
  border: 1px solid #cddcd5;
  border-radius: 10px;
  margin: 12px 0;
}
#signin {
  max-width: 410px;
  margin: 30px auto;
}
label {
  display: grid;
  gap: 4px;
  margin: 6px 0 14px;
  font-weight: 650;
}
input,
select,
textarea {
  max-width: 100%;
  width: 100%;
  font: inherit;
  border: 1px solid #99ada4;
  border-radius: 5px;
  padding: 9px;
  color: #1f3730;
  background: white;
}
textarea {
  resize: vertical;
}
form.inline input,
form.inline select {
  width: auto;
  flex: 1;
  min-width: 125px;
}
.listitem {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid #d1ddd7;
  color: #174d3e;
  margin: 6px 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.secondary {
  background: #6c4039;
}
#notice {
  position: sticky;
  bottom: 4px;
  background: #e0eee4;
  padding: 8px;
  border-radius: 6px;
  white-space: pre-line;
}
#notice:empty {
  display: none;
}
#intake,
#history {
  white-space: pre-line;
}
#detail p {
  overflow-wrap: anywhere;
}
#traffic div {
  border-bottom: 1px solid #ccd7d0;
  padding: 6px;
}
[hidden] {
  display: none !important;
}
