:root {
  --bg: #eef4ff;
  --bg-2: #f8fbff;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(255, 255, 255, 0.85);
  --line: #dbe7fb;
  --text: #111827;
  --muted: #627089;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #e8f0ff;
  --success: #16a34a;
  --success-bg: #ecfdf3;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #ca8a04;
  --warning-bg: #fff8db;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #ffffff 0%, transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

button, input, select { font: inherit; }

.app-shell {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.sidebar {
  min-height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  position: sticky;
  top: 24px;
  align-self: start;
  overflow-y: auto;
  border-radius: 30px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}
.brand h1 { margin: 0; font-size: 24px; }
.brand p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.panel {
  background: var(--panel-strong);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  padding: 18px;
}
.panel.compact { padding: 16px 18px; }
.stack-lg > * + * { margin-top: 18px; }

.field-label {
  display: block;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  color: #60708f;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.file-input, .select-input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
  padding: 12px 14px;
  color: var(--text);
}
.file-input::file-selector-button {
  border: 0;
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 14px;
  margin-right: 12px;
  cursor: pointer;
}
.helper-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e4eefc;
  border-radius: 18px;
  padding: 14px;
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.stat-card strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}
.btn-secondary {
  background: var(--warning-bg);
  color: #925f00;
}
.btn-ghost {
  background: #eef4ff;
  color: #35518a;
}

.info-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}
.info-panel li + li { margin-top: 8px; }

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero {
  border-radius: 30px;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f0ff;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.hero h2 { margin: 0 0 8px; font-size: 34px; letter-spacing: -.04em; }
.hero p { margin: 0; color: var(--muted); max-width: 760px; line-height: 1.6; }
.hero-pill {
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 16px;
  background: white;
  border: 1px solid #e5edfb;
  color: #35518a;
  font-weight: 700;
}

.status-bar {
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 600;
}
.status-info { background: #eef4ff; color: #35518a; }
.status-success { background: var(--success-bg); color: #166534; }
.status-warning { background: var(--warning-bg); color: #975a00; }
.status-error { background: var(--danger-bg); color: #991b1b; }

.table-card, .completion-card {
  border-radius: 28px;
  padding: 18px;
}
.table-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding: 6px 6px 16px;
}
.table-header h3 { margin: 0 0 6px; font-size: 24px; }
.table-header p { margin: 0; color: var(--muted); }
.current-focus {
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 18px;
  background: white;
  border: 1px solid #e4eefc;
}
.current-focus strong { font-size: 18px; }

.table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid #e5eefb;
  background: white;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7faff;
  color: #48607f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid #e6eefb;
}
tbody td {
  padding: 14px;
  border-bottom: 1px solid #edf2fb;
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr.group-start td { border-top: 2px solid #d8e6ff; }
tbody tr.active-row { background: #eef5ff; }
tbody tr.valid-row { background: var(--success-bg); }
tbody tr.invalid-row { background: var(--danger-bg); }
tbody tr.skipped-row { background: var(--warning-bg); }

.order-cell {
  font-weight: 700;
  color: #1f3f7a;
}
.location-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #24427c;
  font-weight: 700;
}
.ean-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f7f9fc;
  border: 1px solid #ebf0f8;
  padding: 8px 10px;
  border-radius: 12px;
  display: inline-block;
}
.scan-input {
  width: 100%;
  min-width: 220px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid #d9e6fb;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.scan-input:focus {
  border-color: #84adff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.scan-input:disabled {
  background: #f8fafc;
  color: #94a3b8;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.status-pill.pending { background: #eef4ff; color: #37558d; }
.status-pill.valid { background: var(--success-bg); color: #166534; }
.status-pill.invalid { background: var(--danger-bg); color: #991b1b; }
.status-pill.skipped { background: var(--warning-bg); color: #8a5a00; }

.empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 28px 14px;
}

.completion-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.completion-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 28px;
}
.completion-card h3 { margin: 0 0 6px; font-size: 24px; }
.completion-card p { margin: 0; color: var(--muted); }

.hidden { display: none !important; }

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { min-height: auto; }
}

@media (max-width: 820px) {
  .app-shell { padding: 14px; gap: 14px; }
  .hero { padding: 22px; flex-direction: column; align-items: flex-start; }
  .hero h2 { font-size: 28px; }
  .table-header, .completion-card { flex-direction: column; align-items: flex-start; }
  .current-focus { width: 100%; }
}


.sku-inline {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}


.customer-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f6ff;
  border: 1px solid #dbe7fb;
  color: #35507e;
  font-weight: 700;
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 360px;
}

.product-sku {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  color: #163a76;
}

.product-name {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.35;
}

.product-unit {
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
}

.order-band-a td {
  background: rgba(245, 249, 255, 0.82);
}

.order-band-b td {
  background: rgba(239, 246, 255, 0.46);
}

.group-start td {
  border-top: 3px solid #c7dafc !important;
}

.valid-row td {
  background: var(--success-bg) !important;
}

.invalid-row td {
  background: var(--danger-bg) !important;
}

.skipped-row td {
  background: var(--warning-bg) !important;
}


.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-band-a td {
  background: #f3f7ff !important;
}

.order-band-b td {
  background: #e4eefc !important;
}

.group-start td {
  border-top: 4px solid #8aaee8 !important;
}

.cpv-strong-separator {}

.valid-row td {
  background: #e6f7ea !important;
}

.invalid-row td {
  background: #fdeaea !important;
}

.skipped-row td {
  background: #fff4d6 !important;
}


@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
    max-height: none;
    min-height: auto;
    overflow: visible;
  }
}


.text-input {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  color: var(--text);
  outline: none;
}

.inline-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.soft-panel {
  padding: 14px;
  background: linear-gradient(180deg, rgba(248,251,255,.9) 0%, rgba(240,246,255,.9) 100%);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.22);
}

.cancelled-row td {
  background: #fee2e2 !important;
  color: #991b1b;
}

.status-pill.cancelled {
  background: #fecaca;
  color: #991b1b;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.modal-dialog {
  position: relative;
  max-width: 1200px;
  width: calc(100vw - 48px);
  margin: 24px auto;
  border-radius: 28px;
  padding: 22px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: rgba(255,255,255,0.95);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.modal-header h3 {
  margin: 8px 0 6px;
  font-size: 30px;
}

.modal-header p {
  margin: 0;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-table-wrap {
  max-height: none;
}

.check-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
  color: #35507e;
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  #pickListModal,
  #pickListModal * {
    visibility: visible !important;
  }

  #pickListModal {
    position: static;
  }

  .modal-backdrop,
  .modal-actions {
    display: none !important;
  }

  .modal-dialog {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: #fff;
  }
}


