:root {
  font:15px/1.6 system-ui,sans-serif;
  color:#182334;
  background:white;
  --blue:#1677ff;
  --line:#dce6f4;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
a {
  color:#1264d9;
}
header {
  display:flex;
  justify-content:space-between;
  padding:18px 5%;
  border-bottom:1px solid var(--line);
  gap:20px;
}
main {
  max-width:1040px;
  margin:auto;
  padding:30px 24px 110px;
}
h1 {
  font-size:28px;
  margin:4px 0;
}
h2 {
  font-size:22px;
  margin:0 0 14px;
}
h3 {
  font-size:17px;
}
.eyebrow {
  font-size:11px;
  letter-spacing:.08em;
  color:#61738d;
  font-weight:700;
}
p {
  margin:10px 0;
  color:#53647b;
}
button,input,textarea,select {
  font:inherit;
}
button,.button {
  padding:10px 16px;
  min-height:44px;
  border:1px solid var(--line);
  border-radius:10px;
  background:white;
  color:#23415f;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}
button:disabled {
  opacity:.5;
  cursor:default;
}
.primary {
  background:var(--blue);
  border-color:var(--blue);
  color:white;
}
label {
  display:grid;
  gap:6px;
  margin:14px 0;
  font-weight:600;
}
input,textarea,select {
  padding:10px;
  border:1px solid #b9cbe2;
  border-radius:8px;
  width:100%;
  color:inherit;
  background:white;
}
textarea {
  min-height:88px;
}
input[type=checkbox] {
  width:auto;
}
.check {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:400;
}
fieldset {
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px;
  margin:18px 0;
}
#steps {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:6px;
  margin:24px 0;
}
#steps button {
  font-size:12px;
  padding:10px 6px;
}
#steps [aria-current=step] {
  border-color:var(--blue);
  background:#edf5ff;
  color:#1264d9;
  font-weight:700;
}
#board {
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  min-height:330px;
}
.grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 20px;
}
.actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0;
}
.hint {
  background:#f2f7ff;
  border:1px solid var(--line);
  padding:14px;
  border-radius:10px;
}
#notice:not(:empty) {
  padding:12px;
  margin:12px 0;
  border-radius:8px;
  background:#eef5ff;
}
#notice.error {
  color:#a72828;
  background:#fff0f0;
}
.ready {
  color:#187744;
}
.pending {
  color:#966305;
}
.checklist {
  list-style:none;
  padding:0;
}
.checklist li {
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
footer {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:white;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  padding:16px;
  z-index:3;
}
#saved {
  font-size:12px;
  color:#65738a;
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.proposal {
  border-left:3px solid var(--blue);
  padding-left:14px;
}
summary {
  cursor:pointer;
  font-weight:600;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {
  outline:3px solid #9bcbff;
  outline-offset:2px;
}
[hidden] {
  display:none!important;
}
@media(max-width:650px) {
  main {
    padding:22px 14px 150px;
  }
  h1 {
    font-size:24px;
  }
  #steps {
    grid-template-columns:repeat(3,1fr);
  }
  #board {
    padding:17px;
  }
  .grid {
    grid-template-columns:1fr;
  }
  footer {
    gap:6px;
    flex-wrap:wrap;
    padding:10px;
  }
  footer button {
    padding:9px 12px;
  }
  #saved {
    width:100%;
    text-align:center;
    order:3;
  }
}
