  /* ---------- Abhol-/Picklisten ---------- */
  .pick-layout{
    display:grid;
    grid-template-columns:minmax(280px, 360px) 1fr;
    gap:22px;
    align-items:start;
  }
  @media (max-width:950px){ .pick-layout{ grid-template-columns:1fr; } }
  .pick-batches{ display:flex; flex-direction:column; gap:10px; }
  .pick-toolbar{ margin-bottom:12px; }
  .pick-refresh-btn{
    background:var(--surface-2);
    border:2px solid var(--border);
    border-radius:var(--radius-md);
    width:36px;
    height:36px;
    flex:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:var(--text-muted);
  }
  .pick-refresh-btn:hover{ border-color:var(--border-strong); color:var(--text); }
  .pick-empty{
    display:none;
    padding:30px 10px;
  }
  .pick-batch-card{
    text-align:left;
    background:var(--surface);
    border:2px solid var(--border);
    border-radius:var(--radius-md);
    padding:14px;
    cursor:pointer;
  }
  .pick-batch-card:hover,
  .pick-batch-card.active{ border-color:var(--accent); background:var(--accent-bg); }
  .pick-batch-heading,
  .pick-detail-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .pick-detail-title-row{ justify-content:flex-start; }
  .pick-detail-title-row h2{ margin:0; }
  .pick-batch-title{ font-weight:700; color:var(--accent-dark); }
  .pick-batch-meta{ font-size:var(--text-xs); color:var(--text-muted); margin-top:4px; }
  .pick-batch-hint{ font-size:var(--text-2xs); color:var(--amber-dark); margin-top:6px; }
  .pick-type-badge{
    display:inline-flex;
    align-items:center;
    flex:none;
    border:1px solid currentColor;
    border-radius:999px;
    padding:3px 9px;
    font-size:var(--text-2xs);
    font-weight:800;
    line-height:1.2;
  }
  .pick-type-sale{
    background:var(--accent-bg);
    color:var(--accent-dark);
  }
  .pick-type-cleanup{
    background:var(--amber-bg);
    color:var(--amber-dark);
  }
  .pick-batch-card.archived{ opacity:.62; }
  .pick-batch-card.shipped .pick-batch-title::after{
    content:" · verkauft";
    color:var(--green);
  }
  /* Kennzahlen: reine Textzeile, nicht klickbar - bewusst ohne Rahmen/Hintergrund,
     damit sie sich von den Filter-Pillen und der Aktualisieren-Aktion abheben. */
  .pick-stats{
    display:flex;
    gap:4px 18px;
    flex-wrap:wrap;
    align-items:center;
    margin-bottom:10px;
  }
  .pick-stat{
    color:var(--text-muted);
    font-size:var(--text-sm);
  }
  .pick-stat-group{
    display:flex;
    gap:4px 18px;
    flex-wrap:wrap;
  }
  .pick-stat-cleanup{
    padding-left:18px;
    border-left:1px solid var(--border);
  }

  /* Filter: echte Toggle-Pillen, gefüllter aktiver Zustand wie bei den Haupt-Tabs. */
  .pick-filter-row{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
    margin-bottom:12px;
  }
  .pick-filter-btn{
    background:var(--surface-2);
    border:2px solid var(--border);
    color:var(--text-muted);
    font-weight:700;
    padding:8px 14px;
    border-radius:999px;
    cursor:pointer;
  }
  .pick-filter-btn.active{ background:var(--accent); color:var(--surface); border-color:var(--accent); }
  .pick-detail-header{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    align-items:stretch;
    gap:14px;
  }
  .pick-detail-toolbar{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
  }
  .pick-detail-toolbar .btn-danger{ margin-left:auto; }
  .pick-progress-section{
    margin:18px 0 22px;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    background:var(--surface-2);
  }
  .pick-progress-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
  }
  .pick-progress-action{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
  }
  .pick-progress-action span{
    color:var(--text-muted);
    font-size:var(--text-xs);
    font-weight:700;
  }
  .pick-progress-action button:disabled{
    background:var(--surface-3);
    color:var(--text-muted);
    box-shadow:none;
    opacity:.72;
    cursor:not-allowed;
  }
  .pick-progress{
    height:20px;
    border-radius:var(--radius-md);
    overflow:hidden;
    background:var(--track-bg);
    border:2px solid var(--border-strong);
    margin-top:10px;
  }
  .pick-progress-label{
    margin:0;
    font-family:var(--font-mono);
    font-size:var(--text-24);
    font-weight:700;
    color:var(--accent-dark);
  }
  .pick-progress-fill{ height:100%; background:var(--green); transition:width .2s ease; }
  .pick-source-group{ margin-bottom:22px; }
  .pick-source-title{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:baseline;
    border-bottom:2px solid var(--border);
    padding-bottom:8px;
    margin-bottom:10px;
  }
  .pick-source-title h3{ margin:0; color:var(--accent-dark); text-transform:capitalize; }
  .pick-list{ list-style:none; margin:0; padding:0; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
  .pick-item{
    display:grid;
    grid-template-columns:auto 54px 1fr auto;
    gap:12px;
    align-items:center;
    padding:12px;
    border-bottom:1px solid var(--border);
    background:var(--surface);
  }
  .pick-item:last-child{ border-bottom:none; }
  .pick-item.done{ background:var(--green-bg); color:var(--green); }
  .pick-check{
    width:36px;
    height:36px;
    min-height:36px;
    flex:none;
    accent-color:var(--accent);
    cursor:pointer;
  }
  .pick-cover{
    width:54px;
    height:74px;
    border-radius:var(--radius-sm);
    border:1px solid var(--border);
    object-fit:cover;
    background:var(--surface-2);
  }
  .pick-cover-placeholder{
    width:54px;
    height:74px;
    border-radius:var(--radius-sm);
    border:1px solid var(--border);
    background:var(--surface-2);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-muted);
    font-size:var(--text-24);
  }
  .pick-title{ font-weight:700; }
  .pick-meta{ font-size:var(--text-xs); color:var(--text-muted); }
  .pick-item.done .pick-meta{ color:var(--green); }
  .pick-reassigned-hint{
    margin-top:6px;
    padding:6px 8px;
    border:1px solid var(--amber);
    border-radius:var(--radius-sm);
    background:var(--amber-bg);
    color:var(--amber);
    font-size:var(--text-xs);
    font-weight:700;
  }
  .pick-confirmed-hint{
    margin-top:6px;
    padding:6px 8px;
    border:1px solid var(--green);
    border-radius:var(--radius-sm);
    background:var(--green-bg);
    color:var(--green);
    font-size:var(--text-xs);
    font-weight:700;
  }
  .pick-price{ font-family:var(--font-mono); font-weight:700; white-space:nowrap; }
  .cleanup-pick-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    border:0;
    overflow:visible;
  }
  .cleanup-pick-item{
    grid-template-columns:auto 54px minmax(0, 1fr) minmax(160px, auto);
    border:1px solid var(--border);
    border-radius:var(--radius);
  }
  .cleanup-pick-section + .cleanup-pick-section{ margin-top:28px; }
  .cleanup-pick-section-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
    margin-bottom:10px;
  }
  .cleanup-pick-section-heading h3{ margin:0; color:var(--accent-dark); }
  .cleanup-pick-section-heading p{
    margin:4px 0 0;
    color:var(--text-muted);
    font-size:var(--text-xs);
  }
  .cleanup-pick-section-heading > span{
    color:var(--text-muted);
    font-weight:700;
    white-space:nowrap;
  }
  .cleanup-duplicate-list{ display:flex; flex-direction:column; gap:10px; }
  .cleanup-duplicate-card{
    display:grid;
    grid-template-columns:minmax(260px, 1fr) minmax(420px, 1.4fr);
    gap:12px;
    padding:10px 12px;
    border:2px solid var(--amber);
    border-radius:var(--radius-md);
    background:var(--amber-bg);
  }
  .cleanup-duplicate-card.done{
    border-color:var(--green);
    background:var(--green-bg);
  }
  .cleanup-duplicate-book{
    display:grid;
    grid-template-columns:54px minmax(0, 1fr);
    gap:12px;
  }
  .cleanup-duplicate-locations{
    margin:8px 0 0;
    padding-left:20px;
    color:var(--text-muted);
    font-size:var(--text-xs);
  }
  .cleanup-duplicate-target{
    display:grid;
    grid-template-columns:minmax(100px, 1fr) minmax(130px, 1fr) auto;
    gap:8px;
    align-items:end;
  }
  .cleanup-duplicate-target label{
    display:flex;
    flex-direction:column;
    gap:4px;
    font-size:var(--text-13);
    font-weight:700;
  }
  .cleanup-duplicate-target input{
    min-height:44px;
    padding:8px 10px;
  }
  .cleanup-duplicate-target button{
    min-height:44px;
    white-space:nowrap;
  }
  .cleanup-duplicate-target-print{ display:none; }
  .cleanup-duplicate-complete{
    align-self:center;
    color:var(--green);
    font-weight:800;
  }
  .cleanup-item-price{
    display:flex;
    flex-direction:column;
    text-align:right;
  }
  .cleanup-item-price strong{ font-family:var(--font-mono); }
  .cleanup-item-price span{ color:var(--text-muted); font-size:var(--text-13); }
  .cleanup-item-reason{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    text-align:right;
  }
  .cleanup-item-reason strong{
    color:var(--amber-dark);
    font-size:var(--text-xs);
  }
  .cleanup-item-reason span{
    color:var(--text-muted);
    font-size:var(--text-13);
  }
  .export-warning{
    background:var(--amber-bg);
    color:var(--amber);
    border:2px solid var(--amber);
    border-radius:var(--radius-md);
    padding:14px 16px;
    font-weight:700;
    width:100%;
  }

  @keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
  .result-card{ animation:fadeIn 0.2s ease; }

  @media (max-width:760px){
    .pick-detail-toolbar,
    .pick-progress-top,
    .pick-progress-action{
      align-items:stretch;
      flex-direction:column;
    }
    .pick-detail-toolbar button,
    .pick-progress-action button{ width:100%; }
    .pick-detail-toolbar .btn-danger{ margin-left:0; }
    .cleanup-pick-section-heading{ align-items:flex-start; }
    .cleanup-duplicate-card{ grid-template-columns:1fr; }
    .cleanup-duplicate-target{ grid-template-columns:1fr; }
    .cleanup-pick-item{ grid-template-columns:auto 44px 1fr; }
    .cleanup-item-price{ grid-column:3; text-align:left; }
    .cleanup-item-reason{ grid-column:3; align-items:flex-start; text-align:left; }
  }
