:root {
  color-scheme: light;
  --ink: #142d29;
  --muted: #576f68;
  --line: #d6e0d9;
  --green: #1c7657;
  --pale: #edf4ef;
  --paper: #f5f7f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 "Inter",
    "Noto Sans KR",
    system-ui,
    sans-serif;
}
header {
  height: 70px;
  background: #152d29;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 18px;
}
header > span {
  border-left: 1px solid #507068;
  padding-left: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #c3d5cd;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: bold 29px/1 system-ui;
  letter-spacing: -0.09em;
  text-decoration: none;
  color: white;
}
.brandmark {
  color: #b3efb1;
  font-size: 30px;
}
.headright {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font: 12px monospace;
}
.headright button {
  background: transparent;
  color: #e3f4ea;
  border-color: #56766c;
}
.shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: calc(100dvh - 70px);
}
aside {
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  background: #eaf0e8;
  border-right: 1px solid var(--line);
}
.group,
.eyebrow,
.asidefoot small {
  font: 600 10px/1.5 monospace;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.group {
  padding-left: 15px;
  margin-bottom: 20px;
}
nav {
  display: grid;
  gap: 6px;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 12px;
}
button:hover,
button:focus-visible {
  border-color: #3b8269;
  outline-color: #23805b;
}
nav button {
  text-align: left;
  padding: 12px;
  border: 0;
  background: transparent;
  font-weight: 600;
}
nav button.active {
  background: var(--ink);
  color: white;
}
.asidefoot {
  margin-top: auto;
  padding: 32px 12px 0;
  color: var(--muted);
  font-size: 12px;
}
main {
  padding: clamp(22px, 4vw, 66px);
  max-width: 1500px;
  width: 100%;
  margin: auto;
  align-self: start;
  margin-top: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow i {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #458c6c;
}
.title,
.sectionhead,
.row,
.modalhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h1 {
  font-size: clamp(30px, 4vw, 50px);
  margin: 4px 0 14px;
  letter-spacing: -0.055em;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.04em;
  margin: 0;
}
h3 {
  font-size: 16px;
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 22px;
}
.card:first-child {
  background: var(--ink);
  color: #ebfcf0;
}
.card p,
.muted,
small {
  color: var(--muted);
}
.card p {
  margin: 0;
  font-size: 13px;
}
.card:first-child p {
  color: #c4d9cb;
}
.card strong {
  display: block;
  font:
    500 38px/1.3 "IBM Plex Mono",
    monospace;
  letter-spacing: -0.05em;
}
.panel {
  margin-top: 22px;
}
.sectionhead {
  margin-bottom: 16px;
}
.row {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.row > div:first-child {
  min-width: 0;
}
.row strong,
.row small {
  display: block;
  overflow-wrap: anywhere;
}
.pill {
  display: inline-block;
  background: var(--pale);
  color: #325a47;
  border-radius: 4px;
  padding: 3px 8px;
  font: 600 12px/1.5 system-ui;
}
.bad {
  background: #fff0db;
  color: #80501e;
}
.bar {
  margin: 8px 0;
  height: 8px;
  background: #e3e8e0;
  border-radius: 6px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: #468862;
}
.eventbtn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  border-radius: 0;
}
.eventbtn:hover {
  background: #f3f7f3;
}
.meta {
  font-size: 12px;
  color: var(--muted);
}
#status {
  color: #85511b;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  width: min(640px, 95vw);
  max-height: 88dvh;
  padding: 24px;
}
dialog::backdrop {
  background: #102e27aa;
}
.modalhead {
  margin-bottom: 16px;
}
label {
  display: grid;
  gap: 5px;
  margin: 12px 0;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  padding: 9px;
  border: 1px solid #aabdb3;
  border-radius: 5px;
}
.action {
  background: var(--ink);
  color: white;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.photo {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: var(--ink);
  border-radius: 6px;
}
dl {
  display: grid;
  grid-template-columns: 110px auto;
  gap: 6px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.empty {
  padding: 16px 0;
  color: var(--muted);
}
@media (max-width: 750px) {
  header {
    padding: 0 15px;
    height: 56px;
  }
  header > span,
  #clock,
  .asidefoot,
  .group {
    display: none;
  }
  .shell {
    display: block;
  }
  aside {
    padding: 8px;
    border-bottom: 1px solid var(--line);
  }
  nav {
    display: flex;
    justify-content: center;
  }
  nav button {
    font-size: 13px;
    padding: 7px 10px;
  }
  main {
    padding: 20px 14px;
  }
  .card,
  .panel {
    padding: 14px;
  }
  .cards {
    gap: 6px;
  }
  .card strong {
    font-size: 28px;
  }
  .row {
    align-items: flex-start;
  }
  .title button {
    font-size: 12px;
  }
}