.hero-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media print {
  @page {
    size: auto;
    margin: 12mm;
  }

  html, body {
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body.modal-open {
    overflow: visible !important;
  }

  .modal,
  .modal-dialog,
  .modal-table-wrap {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #pickListTable {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  #pickListTable th,
  #pickListTable td {
    border: 1px solid #cbd5e1 !important;
    padding: 8px !important;
    color: #000 !important;
    background: #fff !important;
  }

  #pickListTable tr,
  #pickListTable td,
  #pickListTable th {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .modal-header {
    display: block !important;
    margin-bottom: 12px !important;
  }
}

@media print {
  @page {
    size: auto;
    margin: 12mm;
  }

  html, body {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body.modal-open {
    overflow: visible !important;
  }

  body > .app-shell {
    display: none !important;
  }

  #pickListModal {
    position: static !important;
    inset: auto !important;
    display: block !important;
    visibility: visible !important;
    background: #fff !important;
    z-index: auto !important;
  }

  #pickListModal.hidden {
    display: none !important;
  }

  .modal-backdrop,
  .modal-actions {
    display: none !important;
  }

  .modal-dialog {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .modal-table-wrap,
  #pickListModal .table-wrap {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #pickListTable {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
  }

  #pickListTable th,
  #pickListTable td {
    border: 1px solid #cbd5e1 !important;
    padding: 8px !important;
    color: #000 !important;
    background: #fff !important;
  }

  #pickListTable thead {
    display: table-header-group !important;
  }

  #pickListTable tr,
  #pickListTable td,
  #pickListTable th {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .modal-header {
    display: block !important;
    margin-bottom: 12px !important;
  }
}

