/* ============================================================
   NextGenStudio — Briefing Form
   Palette: bg #001510 / accent #00FFBF
   Style: SaaS, calm, human
   ============================================================ */

:root {
  --bg: #001510;
  --bg-2: #002a20;
  --bg-3: #003628;
  --accent: #00FFBF;
  --accent-soft: rgba(0, 255, 191, 0.16);
  --accent-glow: rgba(0, 255, 191, 0.32);
  --text: #ECFFF7;
  --text-dim: #8aa89e;
  --text-faint: #4f6c61;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 255, 191, 0.28);
  --card: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.04);
  --error: #ff7a7a;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, #002a20 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, #002820 0%, transparent 60%),
    var(--bg);
}

/* ---------- Ambient ---------- */
.grain { display: none; } /* removed for cleaner SaaS feel */

.ambient {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 255, 191, 0.5), transparent 70%);
  top: -200px; left: -160px;
  animation: float-1 30s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 255, 191, 0.3), transparent 70%);
  bottom: -160px; right: -120px;
  animation: float-2 36s ease-in-out infinite;
}
.orb-3 { display: none; }

@keyframes float-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.05); }
}
@keyframes float-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px, -20px) scale(0.95); }
}

/* ---------- Layout ---------- */
.layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 56px;
}

.preview {
  position: sticky;
  top: 40px;
  align-self: start;
  height: fit-content;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ---------- Preview card ---------- */
.preview-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    rgba(0, 21, 16, 0.6);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: card-in 0.7s var(--ease) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scanline — quiet running line, the "live board" signature */
.scanline {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 191, 0.0) 25%,
    rgba(0, 255, 191, 0.55) 50%,
    rgba(0, 255, 191, 0.0) 75%,
    transparent 100%);
  opacity: 0;
  z-index: 2;
  animation: scan 6s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(0);     opacity: 0; }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(620px); opacity: 0; }
}

.card-glow { display: none; }

.preview-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

/* Avatars */
.avatars {
  display: flex;
  flex-shrink: 0;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background-color: #003628;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.avatar-1 { background-image: url(../img/klaas.jpg); }
.avatar-2 {
  margin-left: -12px;
  background-image: url(../img/jacob.jpg);
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.preview-meta .status {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.preview-meta .sub {
  color: var(--text-dim);
  font-size: 13px;
}

/* Live badge with equalizer — subtle */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
}
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.eq span {
  display: block;
  width: 2px;
  background: var(--accent);
  border-radius: 1px;
  animation: eq 1.2s ease-in-out infinite;
}
.eq span:nth-child(1) { animation-delay: 0.0s; }
.eq span:nth-child(2) { animation-delay: 0.18s; }
.eq span:nth-child(3) { animation-delay: 0.36s; }
.eq span:nth-child(4) { animation-delay: 0.54s; }
@keyframes eq {
  0%,100% { height: 30%; }
  50%     { height: 100%; }
}

/* Preview body */
.preview-body { display: grid; gap: 12px; }

.preview-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: baseline;
  gap: 14px;
  font-size: 14px;
}
.preview-row .label,
.preview-message .label {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
}
.preview-row .value,
.preview-message .value {
  color: var(--text-dim);
  word-break: break-word;
  transition: color 0.4s var(--ease);
}
.preview-row .value.is-set,
.preview-message .value.is-set { color: var(--text); }

.preview-message {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.preview-message .label { display: block; margin-bottom: 8px; }
.preview-message .value {
  font-size: 14px;
  line-height: 1.6;
  min-height: 56px;
}

.preview-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-faint);
  gap: 12px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
}
.neon-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 4px var(--accent),
    0 0 10px rgba(0, 255, 191, 0.7),
    0 0 18px rgba(0, 255, 191, 0.45);
  animation: neon-flicker 4.5s linear infinite;
}
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    box-shadow:
      0 0 4px var(--accent),
      0 0 10px rgba(0, 255, 191, 0.7),
      0 0 18px rgba(0, 255, 191, 0.45);
  }
  20%, 24%, 55% {
    opacity: 0.35;
    box-shadow: 0 0 2px var(--accent);
  }
  72%, 76% {
    opacity: 0.55;
    box-shadow: 0 0 3px var(--accent), 0 0 6px rgba(0, 255, 191, 0.4);
  }
  74% {
    opacity: 1;
    box-shadow:
      0 0 4px var(--accent),
      0 0 10px rgba(0, 255, 191, 0.7),
      0 0 18px rgba(0, 255, 191, 0.45);
  }
}

