:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #27352f;
  background: #f8faf8;
  color-scheme: light dark;
  --muted: #5b6d52;
  --border: #dde6d9;
  --control: #819077;
  --primary: #354e2c;
  --notice: #fff6e8;
  --notice-border: #ead8b9;
  --notice-text: #80613d;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  max-width: 28rem;
  margin: auto;
  padding: 16px;
  overflow-wrap: anywhere;
}
h1 {
  font-size: 1.1rem;
  color: var(--muted);
}
h2 {
  font-size: 1.5rem;
  line-height: 1.4;
}
h3 {
  margin-top: 2rem;
}
button,
input {
  min-height: 48px;
  font: inherit;
  width: 100%;
  border-radius: 10px;
}
button {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: inherit;
  border-color: var(--control);
}
input {
  padding: 10px;
  border: 1px solid var(--control);
  background: transparent;
  color: inherit;
}
label {
  display: block;
  margin-top: 12px;
}
:focus-visible {
  outline: 3px solid #617955;
  outline-offset: 3px;
}
/* Headings take focus only to announce a new screen; they aren't controls. */
[tabindex="-1"]:focus-visible {
  outline: none;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 16px 0;
}
.site {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 10px;
}
.site input {
  width: 24px;
  flex-shrink: 0;
}
.site strong,
.site small {
  display: block;
}
.row {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.notice {
  background: var(--notice);
  border: 1px solid var(--notice-border);
  color: var(--notice-text);
  padding: 12px;
  border-radius: 10px;
}
.notice:empty {
  display: none;
}
footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #e3ebdf;
    background: #19221c;
    --muted: #b4c3aa;
    --border: #3b4b36;
    --control: #95a789;
    --primary: #354e2c;
    --notice: #302a21;
    --notice-border: #68563d;
    --notice-text: #e1c9a6;
  }
}
