@font-face {
  font-family: "Work Sans";
  src: url("/WorkSans.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("/SpaceMono.ttf") format("truetype");
  font-display: swap;
}
* { box-sizing: border-box; }
html { background: #101112; color: #f4f4f2; color-scheme: dark; }
body { margin: 0; font: 16px/1.55 "Work Sans", Arial, sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, .table-scroll:focus-visible {
  outline: 2px solid #eee;
  outline-offset: 3px;
}
body > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 77px; padding: 0 clamp(20px, 6vw, 88px); border-bottom: 1px solid #333; }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; font: 15px "Space Mono", monospace; }
.brand img { object-fit: contain; }
.back { color: #b9bab9; font-size: 14px; }
main { width: min(1160px, 100%); margin: auto; padding: clamp(36px, 7vw, 92px) clamp(20px, 5vw, 50px) 60px; }
.card { max-width: 460px; margin: auto; padding: clamp(22px, 5vw, 37px); border: 1px solid #37393a; border-radius: 10px; background: #191a1c; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(31px, 5vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -.052em; }
.card h1 { font-size: clamp(29px, 5vw, 41px); }
h2 { font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
p { margin-top: 12px; color: #bdbfbe; overflow-wrap: anywhere; }
form { display: grid; gap: 14px; margin-top: 20px; }
label { display: grid; gap: 7px; font-size: 14px; color: #e0e1df; min-width: 0; }
input { width: 100%; min-width: 0; min-height: 45px; border-radius: 5px; border: 1px solid #555759; background: #111213; color: #f2f2ee; padding: 11px 12px; font: inherit; }
button, .actions a { text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 10px 14px; border: 1px solid #555759; border-radius: 5px; font: 500 14px "Work Sans", Arial, sans-serif; }
.primary { background: #f0f0ed; color: #111213; }
.primary:hover { background: #d4d4d1; }
.secondary { color: #f4f4f2; background: #242628; }
.secondary:hover { background: #333537; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.exit { display: block; margin: 0; }
.notice { border: 1px solid #53565a; border-radius: 5px; padding: 10px 12px; color: #f3f3f1; }
.other, .hint { margin-top: 14px; font-size: 13px; }
form .hint { margin-top: -4px; }
details { margin-top: 28px; padding-top: 17px; border-top: 1px solid #37393a; }
summary { cursor: pointer; font-size: 14px; }
.panel { margin-top: 28px; padding: clamp(16px, 4vw, 26px); border: 1px solid #37393a; border-radius: 8px; background: #191a1c; }
.invite { margin-top: 16px; padding: 12px; border: 1px solid #555759; border-radius: 5px; background: #111213; }
.invite p { margin-top: 0; margin-bottom: 7px; }
.invite-form { display: grid; grid-template-columns: minmax(0, 280px) auto; align-items: end; justify-content: start; }
.table-scroll { margin-top: 16px; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th, td { padding: 11px 12px; border-bottom: 1px solid #37393a; white-space: nowrap; }
thead th { color: #bdc0be; font-weight: 500; }
.pages { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; }
@media (max-width: 420px) {
  .actions { display: grid; }
  .actions .exit button { width: 100%; }
  .invite-form { grid-template-columns: 1fr; justify-content: stretch; }
}
