:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
  color: #272924;
  background: #fafaf7;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 0 clamp(18px, 5vw, 68px) 80px;
}
header,
nav,
.bar,
.item,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
header {
  height: 84px;
  justify-content: space-between;
  border-bottom: 1px solid #dcded7;
}
strong {
  font-size: 22px;
  letter-spacing: -1px;
}
.mark {
  display: inline-grid;
  place-items: center;
  background: #234b42;
  color: white;
  border-radius: 8px;
  width: 31px;
  height: 31px;
  margin-right: 10px;
  font-size: 19px;
}
nav {
  gap: 4px;
  padding: 26px 0 20px;
  flex-wrap: wrap;
}
button,
input,
textarea {
  font: inherit;
}
button {
  border: 1px solid #d6d9d1;
  border-radius: 7px;
  background: #fff;
  color: inherit;
  padding: 8px 13px;
  cursor: pointer;
}
button:hover {
  background: #edf0ea;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
nav button {
  background: none;
  border-color: transparent;
}
nav .selected {
  background: #e3e9e1;
  color: #26493c;
}
.primary {
  background: #244d42;
  color: white;
  border-color: #244d42;
}
.primary:hover {
  background: #356554;
}
h1 {
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -2px;
  margin: 20px 0;
}
h2 {
  margin: 0 0 22px;
  font-size: 24px;
}
.bar {
  justify-content: space-between;
  flex-wrap: wrap;
}
.item {
  padding: 16px 0;
  border-bottom: 1px solid #dddeda;
  justify-content: space-between;
  flex-wrap: wrap;
}
.item div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.item b {
  display: block;
  font-size: 16px;
}
.muted,
small {
  color: #636b61;
}
.empty {
  margin: 42px 0;
  color: #697064;
}
.search {
  max-width: 340px;
  margin: 8px 0 18px;
}
input:not([type="checkbox"]),
textarea {
  background: white;
  color: inherit;
  border: 1px solid #cdd1c9;
  border-radius: 6px;
  padding: 10px;
  width: 100%;
}
textarea {
  min-height: 120px;
}
label {
  display: block;
  margin: 14px 0;
}
label span {
  display: block;
  margin-bottom: 6px;
}
input[type="checkbox"] {
  accent-color: #244d42;
}
.login {
  max-width: 380px;
  margin: 15vh auto;
}
.login h1 {
  margin-top: 48px;
}
.login button {
  width: 100%;
  margin-top: 12px;
}
dialog {
  border: 1px solid #d2d7ce;
  border-radius: 14px;
  padding: 28px;
  width: min(590px, 94vw);
  max-height: 88dvh;
  color: inherit;
}
dialog::backdrop {
  background: #18232055;
}
dialog button {
  margin: 4px 4px 4px 0;
}
.error {
  color: #963d29;
  white-space: pre-line;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 18px;
  background: #233a32;
  color: white;
  border-radius: 8px;
}
.preview {
  max-height: 210px;
  overflow: auto;
  background: #f3f4ef;
  padding: 12px;
  white-space: pre-line;
}
.actions {
  flex-wrap: wrap;
}
.mono {
  font-family: monospace;
}
.check {
  margin: 8px 0;
}
fieldset {
  border: 1px solid #d6d9d1;
  border-radius: 7px;
  margin: 14px 0;
}
.check input {
  margin-right: 8px;
}
