/* ═══════════════════════════════════════════════════════════════════════
   batch.lemalt.fr — Design System
   Interface web pour fiches techniques de malt
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors — Warm Malt Palette */
  --gold-50:  #FFF9E6;
  --gold-100: #FFF0BF;
  --gold-200: #FFE499;
  --gold-300: #FFD666;
  --gold-400: #C8A951;
  --gold-500: #D4A843;
  --gold-600: #B8922E;
  --gold-700: #9A7A24;

  /* Neutrals — Warm Browns */
  --brown-900: #1A110A;
  --brown-800: #2A1D12;
  --brown-700: #3A2A1A;
  --brown-600: #4A3828;
  --brown-500: #5C4A36;
  --brown-400: #7A6550;
  --brown-300: #A08B74;
  --brown-200: #C4B49E;
  --brown-100: #E8DDD0;
  --brown-50:  #FAF7F0;

  /* Semantic */
  --bg-primary:    #FFFFFF;
  --bg-card:       rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.88);
  --text-primary:  #1A110A;
  --text-secondary:#5C4A36;
  --text-muted:    #A08B74;
  --border-subtle: rgba(200, 169, 81, 0.18);
  --border-card:   rgba(200, 169, 81, 0.12);

  /* Accents */
  --bio-green:     #4A9B5E;
  --bio-green-bg:  #E8F5E9;
  --conv-blue:     #5B7FA6;
  --conv-blue-bg:  #E3EDF5;
  --error-red:     #C0392B;
  --error-red-bg:  #FDEDEB;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(26, 17, 10, 0.06), 0 1px 2px rgba(26, 17, 10, 0.04);
  --shadow-md:  0 4px 12px rgba(26, 17, 10, 0.08), 0 2px 4px rgba(26, 17, 10, 0.04);
  --shadow-lg:  0 12px 32px rgba(26, 17, 10, 0.10), 0 4px 8px rgba(26, 17, 10, 0.04);
  --shadow-gold: 0 4px 20px rgba(200, 169, 81, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ─── Dark Theme ──────────────────────────────────────────────────── */

[data-theme="dark"] {
  --bg-primary:    #141210;
  --bg-card:       rgba(38, 33, 28, 0.85);
  --bg-card-hover: rgba(48, 43, 38, 0.95);
  --text-primary:  #E8E0D4;
  --text-secondary:#B8A898;
  --text-muted:    #6A5B4A;
  --border-subtle: rgba(200, 169, 81, 0.10);
  --border-card:   rgba(200, 169, 81, 0.07);
  --brown-50:      #1E1A16;
  --brown-100:     #2A2420;
  --brown-200:     #4A4038;
  --brown-600:     #C4B49E;
  --error-red-bg:  #2A1A18;
}

[data-theme="dark"] body::before {
  background: radial-gradient(circle, rgba(212, 168, 67, 0.04) 0%, transparent 70%);
}

[data-theme="dark"] body::after {
  background: radial-gradient(circle, rgba(200, 169, 81, 0.03) 0%, transparent 70%);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ─── Background Decoration ───────────────────────────────────────── */

body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 169, 81, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Layout ──────────────────────────────────────────────────────── */

.app-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  min-height: calc(100dvh - 56px);
  display: flex;
  flex-direction: column;
}

/* ─── Sticky Top Bar ──────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  height: 72px;
  max-height: 72px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  transition: background var(--duration-normal) var(--ease-out);
}

[data-theme="dark"] .topbar {
  background: rgba(20, 18, 16, 0.88);
}

.topbar__back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  visibility: hidden;
  white-space: nowrap;
}

.topbar__back:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--gold-400);
}

.topbar__logo {
  height: 64px;
  max-height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.topbar__controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.topbar__select {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.topbar__select:hover {
  border-color: var(--gold-400);
}

.topbar__theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  line-height: 1;
}

.topbar__theme-btn:hover {
  border-color: var(--gold-400);
  background: var(--bg-card-hover);
}

/* ─── Search Hero ─────────────────────────────────────────────────── */

.search-hero {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-lg);
  animation: fadeInDown var(--duration-slow) var(--ease-out);
}