.hero-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.content {
  position: relative;
}

.hero {
  position: sticky;
  top: 24px;
  z-index: 16;
}

.status-bar {
  position: sticky;
  top: 226px;
  z-index: 15;
}

.table-card:first-of-type .table-header {
  position: sticky;
  top: 294px;
  z-index: 14;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px 20px 0 0;
}

.table-card:first-of-type thead th {
  position: sticky;
  top: 392px;
  z-index: 13;
  background: #f6f9ff;
}

@media (max-width: 1100px) {
  .hero,
  .status-bar,
  .table-card:first-of-type .table-header,
  .table-card:first-of-type thead th {
    position: relative;
    top: 0;
  }
}


.file-input:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.stock-chip {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
  color: #35507e;
  font-weight: 800;
}

.stock-chip.stock-alert {
  background: #fee2e2 !important;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}


.completion-fun {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.fun-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef4ff, #f7fbff);
  border: 1px solid #dbe7fb;
  color: #24427c;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.fun-pill strong {
  color: #163a76;
}

.fun-pill-message {
  background: linear-gradient(135deg, #ecfdf3, #f0fdf4);
  border-color: #bbf7d0;
  color: #166534;
}

.celebration-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.success-icon {
  animation: success-bounce 1.4s ease-in-out infinite;
}

@keyframes success-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-4px) scale(1.04); }
  40% { transform: translateY(0) scale(1); }
  60% { transform: translateY(-2px) scale(1.02); }
}


.auto-modal-dialog {
  max-width: 720px;
}

.auto-modal-dialog .modal-header {
  align-items: center;
}

.auto-modal-dialog h3 {
  margin-bottom: 8px;
}

.auto-modal-dialog p {
  font-size: 16px;
  line-height: 1.5;
}


/* Halo para la fila activa */
tbody tr.active-row {
  position: relative;
  z-index: 2;
}

tbody tr.active-row td {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #fff3f3 0%, #ffeaea 100%) !important;
  border-top-color: #f28b8b !important;
  border-bottom-color: #f28b8b !important;
}

tbody tr.active-row td:first-child {
  box-shadow:
    inset 10px 0 18px -14px rgba(220, 38, 38, 0.35),
    -6px 0 18px -10px rgba(239, 68, 68, 0.42);
}

tbody tr.active-row td:last-child {
  box-shadow:
    inset -10px 0 18px -14px rgba(220, 38, 38, 0.35),
    6px 0 18px -10px rgba(239, 68, 68, 0.42);
}

tbody tr.active-row::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 3px;
  bottom: 3px;
  border-radius: 16px;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.65),
    0 0 16px rgba(239, 68, 68, 0.28),
    0 0 34px rgba(239, 68, 68, 0.22);
}



.order-date {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.01em;
}

.order-main {
  font-weight: 700;
  color: #1f3f7a;
}

.order-sub {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #5f6f8c;
  font-weight: 700;
}


.smart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #dbe7fb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  cursor: pointer;
  user-select: none;
  min-height: 46px;
}

.smart-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.smart-toggle-track {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .2s ease;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
}

.smart-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  transition: transform .2s ease;
}

.smart-toggle input:checked + .smart-toggle-track {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.smart-toggle input:checked + .smart-toggle-track::after {
  transform: translateX(22px);
}

.smart-toggle-label {
  font-weight: 700;
  color: #35518a;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .smart-toggle-label {
    font-size: 13px;
  }
}


.shared-shipping-row td {
  background-image: linear-gradient(180deg, rgba(255, 244, 214, 0.62) 0%, rgba(255, 244, 214, 0.62) 100%) !important;
}

