/* ── Taste Ledger ── */
.ledger-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--whic-border);
}
.ledger-item:last-child { border-bottom: none; }
.ledger-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--whic-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.ledger-info { flex: 1; }
.ledger-name { font-weight: 600; font-size: 14px; }
.ledger-detail { font-size: 12px; color: var(--whic-text-light); }
.ledger-rating { display: flex; gap: 2px; color: var(--whic-green); font-size: 14px; }
.ledger-action { font-size: 12px; padding: 2px 10px; border-radius: 12px; font-weight: 500; }
.ledger-action.liked { background: var(--whic-green-pale); color: var(--whic-green); }
.ledger-action.disliked { background: rgba(244,67,54,0.08); color: var(--whic-red); }
.ledger-action.rated { background: var(--whic-green-pale); color: var(--whic-green); }
.ledger-stars { display: flex; gap: 1px; }
.ledger-stars .star {
  cursor: pointer;
  font-size: 16px;
  color: #ddd;
  background: none;
  border: none;
  padding: 0 1px;
  line-height: 1;
  transition: color .15s;
}
.ledger-stars .star.filled { color: var(--whic-orange); }
.ledger-stars .star:hover { color: var(--whic-green-light); }
.ledger-item .ledger-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 8px;
}
.ledger-item .ledger-actions button {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 14px;
  padding: 2px;
  transition: color .2s;
}
.ledger-item .ledger-actions button:hover { color: var(--whic-red); }

/* ── Ledger + Collection: wrap für Text-Panel / Discount-Row ── */
.ledger-item    { flex-wrap: wrap; }
.collection-item { flex-wrap: wrap; }

/* ── Bewertungstext (Preview + Panel) ── */
.ledger-text-preview {
  font-size: 12px; color: var(--whic-text-light); font-style: italic;
  cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 180px; flex-shrink: 0; transition: color .15s;
  border: none; background: none; padding: 0; text-align: left;
}
.ledger-text-preview:hover { color: var(--whic-text); }
.ledger-text-panel {
  display: none; width: 100%; background: var(--whic-bg-alt);
  border-top: 1px solid var(--whic-border); padding: 10px 14px; gap: 10px;
  align-items: flex-start; margin-top: 4px;
}
.ledger-text-panel.open { display: flex; }
.ledger-text-panel textarea {
  flex: 1; border: 1px solid var(--whic-border); border-radius: 6px;
  padding: 6px 8px; font-size: 13px; resize: none; font-family: inherit;
  min-height: 56px; line-height: 1.5;
}
.ledger-note-btn { color: #bbb !important; }
.ledger-note-btn.has-note { color: var(--whic-green) !important; }

/* ── Text-Panel Buttons (used via renderTextPanel in 02-utils.js) ── */
.text-panel-btns { display: flex; flex-direction: column; gap: 4px; }

/* ── Explorer Club ── */
.collection-badge.explorer { background: var(--whic-green-pale); color: var(--whic-dark2); }
.explorer-discount-row {
  width: 100%; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 9px 14px 9px 76px;
  background: linear-gradient(135deg, var(--whic-green-pale), #f0f7f1);
  border-top: 1px dashed var(--whic-green-light); font-size: 13px; margin-top: 2px;
}
.explorer-discount-row.redeemed {
  background: var(--whic-green-pale); border-top-color: var(--whic-green-light);
}
.explorer-pct {
  font-size: 26px; font-weight: 700; color: var(--whic-green);
  line-height: 1; flex-shrink: 0;
}
.explorer-info { flex: 1; min-width: 120px; }
.explorer-info .elabel { font-weight: 600; font-size: 13px; }
.explorer-info .esub   { font-size: 11px; color: var(--whic-text-light); }
.explorer-days-bar {
  height: 4px; border-radius: 2px; background: var(--whic-border); margin-top: 4px;
  overflow: hidden; width: 100%; max-width: 120px;
}
.explorer-days-fill { height: 100%; background: var(--whic-green); transition: width .3s; }
