:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #f4f3ee;
  color: #1e2229;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 36px 20px;
}
main {
  max-width: 820px;
  margin: auto;
}
a {
  color: #344b79;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 18px;
  margin: 0 0 16px;
}
p {
  line-height: 1.8;
  color: #505865;
  font-size: 14px;
}
section {
  border: 1px solid #858c97;
  padding: 24px;
  margin: 24px 0;
  background: #faf9f5;
}
button,
.button {
  font: inherit;
  background: #344b79;
  color: #f4f3ee;
  border: 1px solid #344b79;
  padding: 11px 16px;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  display: inline-block;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: #344b79;
  border-color: #858c97;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
label {
  display: block;
  font-size: 13px;
  margin: 18px 0;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  font: inherit;
  background: #f4f3ee;
  color: #1e2229;
  border: 1px solid #858c97;
  min-width: 0;
}
li {
  margin: 12px 0;
  line-height: 1.8;
  font-size: 13px;
  overflow-wrap: anywhere;
}
ul {
  padding-left: 20px;
}
#status {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#status:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
.notice {
  padding: 12px 16px;
  border-left: 3px solid #344b79;
  background: #faf9f5;
}
small {
  font-size: 12px;
  color: #505865;
  line-height: 1.8;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
td,
th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #858c97;
  overflow-wrap: anywhere;
}
.scroll {
  overflow-x: auto;
}
form {
  max-width: 500px;
}
:focus-visible {
  outline: 3px solid #344b79;
  outline-offset: 4px;
}
@media (max-width: 500px) {
  body {
    padding: 24px 16px;
  }
  h1 {
    font-size: 26px;
  }
  section {
    padding: 18px;
  }
  .actions button {
    flex: 1;
  }
  td,
  th {
    padding: 8px;
    font-size: 11px;
  }
}

section {
  border-top: 3px solid #344b79;
}
h1 {
  font-weight: 750;
}
button,
.button {
  min-height: 44px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #344b79;
  outline-offset: 2px;
}
.eyebrow {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #344b79;
}
#created {
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid #858c97;
}
#created-code,
#invite-code,
#created-link {
  font-family: monospace;
  font-size: 12px;
}
#invites li {
  padding: 12px 0;
  border-bottom: 1px solid #858c97;
}
#invites button {
  margin-top: 8px;
}

#guest-permissions {
  margin-bottom: 24px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}
input[type='checkbox'] {
  display: inline-block;
  width: auto;
  margin-right: 8px;
}
article {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid #c0c3ca;
  overflow-wrap: anywhere;
}
article button {
  margin: 6px 8px 6px 0;
}
form + form {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #c0c3ca;
}
