.quotes-tool { --quote-accent: #d6b66f; width: 100%; min-width: 0; }
#quotes-status, #quotes-favorites-status, .quotes-controls { font-size: .8rem; }
.quote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 2px solid var(--line);
  color: var(--mute);
  overflow-wrap: anywhere;
  scroll-margin-top: max(0px, calc(5rem - var(--header-offset)));
}
.quote-latest { border-left-color: var(--fg); color: var(--fg); }
.quote-text { white-space: pre-wrap; }
.quote-collapsed { max-height: 18em; overflow: hidden; }
.quote-footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .85rem; }
.quote-footer a { text-decoration: underline; text-underline-offset: .2em; }
.quote-unknown { color: var(--mute); }
.quote-permalink { font-family: var(--mono); font-size: .75rem; }
.quote-pick { color: var(--quote-accent); font-family: var(--mono); font-size: .75rem; white-space: nowrap; }
.quotes-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.quotes-favorites { margin-top: 1rem; }
#quotes-favorites-urls {
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font: .8rem var(--mono);
  resize: vertical;
}
.quotes-tool button {
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  cursor: pointer;
}
.quotes-tool button:hover { border-color: var(--fg); }
.quotes-tool button:disabled { opacity: .5; cursor: default; }
.quotes-tool .quote-favorite { padding: .15rem .45rem; font-size: 1rem; }
.quote-favorite[aria-pressed="true"] { color: var(--quote-accent); }
.quote-expand { margin-top: .75rem; font-size: .8rem !important; }
