:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #edf7ff;
  background: #0b111a;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 2rem 1rem; }
main { max-width: 48rem; margin: 0 auto; }
nav, .actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
nav { justify-content: space-between; }
a { color: #83d9f9; }
.brand { font-weight: 800; letter-spacing: .08em; text-decoration: none; color: inherit; }
.brand span { color: #83d9f9; }
h1 { margin: 2.5rem 0 .5rem; font-size: clamp(2rem, 5vw, 3rem); }
h2 { margin: 0; font-size: 1.4rem; }
p { margin: .55rem 0 1rem; line-height: 1.55; color: #c0cedc; overflow-wrap: anywhere; }
section { margin: 1.25rem 0 0; padding: clamp(1rem, 4vw, 1.6rem); border: 1px solid #344357; border-radius: .85rem; background: #141e2b; }
label { display: block; font-weight: 650; margin: .25rem 0 .55rem; }
input, textarea, button, .button { font: inherit; }
input, textarea { max-width: 100%; color: inherit; }
textarea { display: block; padding: .7rem; width: 100%; background: #0d1520; border: 1px solid #516379; border-radius: .45rem; resize: vertical; }
#preview { font-family: ui-monospace, monospace; font-size: .87rem; white-space: pre; }
details { padding: .9rem 0; margin: .75rem 0 1rem; border-bottom: 1px solid #344357; }
summary { cursor: pointer; color: #b7eafa; }
button, .button {
  display: inline-block;
  color: #061522;
  background: #8fdaf5;
  border: 1px solid #8fdaf5;
  border-radius: .45rem;
  padding: .65rem 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: default; }
.secondary { background: transparent; color: #b7eafa; }
#create { margin-top: 1rem; }
#status { margin-bottom: 0; }
.actions { margin-bottom: 1rem; }
.scope { margin-top: 1.25rem; font-size: .9rem; }
:focus-visible { outline: 2px solid #ffc47e; outline-offset: 3px; }
