/* SRIDIRA CMS v9.24 - Lead Temperature. Colours come from the existing badge tokens (light and dark themes). */
.lt-badge { white-space: nowrap; }
.lt-badge.lt-off { opacity: .62; }
.lt-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.lt-strip[hidden] { display: none; }
.lt-strip-title { font-weight: 600; color: var(--text-secondary, inherit); margin-right: 2px; }
.lt-strip-note { color: var(--text-secondary, inherit); font-size: .85em; }
.lt-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; border: 1px solid var(--border, rgba(0,0,0,.15)); background: var(--surface, transparent);
  color: var(--text-primary, inherit); font: inherit; cursor: pointer;
}
.lt-chip b { font-variant-numeric: tabular-nums; }
.lt-chip:hover { border-color: var(--border-strong, currentColor); }
.lt-chip:focus-visible, .lt-form :focus-visible { outline: 3px solid var(--primary-ring, rgba(37,99,235,.35)); outline-offset: 2px; }
.lt-chip.lt-red.is-on   { background: var(--danger-bg);  color: var(--danger-text);  border-color: var(--danger-border); }
.lt-chip.lt-amber.is-on { background: var(--warning-bg); color: var(--warning-text); border-color: var(--warning-border); }
.lt-chip.lt-blue.is-on  { background: var(--info-bg);    color: var(--info-text);    border-color: var(--info-border); }
.lt-chip.lt-grey.is-on  { background: var(--neutral-bg); color: var(--neutral-text); border-color: var(--neutral-border); }
.lt-chip.is-on { font-weight: 600; box-shadow: inset 0 0 0 1px currentColor; }
.lt-rules-btn { margin-left: auto; }
.lt-cards { display: grid; gap: 12px; }
.lt-card { border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 12px; padding: 12px; background: var(--surface-secondary, transparent); }
.lt-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.lt-details { margin-bottom: 8px; }
.lt-off-note { margin: 0 0 8px; }
.lt-suggest { border-left: 3px solid var(--border-strong, currentColor); padding: 6px 10px; margin: 8px 0; }
.lt-suggest ul { margin: 6px 0 4px 18px; padding: 0; }
.lt-suggest .hint { margin: 2px 0 0; }
.lt-form { margin-top: 10px; }
.lt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.lt-advice { margin: 6px 0; }
.lt-history, .lt-guide { margin-top: 12px; }
.lt-history summary, .lt-guide summary { cursor: pointer; font-weight: 600; min-height: 32px; display: list-item; }
.lt-guide dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 8px 0 0; }
.lt-guide dd { margin: 0; }
.lt-rules textarea { min-height: 64px; }
.lt-fs { border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 8px; padding: 8px 10px; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.lt-fs legend { font-weight: 600; padding: 0 4px; }
.lt-ck { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
@media (max-width: 640px) {
  .lt-strip { gap: 6px; }
  .lt-chip { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .lt-rules-btn { margin-left: 0; }
  .lt-guide dl { grid-template-columns: 1fr; }
}
