:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  color: #192c34;
  background: #f4f7f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 76px;
  padding: 0 5vw;
  background: #fff;
  border-bottom: 1px solid #dfe6e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 22px;
  font-weight: 750;
  color: #143e48;
  text-decoration: none;
}
.brand span {
  font-size: 14px;
  color: #63747b;
  font-weight: 450;
  margin-left: 14px;
}
main {
  max-width: 1240px;
  margin: 52px auto;
  padding: 0 28px;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.8px;
  margin: 10px 0 12px;
}
h2 {
  font-size: 21px;
  margin: 0 0 18px;
}
p {
  color: #607079;
  line-height: 1.7;
}
button {
  border: 1px solid transparent;
  border-radius: 9px;
  background: #155b62;
  color: white;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}
button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.48;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #33a3b2;
  outline-offset: 3px;
}
.secondary {
  background: white;
  color: #26454f;
  border-color: #d1dcdf;
}
.danger {
  background: #a44238;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #4d7b83;
}
.login {
  max-width: 480px;
  margin: 8vh auto;
  text-align: center;
}
.login p {
  max-width: 390px;
  margin: 20px auto;
}
#qr-area {
  padding: 24px;
  background: white;
  border: 1px solid #dfe6e8;
  border-radius: 16px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#qr-area img {
  width: 240px;
  height: 240px;
}
#qr-area strong {
  font:
    700 27px ui-monospace,
    monospace;
  letter-spacing: 6px;
}
.heading,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.actions {
  justify-content: flex-end;
}
.hint {
  font-size: 14px;
  margin: 20px 0 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid #dfe6e8;
  border-radius: 13px;
  padding: 24px;
}
.card .tag {
  display: inline-block;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #e7f1f1;
  color: #23606b;
  margin-bottom: 16px;
}
.card h2 {
  overflow-wrap: anywhere;
}
.card p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.card .actions {
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.card button {
  font-size: 14px;
  padding: 10px 13px;
}
#error {
  background: #fff0ec;
  color: #8d352f;
  padding: 16px 20px;
  border: 1px solid #efc6bc;
  border-radius: 9px;
}
dialog {
  border: 1px solid #dfe6e8;
  border-radius: 14px;
  padding: 30px;
  max-width: 460px;
  width: calc(100% - 40px);
  box-shadow: 0 20px 70px #132c3420;
}
dialog::backdrop {
  background: #142b3455;
}
label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
input {
  font: inherit;
  border: 1px solid #bdcdd1;
  border-radius: 8px;
  padding: 13px;
  width: 100%;
}
#screen {
  height: calc(100vh - 245px);
  min-height: 430px;
  background: #17272f;
  border-radius: 12px;
  overflow: hidden;
}
#desktop h1 {
  font-size: 24px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  main {
    margin: 30px auto;
    padding: 0 18px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand span {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 27px;
  }
  #screen {
    min-height: 350px;
  }
  .login {
    margin: 35px auto;
  }
}
