/* Theme picker cards (theme-picker.js). Token-only, like all app styles. */
.tp {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.tp-loading { color: var(--text-muted); font-size: 13px; }
.tp-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.tp-card:hover { border-color: var(--border-strong); }
.tp-card:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.tp-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.tp-preview {
  display: block;
  height: 64px;
  border-radius: 6px;
  padding: 10px 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--swatch-border);
}
.tp-preview-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 9px 10px;
  border-radius: 5px 0 0 0;
}
.tp-preview-line { display: block; height: 5px; width: 70%; border-radius: 3px; opacity: 0.75; }
.tp-preview-line.is-short { width: 45%; opacity: 0.45; }
.tp-preview-accent { display: block; height: 10px; width: 34px; border-radius: 3px; margin-top: auto; margin-bottom: 8px; }
.tp-text { display: flex; flex-direction: column; gap: 2px; padding: 0 2px 2px; }
.tp-name { font-size: 13px; font-weight: 600; }
.tp-desc { font-size: 12px; color: var(--text-muted); line-height: 1.35; }
