:root {
  color-scheme: light;
  --ink: #18342e;
  --muted: #62716b;
  --green: #216a54;
  --mint: #e6eee5;
  --paper: #f7f8f3;
  --line: #dce2d8;
  --white: #fff;
  --error: #a02c21;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
header {
  max-width: 1180px;
  margin: auto;
  padding: 28px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.16em;
}
.seal {
  background: var(--ink);
  color: white;
  display: grid;
  place-content: center;
  width: 45px;
  height: 45px;
  font-family: serif;
  font-size: 17px;
}
.admin-link {
  font-size: 12px;
  text-decoration: none;
}
.admin-link span {
  margin-left: 10px;
}
main {
  max-width: 1104px;
  margin: 0 auto;
  min-height: 70vh;
  padding: 52px 0 60px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  line-height: 1.5;
}
h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--green);
  font-weight: 650;
  margin-bottom: 18px;
}
.muted,
.hint {
  color: var(--muted);
  font-size: 13px;
}
.lead {
  color: var(--muted);
  line-height: 2;
  font-size: 15px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 40px 0 65px;
}
.hero h1 {
  font-size: 42px;
}
.hero-art {
  aspect-ratio: 1.25;
  background: var(--mint);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-art svg {
  width: 65%;
  height: 65%;
}
.art-label {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--green);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 27px;
}
.fact strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
}
.fact span {
  font-size: 11px;
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.step .num {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.step h3 {
  margin-top: 12px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 30px;
}
.narrow {
  max-width: 720px;
  margin: auto;
}
.notice {
  padding: 16px 20px;
  background: var(--mint);
  font-size: 13px;
  border-radius: 4px;
  margin: 22px 0;
  color: var(--ink);
}
.notice.warn {
  background: #faf0dc;
}
.error {
  color: var(--error);
  background: #fff0ec;
  padding: 14px 18px;
  font-size: 13px;
  border-radius: 4px;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--mint);
  color: var(--green);
  font-size: 11px;
  border-radius: 20px;
}
.badge.gray {
  background: #edf0ed;
  color: var(--muted);
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.title-row h1 {
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #bac8bd;
  border-radius: 4px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  margin-top: 7px;
  min-height: 46px;
}
input[type="file"] {
  border: 0;
  margin: 10px auto;
  font-size: 13px;
  padding: 6px;
}
input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9ac8ac;
  outline-offset: 3px;
}
.btn {
  border: 0;
  border-radius: 4px;
  padding: 12px 20px;
  min-height: 46px;
  background: var(--green);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.btn.secondary {
  background: #edf1e9;
  color: var(--green);
}
.btn.quiet {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.full {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.row:first-child {
  padding-top: 0;
}
.row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.row h3 {
  overflow-wrap: anywhere;
}
.row p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.row .btn {
  white-space: nowrap;
}
.empty {
  text-align: center;
  padding: 42px 20px;
  color: var(--muted);
}
.drop {
  background: #f8faf5;
  border: 1.5px dashed #9bac9e;
  border-radius: 5px;
  text-align: center;
  padding: 32px 20px;
  margin: 20px 0;
}
.drop.drag {
  border-color: var(--green);
  background: var(--mint);
}
.drop-icon {
  font-size: 30px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 14px;
}
.drop p {
  margin: 4px;
  font-size: 13px;
}
.filelist {
  list-style: none;
  padding: 0;
  font-size: 13px;
}
.filelist li {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
progress {
  width: 100%;
  height: 9px;
  accent-color: var(--green);
}
.status {
  font-size: 13px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
}
.back {
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 22px;
}
code {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.share-link {
  font-size: 12px;
}
footer {
  max-width: 1104px;
  border-top: 1px solid var(--line);
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 11px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 13px;
  max-width: 90vw;
  display: none;
}
#toast.show {
  display: block;
}
.loading {
  color: var(--muted);
}
.small-title {
  font-size: 28px;
}
.summary {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
details {
  margin-top: 18px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  color: var(--green);
}
@media (max-width: 1160px) {
  main,
  footer {
    margin-left: 30px;
    margin-right: 30px;
  }
  .hero {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  header {
    padding: 20px;
  }
  .brand {
    font-size: 14px;
  }
  .admin-link {
    font-size: 11px;
  }
  main {
    margin: 0;
    padding: 32px 20px 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 6px 0 32px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-art {
    aspect-ratio: 1.8;
  }
  .hero-art svg {
    height: 70%;
  }
  .art-label {
    bottom: 12px;
    font-size: 9px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 22px;
  }
  .title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  h1 {
    font-size: 28px;
  }
  .row {
    flex-wrap: wrap;
  }
  .row > div {
    max-width: 100%;
  }
  .facts {
    gap: 10px;
  }
  .fact strong {
    font-size: 22px;
  }
  footer {
    margin: 0 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .narrow {
    width: 100%;
  }
  .drop {
    padding: 24px 10px;
  }
}
[hidden] {
  display: none !important;
}