.search-hero__subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ─── Search Section ──────────────────────────────────────────────── */

.search-section {
  animation: fadeInUp var(--duration-slow) var(--ease-out) 100ms both;
}

.search-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.search-card:focus-within {
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border-color: var(--gold-400);
}

.search-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.otp-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-md);
}

.otp-input {
  width: 90px;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--brown-50);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.otp-input:focus {
  border-color: #e6a000;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(230, 160, 0, 0.12);
}

.otp-dash {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 10px;
  user-select: none;
}

.search-btn {
  width: 100%;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #e6a000;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.search-btn:hover:not(:disabled) {
  background: #cc8e00;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.search-btn:active:not(:disabled) {
  transform: translateY(0);
}

.search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-btn__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.search-hint {
  margin-top: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── Loading State ───────────────────────────────────────────────── */

.loading-section {
  display: none;
  text-align: center;
  padding: var(--space-3xl) 0;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

.loading-section.active {
  display: block;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--brown-100);
  border-top-color: var(--gold-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--space-lg);
}

.loading-tip {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  min-height: 2em;
  text-align: justify;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

/* ─── Error State ─────────────────────────────────────────────────── */

.error-section {
  display: none;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

.error-section.active {
  display: block;
}

.error-card {
  background: var(--error-red-bg);
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.error-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.error-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--error-red);
  margin-bottom: var(--space-sm);
}

.error-message {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.error-retry {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--error-red);
  background: transparent;
  border: 2px solid var(--error-red);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.error-retry:hover {
  background: var(--error-red);
  color: #fff;
}

/* ─── Result Section ──────────────────────────────────────────────── */

.result-section {
  display: none;
  animation: fadeInUp var(--duration-slow) var(--ease-out);
}

.result-section.active {
  display: block;
}

/* ─── Lot Identity Card ───────────────────────────────────────────── */

.lot-identity {
  background: linear-gradient(135deg, var(--brown-800) 0%, var(--brown-700) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-lg);
}

.lot-identity::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lot-identity__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.lot-identity__nanoid {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-200);
}

.lot-identity__label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.lot-identity__label-badge--bio {
  background: rgba(74, 155, 94, 0.2);
  color: #7ED99A;
  border: 1px solid rgba(74, 155, 94, 0.3);
}

.lot-identity__label-badge--conv {
  background: rgba(91, 127, 166, 0.2);
  color: #96BDE0;
  border: 1px solid rgba(91, 127, 166, 0.3);
}

.lot-identity__reference {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.lot-identity__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
}

.lot-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lot-meta-item__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.lot-meta-item__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.lot-identity__ab {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: flex-end;
}

.lot-identity__ab-logo {
  height: 104px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: filter var(--duration-normal) var(--ease-out);
}

.lot-identity:hover .lot-identity__ab-logo {
  filter: brightness(0) invert(1) opacity(1);
}

/* ─── Analysis Sections ───────────────────────────────────────────── */

.analysis-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.analysis-section {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.analysis-section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 169, 81, 0.2);
}

.analysis-section__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-card);
  background: rgba(250, 247, 240, 0.5);
}

.analysis-section__icon {
  font-size: 1.2rem;
  line-height: 1;
}

.analysis-section__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-600);
}

.analysis-section__body {
  padding: var(--space-md) var(--space-lg);
}

.analysis-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200, 169, 81, 0.06);
}

.analysis-row:last-child {
  border-bottom: none;
}

.analysis-row__label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
}

.analysis-row__value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
  margin-left: var(--space-md);
}

/* ─── Comments Section ────────────────────────────────────────────── */

.comments-section {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.comments-section__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-600);
  margin-bottom: var(--space-sm);
}

.comments-section__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