.shared-shipping-row.valid-row td,
.shared-shipping-row.invalid-row td,
.shared-shipping-row.skipped-row td,
.shared-shipping-row.active-row td {
  background-image: none !important;
}

.order-ship-alert {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4d6;
  border: 1px solid #f3d38a;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}


.product-with-image {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 360px;
}

.image-thumb-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 14px;
  line-height: 0;
  flex: 0 0 auto;
}

.image-thumb-btn:hover .image-thumb {
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
}

.image-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #dbe7fb;
  background: #fff;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.image-thumb-small {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.image-thumb-btn-small {
  border-radius: 12px;
}

.image-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}

.image-preview-large {
  max-width: min(90vw, 760px);
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #dbe7fb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.image-modal-dialog {
  max-width: 860px;
}


.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hero-title-block {
  min-width: 260px;
}

.hero-stats-inline {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 12px;
  flex: 1 1 auto;
}

.stat-card-inline {
  min-height: 86px;
  padding: 14px 14px 12px;
}

.stat-card-inline strong {
  font-size: 20px;
  line-height: 1.1;
}

@media (max-width: 1500px) {
  .hero-main {
    flex-direction: column;
  }

  .hero-stats-inline {
    width: 100%;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-stats-inline {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}


/* Una previsión global junto al tiempo de la pestaña activa. */
.picking-forecast[hidden] { display: none; }
.picking-forecast { min-width: 0; padding: 10px 12px; background: #f3f7ff; border-color: #cbdcf7; }
.picking-forecast .stat-label { margin-bottom: 3px; }
.picking-forecast strong { display: block; }
.picking-forecast small, #pickingForecastNote { display: block; font-size: 11px; line-height: 1.3; margin-top: 3px; }
#pickingForecastNote { font-weight: 750; }
.picking-forecast[data-tone="green"] { background: #ecfdf3; border-color: #86d8a8; color: #126139; }
.picking-forecast[data-tone="red"] { background: #fff1f2; border-color: #f2a3aa; color: #9f2333; }
.picking-forecast[data-tone="green"] .stat-label, .picking-forecast[data-tone="red"] .stat-label { color: inherit; }
@media (min-width: 1101px) {
  .hero-stats-inline:has(.picking-forecast:not([hidden])) {
    min-width: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(165px, 1.75fr);
  }
}
@media (max-width: 1100px) {
  .app-shell:has(.picking-forecast), .sticky-top-stack:has(.picking-forecast) { grid-template-columns: minmax(0, 1fr); }
  .hero-main:has(.picking-forecast) { width: 100%; min-width: 0; }
  .picking-forecast { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-stats-inline:has(.picking-forecast) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.order-marketplace {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #dbe7fb;
  color: #35518a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}


/* Barra de mensajes fija bajo la cabecera */
.status-bar {
  position: sticky;
  top: 210px;
  z-index: 15;
}

@media (max-width: 1500px) {
  .status-bar {
    top: 300px;
  }
}

@media (max-width: 1100px) {
  .status-bar {
    position: relative;
    top: 0;
  }
}


/* Sticky stack: cabecera + barra de mensajes */
.sticky-top-stack {
  position: sticky;
  top: 24px;
  z-index: 30;
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.sticky-top-stack .hero {
  margin-bottom: 0 !important;
}

.sticky-top-stack .status-bar {
  position: relative !important;
  top: 0 !important;
  z-index: 31 !important;
  margin: 0 !important;
}

.content > .hero,
.content > .status-bar {
  position: static !important;
  top: auto !important;
}

.table-card:first-of-type .table-header {
  top: 0 !important;
}

.table-card:first-of-type thead th {
  top: 98px !important;
}

@media (max-width: 1100px) {
  .sticky-top-stack {
    position: relative;
    top: 0;
  }

  .table-card:first-of-type .table-header,
  .table-card:first-of-type thead th {
    top: 0 !important;
  }
}


/* Barra de mensajes integrada dentro del contenedor sticky */
.content > .hero {
  position: sticky;
  top: 24px;
  z-index: 30;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero .status-bar {
  position: relative !important;
  top: 0 !important;
  z-index: 1 !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  .content > .hero {
    position: relative;
    top: 0;
  }
}











.modal-scroll-top-btn,
.main-scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.30);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.modal-scroll-top-btn:hover,
.main-scroll-top-btn:hover {
  transform: translateY(-1px);
}

.modal-scroll-top-btn:active,
.main-scroll-top-btn:active {
  transform: translateY(0);
}

.main-scroll-top-btn {
  z-index: 120;
}

.modal-scroll-top-btn {
  z-index: 10020;
}

#pickListModal.hidden .modal-scroll-top-btn {
  display: none !important;
}

body.modal-open .main-scroll-top-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .modal-scroll-top-btn,
  .main-scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
}


/* Basket layout */
.hero-secondary {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.hero-basket-cell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 120px;
}

.hero-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

#statusBar {
  width: 100%;
}

.pick-basket {
  position: relative;
  width: 128px;
  height: 104px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.14));
}

.basket-counter {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  z-index: 5;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.basket-handle {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 68px;
  height: 46px;
  border: 6px solid #c27a39;
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
  transform: translateX(-50%);
  opacity: .96;
}

.basket-rim {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 56px;
  height: 13px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #efb366 0%, #d48a45 100%);
  z-index: 2;
}

.basket-body {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 63px;
  border-radius: 14px 14px 20px 20px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16) 0 8%, transparent 8% 16%, rgba(255,255,255,0.10) 16% 24%, transparent 24% 32%, rgba(255,255,255,0.12) 32% 40%, transparent 40% 48%, rgba(255,255,255,0.08) 48% 56%, transparent 56% 64%, rgba(255,255,255,0.10) 64% 72%, transparent 72% 80%, rgba(255,255,255,0.14) 80% 88%, transparent 88%),
    linear-gradient(180deg, #edb069 0%, #d9924d 100%);
  border: 4px solid #be7634;
  overflow: hidden;
}

.basket-packages {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  top: 8px;
}

.basket-package {
  position: absolute;
  width: 28px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f7cf8a 0%, #e0a95d 100%);
  border: 1px solid #ca8a45;
  box-shadow: 0 5px 10px rgba(15, 23, 42, 0.12);
}

.basket-package::before,
.flying-package::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  transform: translateX(-50%);
  background: rgba(146, 91, 37, 0.38);
}

.basket-package::after,
.flying-package::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 4px;
  transform: translateY(-50%);
  background: rgba(146, 91, 37, 0.30);
}

.pick-basket.is-bouncing {
  animation: basketBounce .55s ease;
}

@keyframes basketBounce {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-5px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

.flying-package {
  position: fixed;
  width: 52px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(180deg, #f7cf8a 0%, #e0a95d 100%);
  border: 1px solid #ca8a45;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  z-index: 10030;
  pointer-events: none;
  transition: transform .82s cubic-bezier(.18,.78,.24,1), opacity .82s ease;
}

@media (max-width: 1300px) {
  .hero-secondary {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-basket-cell {
    justify-content: flex-start;
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .hero-basket-cell {
    justify-content: center;
  }
}

@media print {
  .hero-secondary,
  .pick-basket,
  .flying-package {
    display: none !important;
  }
}


.completion-downloads {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pending-source-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5efff;
  border: 1px solid #ddc8ff;
  color: #6d28d9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.pending-import-row td {
  box-shadow: inset 4px 0 0 #8b5cf6;
}

.pending-import-row.group-start td {
  border-top-color: #8b5cf6 !important;
}


.status-with-reset {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  white-space: nowrap;
}

.row-reset-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 999px;
  border: 2px solid #ef4444;
  background: #fff;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.14);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.row-reset-btn:hover {
  transform: translateY(-1px);
  background: #fff1f2;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.20);
}

.row-reset-btn:active {
  transform: translateY(0);
}

.final-downloads-dialog { max-width: 980px; }


.picklist-product-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 260px;
}

.picklist-product-sku {
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.01em;
}

.picklist-product-name {
  font-size: 13px;
  line-height: 1.35;
  color: #4b5563;
  max-width: 520px;
}


.processing-status {
  display: block;
}

.processing-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.processing-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .10);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .20);
}

.processing-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  transition: width .22s ease;
}