/* ---------- Form header ---------- */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  animation: fade-up 0.5s var(--ease) 0.05s both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.progress {
  display: flex;
  align-items: center;
  gap: 14px;
}
.progress-track {
  position: relative;
  width: 130px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar {
  position: absolute;
  inset: 0;
  width: 33.33%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.7s var(--ease);
}
.progress-step {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.muted { color: var(--text-faint); font-weight: 400; }

/* ---------- Headings ---------- */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  animation: fade-up 0.6s var(--ease) 0.1s both;
}
.hl { color: var(--accent); }

.lead {
  font-size: 15.5px;
  color: var(--text-dim);
  margin: 0 0 24px;
  max-width: 520px;
  animation: fade-up 0.6s var(--ease) 0.18s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Form / Steps ---------- */
.form { position: relative; animation: fade-up 0.6s var(--ease) 0.26s both; }
.hp { display: none; }

.step {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}
.step.is-active {
  display: block;
  animation: step-in 0.55s var(--ease);
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-label {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 500;
}

/* ---------- Cards (services) ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.35s var(--spring),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  overflow: hidden;
  animation: card-stagger 0.5s var(--ease) both;
}
.card:nth-child(1) { animation-delay: 0.30s; }
.card:nth-child(2) { animation-delay: 0.36s; }
.card:nth-child(3) { animation-delay: 0.42s; }
.card:nth-child(4) { animation-delay: 0.48s; }

@keyframes card-stagger {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card { min-height: 138px; padding: 16px 18px 18px; }
.card input { position: absolute; opacity: 0; pointer-events: none; }
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--card-hover);
}

/* ---------- Card media (background images per service) ---------- */
.card-media {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.card > *:not(.card-media) { position: relative; z-index: 2; }

/* Subtle dark overlay so text stays readable over the media */
.card.card--website::after,
.card.card--systemen::after,
.card.card--visualisatie::after,
.card.card--branding::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Website of webshop: device PNG sits to the right, behind the text */
.card--website .card-media {
  background-image: url(../img/website.png);
  background-size: contain;
  background-position: right -10px center;
  opacity: 0.85;
}
.card--website::after {
  background: linear-gradient(90deg,
    rgba(0, 21, 16, 0.96) 0%,
    rgba(0, 21, 16, 0.85) 38%,
    rgba(0, 21, 16, 0.4) 65%,
    rgba(0, 21, 16, 0.0) 100%);
}
.card--website:hover .card-media { transform: scale(1.04); }

/* Other three services: full-cover image, low opacity, soft vignette */
.card--systemen .card-media,
.card--visualisatie .card-media,
.card--branding .card-media {
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  /* slight scale to crop any vignette/border that comes with the image itself */
  transform: scale(1.15);
}
.card--systemen .card-media     { background-image: url(../img/systemen.jpg); }
.card--visualisatie .card-media { background-image: url(../img/visualisatie.jpg); }
.card--branding .card-media     { background-image: url(../img/branding.jpg); }

/* Smooth multi-layer fade so the image bleeds into the card without a hard edge */
.card--systemen::after,
.card--visualisatie::after,
.card--branding::after {
  background:
    radial-gradient(ellipse 120% 100% at 0% 50%,
      rgba(0, 21, 16, 0.88) 0%,
      rgba(0, 21, 16, 0.55) 50%,
      rgba(0, 21, 16, 0.25) 100%),
    linear-gradient(180deg,
      rgba(0, 21, 16, 0.4) 0%,
      rgba(0, 21, 16, 0.0) 30%,
      rgba(0, 21, 16, 0.0) 70%,
      rgba(0, 21, 16, 0.4) 100%);
}

.card--systemen:hover .card-media,
.card--visualisatie:hover .card-media,
.card--branding:hover .card-media {
  transform: scale(1.2);
  opacity: 0.3;
}

.card-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 6px;
  transition: transform 0.4s var(--spring);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon { transform: scale(1.08); }

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.card-sub {
  font-size: 13px;
  color: var(--text-dim);
}

.card-check { display: none; }
.card:has(input:checked) {
  border-color: var(--accent);
  background: var(--card-hover);
  box-shadow: 0 0 0 1px var(--accent);
}

/* ---------- Fields ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.field { display: block; margin-bottom: 12px; }
.field > span {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 7px;
  font-weight: 500;
}
.field em {
  font-style: normal;
  color: var(--text-faint);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s var(--ease),
              background 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:hover,
.field textarea:hover {
  border-color: rgba(255,255,255,0.16);
  background: var(--card-hover);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0,255,191,0.04);
  box-shadow: 0 0 0 4px rgba(0,255,191,0.10);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

/* ---------- Chips ---------- */
.block-label {
  display: block;
  margin: 20px 0 10px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.chip {
  position: relative;
  padding: 9px 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
  transform: translateY(-1px);
}
.chip:has(input:checked) {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 12px;
}
.actions > span:empty { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 99px;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--spring),
              background 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #1affc8;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.btn-submit { position: relative; min-width: 200px; justify-content: center; }
.btn-submit .btn-loader,
.btn-submit .btn-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.btn-submit .btn-loader::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0, 21, 16, 0.3);
  border-top-color: var(--bg);
  animation: spin 0.8s linear infinite;
}
.btn-submit .btn-check { color: var(--bg); }
.btn-submit.is-loading .btn-label,
.btn-submit.is-loading svg:not(.btn-check) { opacity: 0; }
.btn-submit.is-loading .btn-loader { opacity: 1; }
.btn-submit.is-success .btn-label,
.btn-submit.is-success svg:not(.btn-check) { opacity: 0; }
.btn-submit.is-success .btn-loader { opacity: 0; }
.btn-submit.is-success .btn-check { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Errors ---------- */
.error {
  min-height: 18px;
  font-size: 13px;
  color: var(--error);
  margin: 8px 0 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.error.is-shown { opacity: 1; transform: translateY(0); }

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
  background: rgba(255, 122, 122, 0.05);
}

/* ---------- Footer ---------- */
.form-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
  animation: fade-up 0.6s var(--ease) 0.4s both;
}
.form-footer a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.form-footer a:hover { color: var(--accent); }
.dotsep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-faint);
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}
.success-card {
  max-width: 560px;
  padding: 56px 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    rgba(0, 21, 16, 0.6);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  animation: card-in 0.6s var(--ease);
}
.success-icon {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(0, 255, 191, 0.45);
  animation: pop 0.55s var(--spring) 0.15s backwards;
}
@keyframes pop {
  from { transform: scale(0.55); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-icon svg { width: 36px; height: 36px; }
.success-card h1 { margin-bottom: 14px; }
.success-card p { color: var(--text-dim); font-size: 16.5px; margin: 0 0 28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Tablet */
@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 40px;
  }
  .preview { position: static; order: 2; }
  .form-wrap { order: 1; max-width: 640px; }
  .preview-card { max-width: 640px; }
  .form-header { margin-bottom: 24px; }
}

/* Mobile */
@media (max-width: 640px) {
  .layout { padding: 24px 18px 32px; gap: 24px; }
  .form-header { margin-bottom: 20px; }
  .progress-track { width: 80px; }
  h1 { font-size: 28px; line-height: 1.1; }
  .lead { font-size: 14.5px; margin-bottom: 22px; }
  .step-label { margin-bottom: 10px; }

  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { min-height: 110px; padding: 14px 16px 16px; }
  .card-title { font-size: 15px; }
  .card-sub { font-size: 12.5px; }

  .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .field { margin-bottom: 10px; }
  .field input, .field textarea { padding: 12px 14px; font-size: 15px; }
  .field textarea { min-height: 110px; }

  .chips { gap: 6px; }
  .chip { padding: 8px 13px; font-size: 13px; }

  .actions { flex-direction: column-reverse; align-items: stretch; margin-top: 16px; }
  .actions .btn { justify-content: center; }
  .btn-submit { min-width: unset; width: 100%; }

  .preview-card { padding: 20px; }
  .preview-header { flex-wrap: wrap; gap: 10px; padding-bottom: 16px; margin-bottom: 16px; }
  .avatar { width: 34px; height: 34px; }
  .preview-meta .status { font-size: 13px; }
  .preview-meta .sub { font-size: 12px; }
  .preview-row { grid-template-columns: 70px 1fr; gap: 10px; font-size: 13px; }
  .preview-row .label, .preview-message .label { font-size: 12px; }
  .badge { padding: 4px 8px; font-size: 11px; }

  .form-footer { font-size: 12px; gap: 8px; }
  .preview-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.1s !important;
  }
}
