:root {
  --navy: #063b25;
  --blue: #07527d;
  --cyan: #00843d;
  --paper: #f7f5ee;
  --line: #d8dfdc;
  --muted: #68737a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
}
header {
  height: 67px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
header a {
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
}
header b {
  font-family: Manrope;
}
header span {
  color: var(--cyan);
}
main {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.auth {
  max-width: 440px;
  margin: 100px auto;
}
.auth > p,
.editor-head p {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 800;
  color: var(--cyan);
}
h1 {
  font: 800 34px Manrope;
  margin: 8px 0 12px;
}
.auth > span,
.hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
form {
  margin-top: 25px;
}
label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: 13px DM Sans;
  background: #fafbf9;
  outline: none;
}
input:focus,
textarea:focus {
  border-color: var(--cyan);
}
button {
  border: 0;
  border-radius: 7px;
  background: var(--cyan);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}
.auth button {
  width: 100%;
  margin-top: 18px;
}
.hidden {
  display: none;
}
.editor-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}
.editor-head > div:last-child {
  display: flex;
  gap: 8px;
}
.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card h2 {
  font: 700 17px Manrope;
  margin: 0 0 8px;
}
.hint {
  margin: 0;
}
#json-editor {
  font-family: monospace;
  font-size: 11px;
}
#status {
  position: fixed;
  right: 25px;
  bottom: 25px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  display: none;
}
#login-error {
  color: #b32727;
  font-size: 11px;
  margin-top: 10px;
}
@media (max-width: 720px) {
  .editor-head {
    align-items: start;
    flex-direction: column;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .editor-head > div:last-child {
    flex-wrap: wrap;
  }
}