.processing-progress-indeterminate .processing-progress-bar {
  width: 42%;
  animation: processingIndeterminate 1.15s ease-in-out infinite;
}

.processing-status-detail {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  opacity: .82;
}

@keyframes processingIndeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}


.prepicked-row {
  background: linear-gradient(90deg, rgba(139, 92, 246, .14), rgba(219, 234, 254, .16));
}

.status-pill.prepicked {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

.prepick-modal-dialog {
  max-width: 1120px;
}

.prepick-content {
  padding: 0 24px 24px;
}

.prepick-search-row,
.prepick-quantity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.prepick-input,
.prepick-qty {
  border: 1px solid #cfe0ff;
  border-radius: 16px;
  padding: 13px 15px;
  font-size: 15px;
  font-weight: 800;
  outline: none;
  background: #fff;
  color: #172033;
}

.prepick-input {
  min-width: min(480px, 100%);
}

.prepick-qty {
  width: 160px;
}

.prepick-result {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  margin-bottom: 16px;
  font-weight: 800;
  color: #31507f;
}

.prepick-table-wrap {
  max-height: 420px;
}

.muted-text {
  color: #64748b;
}


.confirm-prepick-btn {
  margin-left: 8px;
  border: 0;
  border-radius: 14px;
  padding: 9px 12px;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(124, 58, 237, .20);
}

.confirm-prepick-btn:hover {
  background: #6d28d9;
}


.auto-countdown {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-weight: 900;
}

/* ===== Control de tareas (independiente del picking) ===== */
.task-control-launch{
  margin:20px 0 18px;
  padding:14px;
  border:1px solid rgba(37,99,235,.14);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(255,255,255,.7));
}
.btn-task-control{
  width:100%;
  justify-content:center;
  gap:9px;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
  border-color:transparent;
  box-shadow:0 12px 28px rgba(37,99,235,.22);
}
.btn-task-control:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(37,99,235,.28)}
.task-control-icon{font-size:18px;line-height:1}
.task-control-quick-status{margin-top:9px;text-align:center;font-size:12px;font-weight:700;color:#55709d}
.task-control-modal-dialog{width:min(900px,94vw)}
.task-control-content{padding:22px;display:grid;gap:20px}
.task-control-employee-block{display:grid;gap:8px}
.task-employee-select{width:100%;max-width:420px}
.task-current-card{
  border:1px solid #dbeafe;
  background:#f8fbff;
  border-radius:20px;
  padding:16px 18px;
  display:grid;
  gap:8px;
}
.task-current-empty{color:#64748b;font-weight:700}
.task-current-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.task-current-name{font-size:18px;font-weight:900;color:#153e91}
.task-current-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}
.task-current-status.running{background:#dbeafe;color:#1d4ed8}
.task-current-status.finished{background:#dcfce7;color:#15803d}
.task-current-task{font-size:20px;font-weight:900;color:#0f172a}
.task-current-meta{display:flex;gap:8px;flex-wrap:wrap;color:#475569;font-size:13px;font-weight:700}
.task-current-meta span{background:#fff;border:1px solid #e2e8f0;padding:7px 10px;border-radius:999px}
.task-grid-label{margin-bottom:10px}
.task-buttons-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.task-choice{
  min-height:58px;
  border:1px solid #cfe0fb;
  border-radius:16px;
  background:#fff;
  color:#16366f;
  font:inherit;
  font-weight:850;
  padding:12px 14px;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease;
}
.task-choice:hover:not(:disabled){transform:translateY(-1px);background:#eff6ff;border-color:#93c5fd;box-shadow:0 10px 24px rgba(37,99,235,.10)}
.task-choice:disabled{opacity:.45;cursor:not-allowed}
.task-choice.active{background:#dbeafe;border-color:#60a5fa;color:#1d4ed8;box-shadow:inset 0 0 0 1px #60a5fa}
.task-choice-pause{background:#fffaf0;border-color:#fde68a;color:#9a6700}
.task-choice-finish{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.task-control-message{padding:12px 14px;border-radius:14px;font-weight:800;font-size:14px}
.task-control-message.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.task-control-message.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
@media(max-width:700px){.task-buttons-grid{grid-template-columns:1fr 1fr}.task-control-content{padding:16px}}
@media(max-width:460px){.task-buttons-grid{grid-template-columns:1fr}}

/* v68 · Controles exclusivos para JSON de pendientes + ritmo estimado por personal */
.table-title-area {
  min-width: 0;
  flex: 1 1 auto;
}

.pending-controls {
  margin-top: 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.92);
}

.pending-controls.hidden {
  display: none !important;
}

.pending-control-field {
  display: grid;
  gap: 5px;
  min-width: 190px;
}

.pending-date-field {
  min-width: 165px;
}

.pending-control-field label {
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #5b6f91;
}

.pending-control-input {
  height: 38px;
  min-width: 0;
  border: 1px solid #cbdaf2;
  border-radius: 11px;
  background: #fff;
  color: #173b76;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 0 11px;
  outline: none;
}

.pending-control-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .11);
}

.btn-pending-clear {
  min-height: 38px;
  padding: 0 13px;
  white-space: nowrap;
}

.btn-pending-clear:disabled {
  opacity: .48;
  cursor: default;
}

.pending-random-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #cbdaf2;
  border-radius: 11px;
  background: #fff;
  color: #173b76;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.pending-random-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pending-random-track {
  position: relative;
  width: 34px;
  height: 20px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: .18s ease;
}

.pending-random-track::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .24);
  transition: .18s ease;
}

.pending-random-toggle input:checked + .pending-random-track {
  background: #2563eb;
}

.pending-random-toggle input:checked + .pending-random-track::after {
  transform: translateX(14px);
}

.pending-random-label {
  white-space: nowrap;
}

.random-selectable-row {
  cursor: pointer;
}

.random-selectable-row:not(.active-row):hover td {
  box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, .035);
}

.pending-filter-empty {
  padding: 28px 18px !important;
  text-align: center;
  color: #64748b;
  font-weight: 750;
}

@media (max-width: 900px) {
  .pending-controls {
    align-items: stretch;
  }

  .pending-control-field,
  .pending-date-field {
    flex: 1 1 180px;
    min-width: 150px;
  }

  .btn-pending-clear,
  .pending-random-toggle {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* v90: navegación ligera para lotes grandes. */
.picking-pagination { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 16px; color:#24436b; font-size:13px; }
.picking-pagination[hidden] { display:none; }
.picking-pagination span { margin-right:auto; }
.picking-pagination button { border:1px solid #d4e2ff; border-radius:10px; background:#f3f7ff; color:#123b82; padding:7px 12px; font-weight:700; cursor:pointer; }
.picking-pagination button:disabled { opacity:.45; cursor:default; }

/* v93 · Buscar en todas las páginas, sin consultas adicionales al servidor. */
.picking-search { margin-top:14px; padding:12px; border:1px solid #dbe7fb; border-radius:14px; background:#f8fbff; }
.picking-search > label { display:block; margin-bottom:7px; font-size:11px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; color:#315384; }
.picking-search-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.picking-search-row input { flex:1 1 280px; min-width:0; width:100%; height:40px; padding:0 12px; border:1px solid #cbdaf2; border-radius:11px; background:#fff; color:#173b76; font:inherit; font-size:14px; }
.picking-search-row input:focus { outline:2px solid #2563eb; outline-offset:2px; }
.picking-search-row input:disabled { opacity:.6; }
.picking-search-row button[hidden] { display:none; }
.picking-search #pickingSearchSummary { margin:8px 0 0; font-size:12px; line-height:1.5; color:#526784; }
@media (max-width:600px) { .picking-search-row input { flex-basis:100%; } .picking-search-row button { flex:1 1 auto; white-space:normal; } }
