/* ============================================================
   CRUSH Theme — Main Stylesheet
   Performance notes (Kadence-inspired):
   - Single CSS file, no framework bloat
   - System font stack first, then Inter / Space Grotesk / JetBrains Mono
   - CSS variables for theming
   - Minimal animations, reduced-motion support
   - No external font requests by default (swap to self-hosted if needed)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Professional font stack — changed from Outfit / Syne / IBM Plex Mono */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

  /* Colors — refined for professional polish */
  --ink: #08090b;
  --ink-2: #0c0e12;
  --panel: #101216;
  --panel-2: #161a20;
  --panel-3: #1c2129;
  --line: #242a33;
  --line-2: #333b47;
  --mist: #f3f0e8;
  --mute: #8b909a;
  --mute-2: #5c616a;
  --lime: #c8f542;
  --lime-2: #d8ff6a;
  --lime-dim: #8fb82e;
  --coral: #ff6b4a;
  --sky: #7ab8ff;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-w: 80rem; /* 1280px */
  --header-h: 64px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

/* Thin scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #2a313c transparent;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Grain overlay (subtle, performance-friendly) ---------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("../images/grain.png");
  background-size: 280px 280px;
  will-change: auto;
}

/* Soft mesh background */
.mesh {
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(200, 245, 66, 0.07), transparent 55%),
    radial-gradient(700px 480px at 90% 0%, rgba(255, 107, 74, 0.06), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(122, 184, 255, 0.04), transparent 55%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-primary {
  display: none;
  gap: 2rem;
  font-size: 0.8125rem;
  color: var(--mute);
}

.nav-primary a {
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.nav-primary a:hover,
.nav-primary a:focus-visible {
  color: var(--mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute-2);
}

.led {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2a2f38;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6);
}

.led-on {
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200, 245, 66, 0.75), 0 0 20px rgba(200, 245, 66, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.35rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--lime-2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--mist);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: color-mix(in srgb, var(--mist) 40%, transparent);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .nav-primary { display: flex; }
  .status-pill { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 2rem;
}

@media (min-width: 768px) {
  .hero { padding-top: 5rem; }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  max-width: var(--max-w);
  margin-inline: auto;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--lime);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero h1 .accent {
  color: var(--lime);
}

.hero-lead {
  margin-top: 1.6rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--mute);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute-2);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
}

.hero-visual::before {
  width: 10rem;
  height: 10rem;
  top: -2rem;
  left: -2rem;
  background: color-mix(in srgb, var(--lime) 12%, transparent);
}

.hero-visual::after {
  width: 11rem;
  height: 11rem;
  bottom: -2.5rem;
  right: -1.5rem;
  background: color-mix(in srgb, var(--coral) 10%, transparent);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--panel);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.85);
}

.hero-card img {
  aspect-ratio: 5 / 4;
  width: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.92), rgba(8, 9, 11, 0.4), transparent);
}

.hero-caption .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
}

.hero-caption .sizes {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-caption .sizes span {
  color: var(--mute);
  margin-inline: 0.4rem;
}

.badge-save {
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
}

.quality-float {
  display: none;
  position: absolute;
  top: 2rem;
  right: -0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
}

.quality-float .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute-2);
}

.quality-float .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .quality-float { display: block; }
}

/* ---------- Lab (compressor) ---------- */
.lab-section {
  padding: 1.5rem 1.25rem 3rem;
}

.lab-shell {
  max-width: var(--max-w);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 40px 80px -30px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.lab-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
}

.lab-title .screws {
  display: flex;
  gap: 0.4rem;
}

.screw {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: conic-gradient(from 45deg, #3a414c, #1a1e25, #4a5260, #1a1e25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 0 1px #0a0b0d;
}

.lab-body {
  display: grid;
  gap: 0;
}

@media (min-width: 1024px) {
  .lab-body {
    grid-template-columns: 1fr 320px;
  }
}

.lab-dropzone {
  min-height: 280px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 1024px) {
  .lab-dropzone {
    border-right-color: var(--line);
  }
}

.lab-dropzone.is-dragover {
  background: color-mix(in srgb, var(--lime) 6%, transparent);
}

.lab-dropzone .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  border: 1px dashed var(--line-2);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--lime);
}

