[hidden] {
  display: none !important;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
dl {
  margin: 0;
}
dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 18px;
}
dd {
  margin: 4px 0 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.plain-button {
  background: none;
  color: var(--text);
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--muted);
}
#status[data-error="true"] {
  color: #ffb0b0;
}
#invoice,
#card-invoice {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
#invoice-form,
#card-form,
#result-form {
  margin-top: 24px;
}
.demo-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.demo-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  min-height: 210px;
}
.demo-panel strong {
  color: var(--accent);
}
.copy-block {
  white-space: pre-wrap;
  line-height: 1.7;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
  font-family: inherit;
  color: var(--muted);
}
.referral-link {
  overflow-wrap: anywhere;
}
.plain-list {
  padding-left: 22px;
}
.example h1 {
  font-size: clamp(34px, 5vw, 48px);
}
@media print {
  header,
  footer,
  form,
  button,
  #accept-form,
  #result-form {
    display: none !important;
  }
  body,
  :root {
    background: white;
    color: #111;
    color-scheme: light;
  }
  .shell {
    width: 100%;
  }
  .note,
  #invoice {
    border: 1px solid #999;
  }
  dt,
  .muted {
    color: #333;
  }
}
