/* ResinCraft Report (report.rscraft.resincore.tech), in the website's "Amethyst Lab" look (web/DESIGN.md).
   Fonts and the logo come from /assets/, which nginx serves from the website's own assets folder. */

@font-face {
  font-family: 'Martian Mono';
  src: url('/assets/fonts/martian-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  src: url('/assets/fonts/ibm-plex-sans-thai-thai-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'IBM Plex Sans Thai';
  src: url('/assets/fonts/ibm-plex-sans-thai-thai-600-normal.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* ---------- Tokens ---------- */

:root {
  --bg: #eef2f2;
  --bg-2: #e4eaeb;
  --panel: #f8faf9;
  --panel-2: #eaf0f0;
  --line: #cfd9db;
  --line-strong: #aebcc0;
  --text: #0e171d;
  --muted: #4a5a64;
  --faint: #7b8a93;
  --violet: #7c3aed;
  --violet-ink: #6526d9;
  --violet-deep: #43169a;
  --violet-soft: #7c3aed14;
  --violet-glow: #8b46ff55;
  --copper: #b4622b;
  --copper-soft: #b4622b1a;
  --link: #0b67a0;
  --lit: #1f9d55;
  --lit-glow: #2ee07a66;
  --warn: #a8650a;
  --bad: #c41e1e;
  --grid-minor: #0b67a00d;
  --grid-major: #0b67a01a;
  --shadow-sm: 0 1px 0 #ffffffb3 inset, 0 1px 2px #0e171d14;
  --shadow: 0 1px 0 #ffffffb3 inset, 0 12px 30px -14px #0e171d33;
  --radius: 6px;
  --radius-lg: 10px;
  --display: 'Martian Mono', 'IBM Plex Sans Thai', ui-monospace, Consolas, monospace;
  --font: 'Hanken Grotesk', 'IBM Plex Sans Thai', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.3, 1.5, 0.5, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101318;
    --bg-2: #0c0f13;
    --panel: #161a21;
    --panel-2: #1c212a;
    --line: #262c37;
    --line-strong: #36404f;
    --text: #e9edf2;
    --muted: #9aa5b4;
    --faint: #6b7686;
    --violet: #8b46ff;
    --violet-ink: #b28cff;
    --violet-deep: #4c1d95;
    --violet-soft: #8b46ff24;
    --violet-glow: #8b46ff66;
    --copper: #e08a4f;
    --copper-soft: #e08a4f1f;
    --link: #7fd1ff;
    --lit: #3ee08f;
    --lit-glow: #3ee08f66;
    --warn: #ffc24a;
    --bad: #ff5a5a;
    --grid-minor: #7fd1ff08;
    --grid-major: #7fd1ff12;
    --shadow-sm: 0 1px 0 #ffffff08 inset, 0 1px 2px #0008;
    --shadow: 0 1px 0 #ffffff0a inset, 0 14px 40px -16px #000c;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size:
    96px 96px,
    96px 96px,
    24px 24px,
    24px 24px;
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--violet);
  color: #fff;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 500 0.7rem/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-soft);
}

.kicker .n {
  color: var(--violet-ink);
}

/* Status lights. */
.lamp {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 2px;
  background: var(--faint);
}

.lamp.up {
  background: var(--lit);
  box-shadow: 0 0 6px var(--lit-glow);
  animation: lamp 2.4s ease-in-out infinite;
}

.lamp.slow,
.lamp.maint {
  background: var(--warn);
}

.lamp.part {
  background: var(--copper);
}

.lamp.down {
  background: var(--bad);
  box-shadow: 0 0 8px var(--bad);
}

@keyframes lamp {
  50% {
    box-shadow: 0 0 14px var(--lit-glow);
  }
}

/* ---------- Top bar ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.top::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet) 25%, var(--violet-ink) 65%, transparent);
  opacity: 0.55;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1100px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 500 0.88rem/1 var(--display);
  text-decoration: none;
}

.brand b {
  font-weight: 700;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 500 0.74rem/1 var(--display);
  text-decoration: none;
}

.top-links a:hover {
  color: var(--violet-ink);
}

/* ---------- Intro ---------- */

.intro {
  display: grid;
  gap: 14px;
  padding: 64px 0 36px;
}

.intro > * {
  animation: rise 0.9s var(--ease-out) both;
}

.intro > :nth-child(2) {
  animation-delay: 0.06s;
}

.intro > :nth-child(3) {
  animation-delay: 0.12s;
}

.intro h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  transition: color 0.7s var(--ease);
}

.intro h1.decoding {
  color: var(--violet-ink);
  transition: none;
}

.lede {
  max-width: 38em;
  color: var(--muted);
  font-size: 1.06rem;
}

.known {
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line));
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--warn) 9%, var(--panel));
  font-size: 0.95rem;
}