.lab-dropzone h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.lab-dropzone p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  max-width: 22rem;
}

.lab-dropzone .hint {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--mute-2);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.lab-controls {
  padding: 1.25rem;
  background: var(--panel-2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.control-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute-2);
  margin-bottom: 0.5rem;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chip:hover {
  border-color: var(--line-2);
}

.chip.is-active {
  border-color: var(--lime);
  background: color-mix(in srgb, var(--lime) 12%, transparent);
  color: var(--lime);
}

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--lime) 0%,
    var(--lime) var(--fill, 80%),
    #242a33 var(--fill, 80%),
    #242a33 100%
  );
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--mist);
  border: 3px solid var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.15);
  cursor: grab;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--mist);
  border: 3px solid var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.15);
  cursor: grab;
}

.quality-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.35rem;
}

/* Results area */
.lab-results {
  display: none;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}

.lab-results.is-visible {
  display: block;
}

.results-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--mute);
}

.results-summary strong {
  color: var(--mist);
  font-family: var(--font-display);
}

.results-list {
  display: grid;
  gap: 0.75rem;
}

.result-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.result-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ink);
}

.result-meta {
  min-width: 0;
}

.result-meta .name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-meta .stats {
  font-size: 0.75rem;
  color: var(--mute);
  margin-top: 0.15rem;
  font-family: var(--font-mono);
}

.result-actions {
  display: flex;
  gap: 0.4rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--mute);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.icon-btn:hover {
  color: var(--lime);
  border-color: var(--lime-dim);
}

/* ---------- Features ---------- */
.section {
  padding: 4.5rem 1.25rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  max-width: 28rem;
}

.features-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--lime) 28%, transparent);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--lime);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mute-2);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mute);
}

/* ---------- Process ---------- */
.process-shell {
  max-width: var(--max-w);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  display: grid;
}

@media (min-width: 1024px) {
  .process-shell {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.process-visual {
  position: relative;
  min-height: 280px;
  background: var(--ink-2);
}

.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-content {
  padding: 2rem 1.75rem;
}

@media (min-width: 768px) {
  .process-content { padding: 2.75rem; }
}

.process-steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.process-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
}

.step-n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.step-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mute);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
  }
}

.faq-list {
  border-block: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mist);
}

.faq-icon {
  font-family: var(--font-mono);
  color: var(--lime);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-panel {
  display: none;
  padding: 0 0 1.2rem;
  max-width: 36rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--mute);
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 1.25rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute-2);
}

.footer-nav a:hover {
  color: var(--lime);
}

/* ---------- Rise animation (subtle) ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rise {
  animation: rise 0.65s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
}

/* ---------- Focus styles (accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- Print ---------- */
@media print {
  .grain, .site-header, .lab-section { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Gutenberg / Block editor compatibility ---------- */
.crush-page-content {
  /* Let blocks breathe */
}

.crush-page-content .wp-block-group.hero,
.crush-page-content .wp-block-group.section {
  padding-inline: 1.25rem;
}

.crush-page-content .wp-block-heading.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

.crush-page-content .wp-block-heading.hero-heading .accent,
.crush-page-content .accent {
  color: var(--lime);
}

.crush-page-content .hero-lead {
  margin-top: 1.6rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--mute);
}

.crush-page-content .hero-cta {
  margin-top: 2rem;
  gap: 0.75rem;
}

.crush-page-content .hero-meta {
  margin-top: 2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute-2);
}

/* Native <details> FAQ (Gutenberg Details block) */
.crush-page-content .wp-block-details {
  border-bottom: 1px solid var(--line);
  padding: 0.25rem 0;
}

.crush-page-content .wp-block-details summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--mist);
}

.crush-page-content .wp-block-details summary::-webkit-details-marker {
  display: none;
}

.crush-page-content .wp-block-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--lime);
  font-size: 1.15rem;
}

.crush-page-content .wp-block-details[open] summary::after {
  content: "−";
}

.crush-page-content .wp-block-details > :not(summary) {
  color: var(--mute);
  font-size: 0.925rem;
  line-height: 1.65;
  max-width: 36rem;
  padding-bottom: 1.1rem;
}

