:root {
  color: #173030;
  background: #f5f7f4;
  font: 15px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 66px;
  padding: 12px max(20px, calc((100vw - 1060px) / 2));
  background: #173030;
  color: #fff;
}
header a { color: inherit; font-size: 1.2rem; font-weight: 720; text-decoration: none; }
header button { background: #f5f7f4; color: #173030; }
main { max-width: 1100px; margin: 0 auto; padding: 26px 20px 56px; }
h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2, h3 { margin-top: 0; }
section, #unlock {
  background: #fff;
  border: 1px solid #d9e1dc;
  border-radius: 10px;
  padding: 20px;
  margin: 0 0 16px;
}
#unlock { max-width: 560px; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr)); gap: 16px; }
label { display: block; margin-bottom: 12px; font-weight: 570; }
.field { margin-bottom: 12px; }
.field label { margin-bottom: 0; }
input, select, button { font: inherit; border-radius: 6px; }
input:not([type="checkbox"]), select {
  display: block; margin: 4px 0 0; padding: 8px; width: 100%; border: 1px solid #a0b4a9; color: inherit; background: #fff;
}
button { background: #20574b; color: #fff; border: 0; padding: 8px 13px; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
li button { margin: 6px 0; text-align: left; overflow-wrap: anywhere; }
li, pre, #issued { overflow-wrap: anywhere; white-space: pre-wrap; }
pre { background: #f5f7f4; padding: 10px; border-radius: 6px; }
#details { border-top: 1px solid #d9e1dc; padding-top: 16px; margin-top: 16px; }
#details h3 { margin-top: 9px; }
#notice { min-height: 1.5em; }
#notice.error { color: #952f2f; }