/* ---------- Steps: a circuit from 01 to 03 that fills as you go ---------- */

.steps {
  --fill: 0;
  position: relative;
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
}

/* The trace behind the step nodes, and its violet fill. */
.steps::before,
.steps::after {
  content: '';
  position: absolute;
  top: 26px;
  bottom: 96px;
  left: 21px;
  width: 2px;
}

.steps::before {
  background: repeating-linear-gradient(var(--line-strong) 0 8px, transparent 8px 14px);
}

.steps::after {
  background: linear-gradient(var(--violet-ink), var(--violet));
  box-shadow: 0 0 10px var(--violet-glow);
  transform-origin: top;
  transform: scaleY(var(--fill));
  transition: transform 0.6s var(--ease-out);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  animation: rise 0.9s var(--ease-out) both;
}

.step[data-step='2'] {
  animation-delay: 0.12s;
}

.step[data-step='3'] {
  animation-delay: 0.24s;
}

.step-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font: 650 0.78rem/1 var(--display);
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.4s var(--spring);
}

.step.done .step-node {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
  box-shadow: 0 0 0 4px var(--violet-soft), 0 0 18px var(--violet-glow);
  transform: scale(1.06);
}

.step-body {
  display: grid;
  gap: 10px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.step:focus-within .step-body {
  border-color: color-mix(in srgb, var(--violet) 45%, var(--line));
  box-shadow: var(--shadow);
}

.step-body h2 {
  font-size: 1.15rem;
}

.step-body h2 em {
  color: var(--faint);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8em;
}

/* Step 1: the parts as cards. */
.parts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin-top: 6px;
}

.part {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px 14px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  cursor: pointer;
  animation: rise 0.6s var(--ease-out) calc(0.3s + var(--i, 0) * 0.04s) both;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    transform 0.35s var(--spring),
    box-shadow 0.2s var(--ease);
}

.part:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.part input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.part-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.part-state {
  color: var(--faint);
  font: 500 0.62rem/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.part b {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.part:has(input:checked) {
  border-color: var(--violet);
  background: var(--violet-soft);
  box-shadow: 0 0 0 1px var(--violet), 0 10px 24px -14px var(--violet-glow);
}

.part:has(input:checked)::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    var(--violet);
  animation: pop 0.35s var(--spring) both;
}

.part:has(input:focus-visible) {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

/* Step 2. */
.textarea-wrap {
  position: relative;
}

textarea,
input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

textarea {
  min-height: 130px;
  padding: 12px 14px 28px;
  resize: vertical;
}

input {
  padding: 10px 12px;
}

textarea:focus,
input:focus {
  border-color: var(--violet);
  outline: none;
  box-shadow: 0 0 0 3px var(--violet-soft);
}

.count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--faint);
  font: 500 0.66rem/1 var(--display);
  transition: color 0.2s var(--ease);
}

.count.ok {
  color: var(--lit);
}

/* Step 3. */
.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field > span {
  color: var(--muted);
  font: 500 0.68rem/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hint {
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ---------- Send ---------- */

.send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 8px 0 0 62px;
  animation: rise 0.9s var(--ease-out) 0.36s both;
}

.form-msg {
  flex: 1 1 260px;
  color: var(--bad);
  font-size: 0.92rem;
}

.form-msg.shake {
  animation: shake 0.4s var(--ease);
}

.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font: 600 0.76rem/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}

.btn:hover {
  border-color: var(--violet);
}

.btn:active {
  transform: translateY(1px);
}

/* The lever: violet, a bevel, and a small lamp that lights when you reach for it. */
.btn.primary {
  border: 0;
  background: var(--violet);
  color: #fff;
  box-shadow:
    inset 0 -3px 0 var(--violet-deep),
    inset 0 1px 0 #ffffff40,
    0 10px 24px -12px var(--violet-glow);
}