/* Feature cards inside patterns */
.crush-page-content .feature-card {
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 1.5rem;
  height: 100%;
}

.crush-page-content .feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.crush-page-content .feature-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mute);
}

/* Buttons inside patterns */
.crush-page-content .wp-block-button.btn-primary .wp-block-button__link {
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
}

.crush-page-content .wp-block-button.btn-ghost .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--mist);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
}

.crush-page-content .wp-block-button .wp-block-button__link:hover {
  opacity: 0.92;
}

/* Process shell */
.crush-page-content .process-shell {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.crush-page-content .process-content {
  padding: 2rem 1.75rem;
}

@media (min-width: 768px) {
  .crush-page-content .process-content {
    padding: 2.75rem;
  }
}

/* ============================================================
   LAB CONSOLE v2.4 — Queue | Slider | Controls
   ============================================================ */

.lab-section {
  padding: 2.5rem 1.25rem 3.5rem;
}

.lab-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lab-intro .section-title {
  margin-top: 0.35rem;
  max-width: 22rem;
}

.lab-intro-text {
  max-width: 20rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mute);
  margin: 0;
}

.lab-console {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.75rem 1rem 1rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.lab-console.is-dragover {
  box-shadow: 0 0 0 2px var(--lime), 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.console-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--panel);
}

.screw {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: conic-gradient(from 45deg, #3a414c, #1a1e25, #4a5260, #1a1e25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 0 1px #0a0b0d;
  z-index: 2;
}
.screw-tl { top: 14px; left: 14px; }
.screw-tr { top: 14px; right: 14px; }
.screw-bl { bottom: 14px; left: 14px; }
.screw-br { bottom: 14px; right: 14px; }

.lab-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem 0.85rem;
}

.lab-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lab-status-text,
.lab-version {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute);
}

.lab-version {
  color: var(--mute-2);
}

/* Empty */
.lab-empty {
  padding: 2rem 1rem 2.5rem;
}

.lab-empty-hit {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line-2);
  border-radius: 1.25rem;
  background: transparent;
  cursor: pointer;
  color: var(--mist);
  transition: border-color 0.15s, background 0.15s;
}

.lab-empty-hit:hover {
  border-color: color-mix(in srgb, var(--lime) 40%, var(--line-2));
  background: color-mix(in srgb, var(--lime) 4%, transparent);
}

.lab-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.lab-empty-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.lab-empty-desc {
  max-width: 26rem;
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.55;
}

.lab-empty-hint {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute-2);
  letter-spacing: 0.04em;
}

/* Workspace grid */
.lab-workspace {
  display: grid;
  gap: 1rem;
  padding: 0 0.35rem 0.5rem;
}

@media (min-width: 1024px) {
  .lab-workspace {
    grid-template-columns: 220px minmax(0, 1fr) 280px;
  }
}

/* Queue */
.lab-queue {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-2) 85%, transparent);
  padding: 0.75rem;
}

.lab-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-inline: 0.25rem;
}

.lab-queue-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
}

.lab-queue-add {
  background: none;
  border: 0;
  color: var(--lime);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
}

.lab-queue-add:hover {
  color: var(--lime-2);
}

.lab-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 520px;
  overflow: auto;
}

.crush-queue-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  color: var(--mist);
  transition: border-color 0.15s, background 0.15s;
}

.crush-queue-item:hover {
  border-color: var(--line);
}

.crush-queue-item.is-active {
  border-color: color-mix(in srgb, var(--lime) 50%, transparent);
  background: var(--panel-2);
}

.crush-queue-item img {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--ink);
}

.qi-meta {
  min-width: 0;
  flex: 1;
}

.qi-name {
  display: block;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qi-size {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--mute);
  margin-top: 0.1rem;
}

/* Preview + slider */
.lab-preview-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.lab-preview-frame {
  min-height: 280px;
}

.crush-slider {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.crush-slider-after,
.crush-slider-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.crush-slider-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.crush-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--lime);
  z-index: 5;
  transform: translateX(-50%);
}

.crush-slider-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--lime);
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(200, 245, 66, 0.35);
}

