:root {
  font:
    16px/1.6 "Source Sans 3",
    "Microsoft YaHei",
    sans-serif;
  color: #193e36;
  background: #f7f6f0;
  --green: #204d40;
  --line: #cfd8ce;
  --muted: #50695f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 66px;
  background: #193e36;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, calc((100vw - 840px) / 2));
  gap: 15px;
}
.brand {
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.mark {
  font-size: 27px;
  color: #edce82;
  vertical-align: middle;
  margin-right: 10px;
}
main {
  max-width: 880px;
  margin: auto;
  padding: 28px 20px 70px;
}
h1 {
  font:
    600 clamp(28px, 6vw, 43px)/1.28 "STIX Two Text",
    "Songti SC",
    serif;
  margin: 12px 0 20px;
  color: #183d34;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
h3 {
  font-size: 16px;
  margin: 14px 0 5px;
}
p,
li {
  overflow-wrap: anywhere;
}
p {
  margin: 7px 0;
  white-space: pre-wrap;
}
section,
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
  padding: 20px;
  margin: 16px 0;
}
section.intro {
  background: #e8eee1;
  border: 0;
}
label {
  display: block;
  font-weight: 600;
  margin: 12px 0;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  margin: 5px 0 0;
  border-radius: 7px;
  padding: 10px;
  border: 1px solid #aebfb2;
  font: inherit;
  color: inherit;
  background: white;
}
textarea {
  min-height: 84px;
  resize: vertical;
}
button {
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: white;
  padding: 11px 16px;
  cursor: pointer;
  font: 600 15px/1.45 inherit;
  font-family: inherit;
  font-size: 15px;
  min-height: 44px;
}
button:hover {
  filter: brightness(0.93);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.quiet {
  background: transparent;
  color: inherit;
  text-decoration: underline;
}
.secondary {
  background: #e3eadd;
  color: #173c31;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.row h1 {
  margin-bottom: 12px;
}
.muted,
small,
time {
  color: var(--muted);
  font-size: 14px;
}
small {
  display: block;
}
.list {
  padding: 0;
  list-style: none;
}
.item {
  width: 100%;
  text-align: left;
  background: #fffefa;
  color: #193e36;
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin: 6px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.item span {
  overflow-wrap: anywhere;
}
.item small {
  font-weight: 400;
}
.item b {
  font-size: 25px;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.tabs button {
  background: #e7ebe3;
  color: #274e41;
}
.tabs button[aria-current="true"] {
  background: var(--green);
  color: white;
}
.pill {
  font-size: 13px;
  border-radius: 20px;
  padding: 3px 9px;
  background: #e8eddf;
  color: #375644;
}
.entry {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.entry:first-of-type {
  border: 0;
}
summary {
  cursor: pointer;
  min-height: 34px;
  font-weight: 600;
}
.check {
  display: flex;
  gap: 8px;
  align-items: start;
}
.check input {
  width: auto;
  margin-top: 8px;
}
.auth {
  max-width: 460px;
  margin: 8vh auto;
}
.auth button {
  width: 100%;
}
.notice-inline {
  color: #874416;
}
.empty {
  padding: 25px 0;
}
.budget {
  margin-top: 24px;
  color: var(--muted);
}
#notice {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #193e36;
  color: white;
  border-radius: 9px;
  padding: 10px 18px;
  max-width: 90vw;
  z-index: 5;
}
a {
  color: var(--green);
}
:focus-visible {
  outline: 3px solid #c29139;
  outline-offset: 3px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
ul {
  padding-left: 22px;
}
@media (max-width: 500px) {
  main {
    padding: 17px 14px 60px;
  }
  section {
    padding: 16px;
  }
  header {
    padding: 0 16px;
    height: 58px;
  }
  .row h1 {
    font-size: 28px;
  }
  .tabs button {
    flex: 1;
    padding: 8px;
  }
  .auth {
    margin-top: 6vh;
  }
}
