@charset "UTF-8";
:root {
  --accent: #ff99dd;
  --bg: white;
  --text: #0b0b0b;
  --warn: #fff200;
  --error: #ff4d4d;
  --error-text: var(--bg);
}

:focus {
  outline: 8px solid hsl(from var(--accent) calc(h + 180) s l);
}

html {
  font: 18px sans-serif;
  color: var(--text);
}

html, body {
  height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  background-color: color-mix(in srgb, var(--accent), var(--bg) 90%);
}

section {
  border: 0.25rem solid var(--text);
  border-radius: 1rem;
  box-shadow: 0 0 1rem 0 color-mix(in srgb, var(--text), transparent 70%);
  background-color: var(--bg);
}
@media (min-height: 64rem) {
  section {
    margin-top: 4rem;
  }
}
section header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background-color: color-mix(in srgb, var(--accent), var(--bg) 50%);
  border-bottom: 0.25rem solid var(--text);
}
section header .brand {
  font-weight: 900;
  font-size: 1rem;
  padding: 0.5rem;
}
section header .pill {
  display: block;
  padding: 0.5rem;
  background-color: var(--accent);
  border-radius: 1rem;
  text-transform: uppercase;
}

button {
  font-size: 1rem;
  font-weight: bold;
  padding: 0.5rem;
  background-color: var(--accent);
  border: 0.25rem solid var(--text);
  border-radius: 1rem;
  cursor: pointer;
}
button:hover {
  background-color: color-mix(in srgb, var(--accent), var(--bg) 50%);
}

@media (min-width: 24rem) {
  form {
    min-width: 24rem;
  }
}
form label {
  display: block;
}
form label span {
  display: block;
  padding: 0.5rem;
  margin: 1rem;
  font-weight: bold;
}
form label input, form label textarea {
  display: block;
  font-size: 1rem;
  box-sizing: border-box;
  width: calc(100% - 2rem);
  padding: 0.5rem;
  margin: 1rem;
  margin-top: -1rem;
  border: 0.25rem solid var(--text);
  border-radius: 1rem;
}
form label textarea {
  min-height: 8rem;
  resize: vertical;
}
form .actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 1rem;
}
form .actions.center {
  justify-content: center;
}

p {
  font-size: 0.8rem;
  margin: 1rem;
}
p.error {
  background-color: var(--error);
  color: var(--error-text);
  padding: 1rem;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}
p.disclosure {
  background-color: var(--warn);
  padding: 1rem;
  border-radius: 1rem;
  color: var(--text);
  border: 2px dashed var(--text);
}
p.info {
  text-align: center;
}

.label-with-button {
  display: flex;
  justify-content: stretch;
  align-items: flex-end;
}
.label-with-button label {
  flex-grow: 1;
}
.label-with-button button {
  margin-bottom: 1rem;
}
.label-with-button button.copied {
  position: relative;
  color: transparent;
  background-color: hsl(from var(--accent) calc(h + 180) s l);
}
.label-with-button button.copied:after {
  content: "✅";
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  color: var(--text);
}

dialog {
  border: 4px solid var(--text);
  border-radius: 1rem;
}

details summary {
  padding: 1rem;
  cursor: pointer;
}
details[open] {
  border-bottom: 0.25rem solid var(--text);
}

/*# sourceMappingURL=style.css.map */