.crush-badge {
  position: absolute;
  top: 0.75rem;
  z-index: 6;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.crush-badge-before {
  left: 0.75rem;
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  color: var(--mist);
  backdrop-filter: blur(6px);
}

.crush-badge-after {
  right: 0.75rem;
  background: var(--lime);
  color: var(--ink);
}

.lab-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lab-preview-name {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  word-break: break-all;
}

.lab-preview-dims {
  margin: 0.15rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mute);
}

.lab-preview-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Controls panel */
.lab-controls-panel {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.lab-stat-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute-2);
}

.lab-stat-pct {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.lab-stat-detail {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--mute);
  line-height: 1.45;
}

.control-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--mute-2);
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.format-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  color: var(--mist);
  transition: border-color 0.15s, background 0.15s;
}

.format-card:hover {
  border-color: var(--line-2);
}

.format-card.is-active {
  border-color: var(--lime);
  background: color-mix(in srgb, var(--lime) 10%, var(--panel));
}

.fc-title {
  font-weight: 600;
  font-size: 0.85rem;
}

.fc-hint {
  font-size: 0.7rem;
  color: var(--mute);
}

.lab-controls-panel .control-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.lab-controls-panel .chip {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
}

/* --- Lab hard resets (fix white browser defaults) --- */
#crush-lab-root,
#crush-lab-root * {
  box-sizing: border-box;
}

#crush-lab-root {
  display: block !important;
  background: #101216 !important;
  color: #f3f0e8 !important;
  border: 1px solid #242a33 !important;
  border-radius: 1.75rem !important;
  min-height: 320px;
  overflow: hidden;
}

#crush-lab-root button {
  background: transparent;
  color: inherit;
  border: none;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

#crush-lab-root .lab-empty-hit {
  background: transparent !important;
  border: 1px dashed #333b47 !important;
  color: #f3f0e8 !important;
  width: 100%;
  min-height: 220px;
}

#crush-lab-root .btn-primary {
  background: #c8f542 !important;
  color: #08090b !important;
  border-radius: 999px !important;
}

#crush-lab-root .btn-ghost {
  background: transparent !important;
  border: 1px solid #333b47 !important;
  color: #f3f0e8 !important;
  border-radius: 999px !important;
}

#crush-lab-root .format-card {
  background: #101216 !important;
  border: 1px solid #242a33 !important;
  color: #f3f0e8 !important;
}

#crush-lab-root .format-card.is-active {
  border-color: #c8f542 !important;
  background: rgba(200, 245, 66, 0.1) !important;
}

#crush-lab-root .chip {
  background: #101216 !important;
  border: 1px solid #242a33 !important;
  color: #f3f0e8 !important;
}

#crush-lab-root .chip.is-active {
  border-color: #c8f542 !important;
  background: rgba(200, 245, 66, 0.12) !important;
  color: #c8f542 !important;
}

#crush-lab-root input[type="file"] {
  display: none !important;
}

#crush-lab-root .lab-console-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#crush-lab-root .lab-empty {
  display: block;
  width: 100%;
}

/* --- Lab polish to match target UI --- */
#crush-lab-root {
  padding: 0.85rem 1rem 1.15rem !important;
  border-radius: 1.5rem !important;
}

#crush-lab-root .lab-console-bar {
  padding: 0.35rem 1.75rem 0.75rem;
}

#crush-lab-root .lab-workspace {
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 0 0.25rem 0.35rem;
}

@media (min-width: 1100px) {
  #crush-lab-root .lab-workspace {
    grid-template-columns: 210px minmax(0, 1fr) 260px;
  }
}

#crush-lab-root .lab-queue {
  background: rgba(8, 9, 11, 0.55) !important;
  border-radius: 1rem;
  border: 1px solid #242a33;
  padding: 0.65rem;
}

#crush-lab-root .crush-queue-item {
  background: #101216 !important;
  border-radius: 0.85rem;
  padding: 0.4rem;
}

#crush-lab-root .crush-queue-item.is-active {
  border-color: rgba(200, 245, 66, 0.55) !important;
  background: #161a20 !important;
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.15);
}

