:root {
  font:
    16px/1.6 'Segoe UI',
    'Microsoft YaHei',
    sans-serif;
  color: #142d37;
  background: #f6f7f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 18px max(5vw, 20px);
  background: #143c3c;
  color: white;
  font-size: 19px;
  font-weight: 650;
}
header span {
  font-size: 0.8rem;
  margin-left: 12px;
  color: #c3d7d0;
}
main {
  max-width: 1220px;
  margin: 48px auto;
  padding: 0 24px;
}
h1 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1.13;
  margin: 0 0 24px;
}
h2 {
  font-size: 23px;
}
p {
  color: #42595c;
}
.claim {
  max-width: 970px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 8%;
}
.cover {
  border-radius: 18px;
  overflow: hidden;
  background: #d8e2dd;
}
.cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.claim section {
  padding: 16px 0;
}
.claim form,
label {
  display: grid;
  gap: 7px;
}
.claim button {
  justify-self: start;
  margin-top: 8px;
}
input,
select {
  min-width: 0;
  font: inherit;
  border: 1px solid #aebdb6;
  border-radius: 7px;
  padding: 9px 13px;
  background: white;
  color: #193e37;
}
button,
.button {
  font: inherit;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  background: #156251;
  color: white;
  padding: 9px 17px;
  text-decoration: none;
}
.secondary {
  background: white;
  border-color: #acc0b6;
  color: #204a40;
}
button:disabled {
  opacity: 0.45;
}
dialog {
  border: 1px solid #c0cdc6;
  border-radius: 14px;
  max-width: min(460px, 92vw);
  padding: 24px;
}
dialog::backdrop {
  background: #102b3270;
}
label {
  margin-top: 8px;
}
details {
  margin-top: 26px;
}
summary {
  cursor: pointer;
}
form#search,
.actions,
nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.actions {
  justify-content: space-between;
  flex-wrap: wrap;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  text-align: left;
}
td,
th {
  padding: 13px;
  border-bottom: 1px solid #dae2dc;
  white-space: nowrap;
}
th {
  font-size: 14px;
  background: #e8efeb;
}
td.detail {
  white-space: normal;
  background: #f0f5f2;
}
td.detail p {
  margin: 5px 0;
}
nav {
  margin-top: 18px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #bb794c;
}
#msg:empty {
  display: none;
}
@media (max-width: 680px) {
  main {
    margin: 24px auto;
    padding: 0 16px;
  }
  .claim {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cover img {
    aspect-ratio: 2/1;
  }
  .claim section {
    padding: 8px 0;
  }
  #search input {
    width: 55vw;
  }
}
