[hidden] {
  display: none !important;
}
*:before,
*:after,
* {
  box-sizing: border-box;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 4px;
}
input,
select,
textarea {
  max-width: 100%;
}
p {
  line-height: 1.8;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
}
body {
  overflow-wrap: anywhere;
}
.query-shell {
  width: min(100% - 32px, 620px);
  margin: 0 auto;
  padding: 48px 0 28px;
}
.query-brand {
  text-align: center;
  margin-bottom: 28px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  color: var(--cinnabar);
  border: 1px solid var(--cinnabar);
  width: 36px;
  height: 36px;
  font: 24px var(--font-display);
  margin-bottom: 14px;
}
.query-brand h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 2px;
  line-height: 1.6;
}
.query-card {
  background: #fff;
  border: 1px solid var(--line-border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 3px 15px #00000003;
  margin-bottom: 18px;
}
.query-card .input-group {
  margin-bottom: 25px;
}
.query-card input {
  font-size: 16px;
  padding: 10px 0;
}
.query-button {
  width: 100%;
  min-height: 46px;
}
.message {
  font-size: 13px;
  line-height: 1.8;
  color: var(--cinnabar);
  margin: 16px 0 0;
}
.query-footer {
  text-align: center;
  color: var(--ink-light);
  font-size: 11px;
  margin-top: 24px;
}
.query-footer p {
  letter-spacing: 3px;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.result-kicker {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 2px;
}
.result-title {
  font-size: 21px;
  margin: 14px 0 24px;
}
.disciple-name {
  font-size: 26px;
  margin: 0;
  line-height: 1.6;
}
.disciple-name span {
  font-size: 19px;
}
.master-line {
  font-size: 14px;
  margin: 6px 0 22px;
}
.query-facts {
  margin: 0;
}
.query-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-faint);
  font-size: 13px;
}
.query-facts dt {
  color: var(--ink-light);
  flex: none;
}
.query-facts dd {
  margin: 0;
  text-align: right;
}
.number-text {
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
}
.grant-heading {
  font-size: 18px;
  letter-spacing: 2px;
  margin: 28px 0 8px;
}
.grant-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-faint);
}
.grant-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.grant-top h4 {
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
}
.grant-description {
  font-size: 14px;
  margin: 10px 0 4px;
}
.grant-date,
.muted {
  color: var(--ink-light);
  font-size: 12px;
  line-height: 1.8;
}
.grant-date {
  margin: 4px 0;
}
.result-footnote {
  color: var(--ink-light);
  font-size: 12px;
  margin: 20px 0 0;
}
.status-mark {
  display: inline-block;
  flex: none;
  padding: 4px 9px;
  border: 1px solid #e5e5e5;
  border-radius: 99px;
  font-size: 11px;
  white-space: nowrap;
}
.status-mark.is-active {
  color: #4b7141;
  border-color: #4b714147;
}
.status-mark.is-danger,
.danger-text {
  color: #cf3838;
}
.status-mark.is-danger {
  border-color: #cf383840;
}
.status-mark.is-warning {
  color: #8b642a;
  border-color: #8b642a40;
}
.revoke-notice {
  background: #fff6f4;
  border-left: 2px solid #cf3838;
  padding: 10px 14px;
  margin-top: 18px;
  font-size: 13px;
}
.revoke-notice p {
  margin: 5px 0;
  white-space: pre-wrap;
}
@media (max-width: 480px) {
  .query-shell {
    padding-top: 28px;
  }
  .query-brand h1 {
    font-size: 23px;
  }
  .query-card {
    padding: 22px 20px;
  }
  .disciple-name {
    font-size: 24px;
  }
  .disciple-name span {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