#crush-lab-root .lab-preview-col {
  background: rgba(8, 9, 11, 0.35);
  border: 1px solid #242a33;
  border-radius: 1rem;
  padding: 0.65rem;
}

#crush-lab-root .crush-slider {
  border-radius: 0.85rem;
  background-color: #0e1014;
  background-image:
    linear-gradient(45deg, #161a20 25%, transparent 25%),
    linear-gradient(-45deg, #161a20 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #161a20 75%),
    linear-gradient(-45deg, transparent 75%, #161a20 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  min-height: 320px;
}

#crush-lab-root .lab-controls-panel {
  background: rgba(8, 9, 11, 0.45) !important;
  border-radius: 1rem;
  border: 1px solid #242a33;
  padding: 1rem 0.9rem;
}

#crush-lab-root .lab-stat {
  background: rgba(16, 18, 22, 0.8);
  border: 1px solid #242a33;
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
}

#crush-lab-root .lab-stat-pct {
  font-size: 2.6rem;
  letter-spacing: -0.03em;
}

#crush-lab-root .format-grid {
  gap: 0.45rem;
}

#crush-lab-root .format-card {
  border-radius: 0.85rem !important;
  padding: 0.7rem 0.75rem !important;
  min-height: 58px;
}

#crush-lab-root #crush-download-zip {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem !important;
  font-weight: 600;
  border-radius: 999px !important;
}

#crush-lab-root #crush-clear {
  border-radius: 999px !important;
  padding: 0.7rem 1rem !important;
}

#crush-lab-root .lab-preview-meta {
  padding: 0.35rem 0.15rem 0.15rem;
}

#crush-lab-root #crush-download-one {
  border-radius: 999px !important;
  padding: 0.55rem 1rem !important;
}

#crush-lab-root .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px !important;
  border: 1px solid #333b47 !important;
  background: #101216 !important;
  color: #8b909a !important;
}

#crush-lab-root .control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

#crush-lab-root .chip {
  border-radius: 999px !important;
}

/* --- Empty state matching target design --- */
#crush-lab-root .lab-empty {
  padding: 0.35rem 0.5rem 0.85rem;
}

#crush-lab-root .lab-drop-area {
  border: 1px dashed #333b47;
  border-radius: 1.15rem;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: transparent;
}

#crush-lab-root.is-dragover .lab-drop-area {
  border-color: #c8f542;
  background: rgba(200, 245, 66, 0.04);
}

#crush-lab-root .lab-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 28rem;
  width: 100%;
}

#crush-lab-root .lab-drop-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #333b47;
  background: #161a20 !important;
  color: #c8f542 !important;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  cursor: pointer;
}

#crush-lab-root .lab-drop-icon:hover {
  border-color: #c8f542;
}

#crush-lab-root .lab-drop-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f3f0e8;
}

#crush-lab-root .lab-drop-desc {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #8b909a;
  max-width: 22rem;
}

#crush-lab-root .lab-drop-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

#crush-lab-root .lab-drop-or {
  font-size: 0.85rem;
  color: #5c616a;
}

#crush-lab-root .lab-samples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

#crush-lab-root .lab-sample {
  width: 108px;
  padding: 0;
  border-radius: 0.75rem;
  border: 1px solid #242a33 !important;
  background: #0c0e12 !important;
  overflow: hidden;
  cursor: pointer;
  color: #8b909a !important;
  transition: border-color 0.15s, transform 0.12s;
}

#crush-lab-root .lab-sample:hover {
  border-color: #c8f542 !important;
  transform: translateY(-1px);
}

#crush-lab-root .lab-sample img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
  background: #161a20;
}

#crush-lab-root .lab-sample span {
  display: block;
  padding: 0.4rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}

/* Intro heading style closer to original */
.lab-intro .section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  max-width: 26rem;
}

/* --- Empty state CENTERED (fix left-aligned layout) --- */
#crush-lab-root .lab-empty {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 0.75rem 1rem !important;
}

#crush-lab-root .lab-drop-area {
  width: 100%;
  max-width: 100%;
  min-height: 380px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px dashed #3a424e !important;
  border-radius: 1.15rem !important;
  padding: 2.5rem 1.5rem !important;
  margin: 0;
  text-align: center;
}