/* ─── PDF Button ──────────────────────────────────────────────────── */

.pdf-section {
  margin-top: var(--space-lg);
  text-align: center;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-700);
  background: var(--gold-100);
  border: 2px solid var(--gold-300);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.pdf-btn:hover {
  background: var(--gold-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pdf-btn__icon {
  font-size: 1.2rem;
}

/* ─── Back Button ─────────────────────────────────────────────────── */

.back-section {
  margin-top: var(--space-xl);
  text-align: center;
  padding-bottom: var(--space-xl);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.back-btn:hover {
  color: var(--text-secondary);
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.5);
}


/* ─── Footer ──────────────────────────────────────────────────────── */

.footer {
  margin-top: auto;
  padding: var(--space-xl) 0 var(--space-md);
  text-align: center;
  font-size: 0.75rem;
  color: var(--brown-200);
}

.footer a {
  color: var(--gold-600);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ─── Animations ──────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Staggered section animations */
.analysis-section:nth-child(1) { animation: fadeInUp var(--duration-slow) var(--ease-out) 0ms both; }
.analysis-section:nth-child(2) { animation: fadeInUp var(--duration-slow) var(--ease-out) 60ms both; }
.analysis-section:nth-child(3) { animation: fadeInUp var(--duration-slow) var(--ease-out) 120ms both; }
.analysis-section:nth-child(4) { animation: fadeInUp var(--duration-slow) var(--ease-out) 180ms both; }
.analysis-section:nth-child(5) { animation: fadeInUp var(--duration-slow) var(--ease-out) 240ms both; }
.analysis-section:nth-child(6) { animation: fadeInUp var(--duration-slow) var(--ease-out) 300ms both; }
.analysis-section:nth-child(7) { animation: fadeInUp var(--duration-slow) var(--ease-out) 360ms both; }
.analysis-section:nth-child(8) { animation: fadeInUp var(--duration-slow) var(--ease-out) 420ms both; }

/* ─── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .topbar {
    padding: 10px 10px;
    height: 56px;
    max-height: 56px;
  }
  .topbar__logo {
    height: 40px;
    max-height: 40px;
    max-width: 140px;
  }
  .topbar__back {
    padding: 0 8px;
    height: 30px;
    font-size: 0;
  }
  .topbar__back .topbar__back-icon {
    font-size: 0.9rem;
  }
  .topbar__back-text {
    display: none;
  }
  .topbar__select {
    font-size: 0.75rem;
    padding: 4px 6px;
  }
  .topbar__theme-btn {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .app-container {
    padding: var(--space-md) var(--space-sm);
  }

  .header {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .header__logo {
    width: 140px;
  }

  .search-card {
    padding: var(--space-lg);
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-btn {
    justify-content: center;
  }

  .lot-identity {
    padding: var(--space-lg);
  }

  .lot-identity__header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .lot-identity__nanoid {
    font-size: 1.3rem;
  }

  .lot-identity__meta {
    grid-template-columns: 1fr 1fr;
  }

  .analysis-section__body {
    padding: var(--space-sm) var(--space-md);
  }

  .analysis-row {
    padding: 8px 0;
  }

  .analysis-row__label {
    font-size: 0.82rem;
  }

  .analysis-row__value {
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .lot-identity__meta {
    grid-template-columns: 1fr;
  }

  .search-input {
    font-size: 1rem;
    padding: 12px 14px;
  }
}

/* ─── No-analysis placeholder ─────────────────────────────────────── */

.no-analysis {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.no-analysis__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

/* ─── Print styles ────────────────────────────────────────────────── */

@media print {
  body::before,
  body::after {
    display: none;
  }

  .search-section,
  .back-section,
  .pdf-section,
  .footer {
    display: none !important;
  }

  .app-container {
    max-width: 100%;
    padding: 0;
  }

  .lot-identity {
    box-shadow: none;
    border: 2px solid #333;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .analysis-section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}
