.quote-card summary::-webkit-details-marker { display: none; }
.quote-card summary::before { content: "＋"; color: #9ca3af; float: right; font-size: 1.25rem; }
.quote-card[open] summary::before { content: "−"; }
.quote-card .quote-connections-expanded { display: none; }
.quote-card[open] .quote-connections-preview { display: none; }
.quote-card[open] .quote-connections-expanded { display: flex; }
.quote-card[open] .quote-connections-edit { display: inline-flex; }
.quote-card summary { transition: background-color 150ms ease; }
.quote-card summary:hover { background: #fafafa; }
.quote-verification-indicator {
  display: inline-flex;
  width: .5em;
  height: .5em;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 50%;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-.1em);
}
.quote-verification-indicator--verified { background: #dcfce7; color: #15803d; }
.quote-verification-indicator--unverified { background: #fef3c7; color: #a16207; }
.narrative-element-preview {
  position: fixed;
  z-index: 110;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: auto;
}
.narrative-element-preview-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .2), 0 0 0 1px rgba(15, 23, 42, .08);
}
.narrative-element-preview-image {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: cover;
  object-position: center center;
  background: linear-gradient(135deg, #f3f4f6, #eef2ff);
}
.narrative-element-preview-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #9ca3af;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.narrative-element-preview-content { padding: 1rem 1.25rem 1.25rem; }
@media (max-width: 640px) {
  .narrative-element-preview { left: 1rem !important; right: 1rem; width: auto; }
  .narrative-element-preview-image { height: 10rem; }
}
.chapter-quote-highlight { cursor: pointer; border-radius: .25rem; background: rgba(199, 210, 254, .75); box-shadow: 0 0 0 2px rgba(129, 140, 248, .35); color: inherit; }
.chapter-quote-highlight:hover { background: rgba(165, 180, 252, .9); }
.chapter-quote-highlight-active { animation: chapter-quote-highlight-pulse 1.2s ease-out; }
@keyframes chapter-quote-highlight-pulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(129, 140, 248, .35); } 50% { box-shadow: 0 0 0 5px rgba(99, 102, 241, .35); } }