#crush-lab-root .lab-drop-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}

#crush-lab-root .lab-drop-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.15rem !important;
}

#crush-lab-root .lab-drop-title {
  text-align: center !important;
  width: 100%;
}

#crush-lab-root .lab-drop-desc {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

#crush-lab-root .lab-drop-actions {
  justify-content: center !important;
  width: 100%;
}

#crush-lab-root .lab-samples {
  justify-content: center !important;
  width: 100%;
}

#crush-lab-root .lab-console-bar {
  width: 100%;
}

/* Sample cards — solid thumbnails */
#crush-lab-root .lab-sample {
  width: 112px !important;
  display: flex !important;
  flex-direction: column !important;
  background: #0c0e12 !important;
  border: 1px solid #2a313c !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#crush-lab-root .lab-sample-thumb {
  display: block;
  width: 100%;
  height: 74px;
  background: #161a20;
  overflow: hidden;
}

#crush-lab-root .lab-sample-thumb img {
  width: 100% !important;
  height: 74px !important;
  object-fit: cover !important;
  display: block !important;
  border: 0 !important;
}

#crush-lab-root .lab-sample-label {
  display: block !important;
  padding: 0.45rem 0.25rem !important;
  font-family: var(--font-mono) !important;
  font-size: 0.62rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: #8b909a !important;
  text-align: center !important;
}

/* ========== FINAL EMPTY STATE — exact centered design ========== */
#crush-lab-root #crush-empty.lab-empty {
  width: 100%;
  padding: 0.25rem 0.5rem 0.75rem;
  margin: 0;
}
#crush-lab-root #crush-empty.is-hidden,
#crush-lab-root #crush-empty[hidden] {
  display: none !important;
}

#crush-lab-root #crush-empty .lab-drop-area {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 360px !important;
  margin: 0 !important;
  padding: 2.75rem 1.5rem !important;
  border: 1px dashed rgba(255,255,255,0.12) !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

#crush-lab-root #crush-empty .lab-drop-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

#crush-lab-root #crush-empty .lab-drop-icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 1rem auto !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: #161a20 !important;
  color: #c8f542 !important;
  display: grid !important;
  place-items: center !important;
}

#crush-lab-root #crush-empty .lab-drop-title {
  margin: 0 0 0.5rem 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #f3f0e8 !important;
}

#crush-lab-root #crush-empty .lab-drop-desc {
  margin: 0 auto !important;
  max-width: 320px !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: #8b909a !important;
  text-align: center !important;
}

#crush-lab-root #crush-empty .lab-drop-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin: 1.25rem 0 0 0 !important;
  width: 100% !important;
}

#crush-lab-root #crush-empty .lab-drop-actions .btn-primary {
  background: #c8f542 !important;
  color: #08090b !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.65rem 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

#crush-lab-root #crush-empty .lab-drop-or {
  color: #5c616a !important;
  font-size: 0.85rem !important;
}

#crush-lab-root #crush-empty .lab-samples {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  margin: 1.5rem 0 0 0 !important;
  width: 100% !important;
  padding: 0 !important;
}

#crush-lab-root #crush-empty .lab-sample {
  width: 110px !important;
  flex: 0 0 110px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #2a313c !important;
  border-radius: 12px !important;
  background: #0c0e12 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
}

#crush-lab-root #crush-empty .lab-sample-thumb {
  display: block !important;
  width: 110px !important;
  height: 72px !important;
  overflow: hidden !important;
  background: #161a20 !important;
}

#crush-lab-root #crush-empty .lab-sample-thumb img {
  width: 110px !important;
  height: 72px !important;
  object-fit: cover !important;
  display: block !important;
}

#crush-lab-root #crush-empty .lab-sample-label {
  display: block !important;
  padding: 0.4rem 0.25rem !important;
  text-align: center !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #8b909a !important;
  font-family: ui-monospace, monospace !important;
}

/* Lab intro: title left, text right like original */
.lab-section .lab-intro {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  margin-bottom: 1.25rem !important;
}

.lab-section .lab-intro-text {
  max-width: 240px !important;
  text-align: left !important;
  margin: 0 !important;
}
