:root {
  color: #20292f;
  background: #f4f6f7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

#license-shell {
  min-height: 100vh;
  padding: 32px 18px;
}

.license-stage {
  width: min(520px, 100%);
  margin: 8vh auto 0;
}

.license-brand {
  margin-bottom: 26px;
}

.license-brand h1 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: 0;
}

.license-brand p {
  margin: 0;
  color: #65717a;
}

.license-panel {
  padding: 24px;
  border: 1px solid #dce2e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(31 47 54 / 8%);
}

.license-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.license-panel > p {
  margin: 0 0 20px;
  color: #626e77;
  line-height: 1.6;
}

.license-panel label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 650;
}

#license-key {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #bcc7cc;
  border-radius: 6px;
  font: 15px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

#license-key:focus {
  border-color: #177b68;
  outline: 3px solid rgb(23 123 104 / 14%);
}

#license-submit {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #177b68;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#license-submit:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

#license-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #3e6f61;
  font-size: 13px;
}

#license-message.is-error {
  color: #a54141;
}

.license-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #7b858c;
  font-size: 11px;
}

@media (max-width: 520px) {
  #license-shell {
    padding: 20px 14px;
  }

  .license-stage {
    margin-top: 4vh;
  }

  .license-brand h1 {
    font-size: 25px;
  }

  .license-panel {
    padding: 20px;
  }
}
