/* Paste-in for a note's Transcript and AI Summary (static/note-paste.js). */
.np-slot { margin: 0 0 12px; }
.np-slot[hidden] { display: none; }
#tab-transcript.src-zoom #transcript-paste-slot,
#tab-ai-summary.src-zoom #ai-summary-paste-slot { display: none; }

.np { display: block; }
.np-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.np-field { position: relative; }
.np-text {
  display: block;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--btn-secondary-border, var(--border));
  border-radius: 8px;
}
.np-text:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.np-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.np-ask { font-size: 13px; color: var(--text); margin-right: 4px; }
.np-error {
  margin-top: 8px;
  font-size: 13px;
  color: var(--danger-text, #b91c1c);
}

/* Transcript, empty: the main thing on the tab. */
.np-transcript.np-empty .np-text { min-height: 280px; }
.np-transcript.np-empty .np-title { font-size: 17px; }

/* Transcript, filled: just a small link at the right. */
.np-resting { display: flex; justify-content: flex-end; }
.np-link {
  background: none;
  border: 0;
  padding: 2px 0;
  font: inherit;
  font-size: 12px;
  color: var(--link, var(--accent));
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.np-link:hover { color: var(--link-hover, var(--accent-dim)); }

/* AI Summary, locked: grayed out, low contrast, nothing inside is clickable until a double-click. */
.np-gray .np-text {
  opacity: 0.5;
  background: var(--bg-raised);
  border-style: dashed;
  color: var(--text-muted);
  resize: none;
  cursor: default;
}
.np-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.np-gate-hint {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}
.np-summary.np-gray .np-text { height: 96px; min-height: 0; }

/* Transcript lines: the "Source: pasted by" stamp reads as a quiet caption, not a speaker. */
.tr-source {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-muted);
}
