:root {
  font:
    16px/1.5 Inter,
    "Segoe UI",
    sans-serif;
  color: #192e34;
  background: #f4f5f1;
  --ink: #192e34;
  --green: #155c4a;
  --border: #cdd7d2;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
.wrap {
  width: min(1080px, 100%);
  padding: 0 clamp(16px, 4vw, 48px);
  margin: auto;
}
header {
  background: var(--ink);
  color: white;
}
.bar,
.heading,
.section-head,
.savebar,
.verify {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bar {
  min-height: 66px;
}
.bar strong {
  font-size: 1.45rem;
  letter-spacing: -0.06em;
}
.bar strong span {
  font-weight: 450;
}
.mast-label {
  color: #bed2c9;
  border-left: 1px solid #60716d;
  padding-left: 14px;
}
.bar button {
  margin-left: auto;
  padding: 5px 12px;
  background: transparent;
  color: white;
  border: 1px solid #81938f;
}
.heading {
  margin: 36px 0 24px;
  justify-content: space-between;
}
.context {
  margin: 0 0 4px;
  color: #53655e;
}
h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0;
}
h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.12rem;
}
.tag {
  background: #e0ebe4;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.9rem;
  color: var(--green);
}
.layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 30px);
}
nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
}
button,
a {
  font: inherit;
}
button {
  background: var(--green);
  color: white;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 620;
  cursor: pointer;
  padding: 9px 14px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary,
nav button {
  background: transparent;
  color: var(--green);
  border-color: var(--border);
}
nav button {
  text-align: left;
  border-color: transparent;
}
nav button[aria-current="page"] {
  background: #dce8df;
  color: #133c31;
}
a {
  color: var(--green);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.93rem;
  font-weight: 600;
}
.wide {
  grid-column: 1/-1;
}
input,
textarea,
select {
  font: inherit;
  min-width: 0;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #aabbb3;
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
textarea {
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #54a894;
  outline-offset: 2px;
}
.section-head {
  justify-content: space-between;
  gap: 8px;
}
.section-head:has(h3) {
  margin: 24px 0 12px;
}
.item {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.item .grid {
  margin-top: 10px;
}
.savebar,
.verify {
  margin: 18px 0;
}
.savebar span,
.hint,
#notice,
.context {
  color: #4c6359;
}
.hint {
  font-size: 0.9rem;
}
.domain {
  font-weight: 650;
  color: var(--green);
  overflow-wrap: anywhere;
}
.login {
  max-width: 510px;
  margin: 45px auto;
}
.login form,
#publish-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  justify-items: start;
}
form label {
  width: 100%;
}
#notice {
  margin: 18px 0;
  white-space: pre-line;
}
.error {
  color: #9c342f !important;
}
button.remove {
  font-size: 0.86rem;
  padding: 5px 9px;
}
.verify {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
@media (max-width: 700px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  nav button {
    font-size: 0.88rem;
    padding: 6px 9px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .heading {
    margin: 22px 0 15px;
  }
  .bar {
    gap: 8px;
  }
  .mast-label {
    font-size: 0.88rem;
  }
  .savebar {
    gap: 8px;
  }
}