.btn.primary::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: #ffffff59;
  transition:
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn.primary:hover::before {
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.btn.primary:active {
  transform: translateY(2px);
  box-shadow: inset 0 -1px 0 var(--violet-deep);
}

.btn.big {
  --h: 52px;
  padding: 0 24px;
  font-size: 0.82rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.btn.busy::before {
  animation: blink 0.6s steps(1) infinite;
}

/* ---------- Sent ---------- */

.sent {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 24px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  text-align: center;
  animation: rise 0.7s var(--ease-out) both;
}

.sent h2 {
  font-size: 1.6rem;
}

.sent p {
  max-width: 34em;
}

.sent .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.done-lamp {
  width: 72px;
}

.lamp-body {
  fill: var(--panel-2);
  stroke: var(--line-strong);
  stroke-width: 2;
}

.lamp-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.lamp-core {
  fill: #ffcf5a;
  stroke: #ffb02e;
  stroke-width: 2;
  filter: drop-shadow(0 0 12px #ffb02ecc);
  animation: lamp-on 0.8s var(--ease-out) 0.15s both;
}

.lamp-check {
  fill: none;
  stroke: #4a2a00;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.5s var(--ease-out) 0.7s forwards;
}

/* ---------- Footer ---------- */

.foot {
  padding-top: 40px;
  padding-bottom: 48px;
}

.foot p {
  margin: 4px 0;
}

.legal {
  margin-top: 12px !important;
  color: var(--faint);
  font: 0.62rem/1.6 var(--display);
  letter-spacing: 0.04em;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes pop {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-5px);
  }
  40%,
  80% {
    transform: translateX(5px);
  }
}

@keyframes blink {
  50% {
    background: #fff;
  }
}

@keyframes lamp-on {
  from {
    fill: var(--copper-soft);
    stroke: var(--copper);
    filter: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* ---------- Phones ---------- */

@media (max-width: 620px) {
  .wrap {
    padding: 0 16px;
  }
  .back {
    display: none;
  }
  .intro {
    padding-top: 40px;
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .steps::before,
  .steps::after {
    display: none;
  }
  .step-node {
    width: 36px;
    height: 36px;
  }
  .step-body {
    padding: 18px 16px 18px;
  }
  .send {
    padding-left: 0;
  }
  .send .btn {
    width: 100%;
  }
}

/* Reduced motion: nothing slides, shakes or pops; things still fade in and lights still glow. */
@media (prefers-reduced-motion: reduce) {
  .intro > *,
  .step,
  .part,
  .send,
  .sent {
    animation-name: fade;
  }
  .form-msg.shake,
  .part:has(input:checked)::after {
    animation: none;
  }
  .part,
  .step-node,
  .steps::after {
    transition-property: border-color, background-color, box-shadow, color;
  }
  .part:hover,
  .step.done .step-node {
    transform: none;
  }
}

#done-title:focus {
  outline: none;
}

/* ---------- Launcher reports ---------- */

.note {
  color: var(--faint);
  font-size: 0.9rem;
}

/* The four kinds of report, as cards with an icon. */
.parts.types {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .parts.types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.part.type {
  align-content: start;
  gap: 8px;
  padding: 16px 14px;
}

.part-hint {
  color: var(--faint);
  font-size: 0.8rem;
  line-height: 1.4;
}

.ico {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--violet-ink);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  transition: transform 0.35s var(--spring);
}

.part.type:hover .ico,
.part.type:has(input:checked) .ico {
  transform: translateY(-2px) rotate(-8deg);
}

.ico-bug {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 2 1.9 1.9M14.1 3.9 16 2M9 7.1v-1a3 3 0 1 1 6 0v1'/%3E%3Cpath d='M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6M12 20v-9M6.5 13H3M21 13h-3.5M6 7.5 4 6M18 7.5 20 6M6.3 17.5 4 19M17.7 17.5 20 19'/%3E%3C/svg%3E");
}

.ico-crash {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}

.ico-idea {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5M9 18h6M10 22h4'/%3E%3C/svg%3E");
}

.ico-question {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E");
}

/* Fields inside the steps. */
.step-body > .field + .field,
.step-body > .field + .fields,
.step-body > .fields {
  margin-top: 4px;
}

.step-body .fields {
  margin-top: 4px;
}

select {
  width: 100%;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b46ff' stroke-width='2' fill='none'/%3E%3C/svg%3E")
      right 12px center / 12px 8px no-repeat,
    var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
}

select:focus {
  border-color: var(--violet);
  outline: none;
  box-shadow: 0 0 0 3px var(--violet-soft);
}

.field textarea {
  min-height: 100px;
  padding-bottom: 12px;
}

.textarea-wrap textarea {
  min-height: 130px;
  padding-bottom: 28px;
}

/* Ideas and questions don't need steps to reproduce. */
.bug-only {
  transition: opacity 0.25s var(--ease);
}

.steps.is-idea .bug-only {
  display: none;
}

/* The report's number after sending, like an issue number. */
.issue-no {
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--violet) 45%, var(--line));
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-ink);
  font: 650 0.85rem/1.2 var(--display);
  animation: pop 0.5s var(--spring) 0.4s both;
}
