:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #1a352f;
  background: #f4f5f0;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #173e37;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
}
header strong {
  font-size: 24px;
  letter-spacing: -1px;
}
header span {
  margin-left: 24px;
  color: #c9d8d1;
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 30px 5vw 60px;
}
h1 {
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -1.8px;
  font-weight: 600;
  line-height: 1.15;
  margin: 18px 0;
}
h2 {
  font-size: 22px;
  font-weight: 600;
}
h3 {
  margin-top: 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #557263;
  font-weight: 650;
}
.intro {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: #52695f;
}
.muted {
  color: #64756e;
  font-size: 13px;
  line-height: 1.6;
}
button,
a,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 1px solid #234e43;
  background: #234e43;
  color: white;
  border-radius: 6px;
  padding: 11px 17px;
  cursor: pointer;
}
button:hover {
  background: #316654;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.secondary {
  background: transparent;
  color: #234e43;
  border-color: #bccbc3;
}
a {
  color: #265746;
  font-weight: 550;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin: 12px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #bbc9c1;
  border-radius: 5px;
  padding: 11px;
  background: white;
  color: #183e32;
  margin-top: 7px;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
#login {
  padding: 45px 0;
}
#loginForm {
  max-width: 380px;
  margin-top: 30px;
}
.hero {
  padding: 14px 0 26px;
}
.hero p {
  max-width: 760px;
  line-height: 1.7;
}
.status {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pill {
  background: #e4ebe2;
  border-radius: 30px;
  padding: 8px 13px;
  font-size: 12px;
}
.pill.warning {
  background: #f2e6c6;
}
nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #cbd6cc;
  margin-bottom: 28px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
nav button {
  background: transparent;
  color: #496358;
  border-color: transparent;
}
nav button.active {
  background: #e1e9dd;
  color: #163b2c;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading p {
  max-width: 690px;
  line-height: 1.6;
}
.toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
}
.toolbar input {
  max-width: 360px;
  margin: 0;
}
.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid #d9e0d6;
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #eaf0e7;
  padding: 15px;
  white-space: nowrap;
}
td {
  padding: 18px 15px;
  border-top: 1px solid #e4e9e1;
  font-size: 14px;
  vertical-align: top;
}
td small {
  display: block;
  color: #698071;
  margin-top: 6px;
}
td button {
  font-size: 12px;
  padding: 7px 10px;
  margin: 0 5px 5px 0;
}
.empty {
  padding: 50px;
  text-align: center;
  border: 1px dashed #bccbbc;
  margin-top: 15px;
}
.publish {
  background: #e6ece0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 28px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.publish p {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.publish .actions {
  flex-direction: column;
  align-items: flex-start;
}
.row {
  padding: 16px 0;
  border-bottom: 1px solid #d8dfd4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
#notice:not(:empty) {
  padding: 16px;
  border-radius: 6px;
  background: #f6eacb;
  white-space: pre-line;
  margin-bottom: 15px;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 28px;
  width: min(700px, 95vw);
  max-height: 90vh;
  color: #183a2c;
}
dialog::backdrop {
  background: #0c281e99;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
#formError {
  color: #9f3828;
}
footer {
  padding: 24px 5vw;
  color: #6a7c70;
  font-size: 12px;
  border-top: 1px solid #d9e0d5;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .section-heading,
  .publish {
    display: block;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  header span {
    font-size: 12px;
    margin-left: 15px;
  }
  .section-heading .actions {
    margin: 20px 0;
  }
  .publish .actions {
    margin-top: 20px;
  }
  main {
    padding: 20px 5vw;
  }
  td,
  th {
    padding: 12px;
  }
}

.check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.check input {
  width: auto;
  margin: 0;
}
