/* ─── US-030: Editorial Tools Sidebar ────────────────────────── */

/* Override reading-companion position when inside .article-tools */
/* Notion-style: no card shell, just typography on the page */
.article-tools .editorial-tools-panel {
  position: sticky;
  top: calc(var(--header-height, 60px) + 24px);
  max-height: calc(100vh - var(--header-height, 60px) - 48px);
  overflow-y: auto;
  padding: 0;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* Dark mode — no shell either */
body.dark .article-tools .editorial-tools-panel {
  background: transparent;
  border: none;
}

/* No inner padding — panel is bare, children control their own spacing. */
.article-tools .editorial-tools-panel > * {
  padding-left: 0;
  padding-right: 0;
}

/* ── Section label — softer Notion-style ── */
.et-section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted, #5e5e63);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-weight: 600;
  padding: 16px 0 6px;
  border-top: none;
  margin: 0;
  opacity: 0.55;
}

.et-section-label:first-child {
  padding-top: 4px;
}

/* ────────────────────────────────────────────────────────────────
   TAB BAR — segmented pill, subtle, generous touch area
   ──────────────────────────────────────────────────────────────── */
.editorial-tools-panel .rc-tabs {
  display: flex;
  gap: 2px;
  border-bottom: none;
  margin: 0 0 18px;
  padding: 3px;
  flex-shrink: 0;
  background: rgba(30, 35, 30, 0.045);
  border-radius: 9px;
  width: 100%;
  box-sizing: border-box;
}

body.dark .editorial-tools-panel .rc-tabs {
  background: rgba(226, 227, 225, 0.05);
}

.editorial-tools-panel .rc-tab {
  flex: 1 1 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 6px;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ink-muted, #5e5e63);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 180ms ease, background-color 180ms ease;
  opacity: 1;
  min-width: 0;
}

html:lang(zh) .editorial-tools-panel .rc-tab {
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.editorial-tools-panel .rc-tab svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
  opacity: 0.65;
  flex-shrink: 0;
}

.editorial-tools-panel .rc-tab:hover {
  color: var(--color-ink, #1a1c1b);
  background: rgba(30, 35, 30, 0.04);
}

body.dark .editorial-tools-panel .rc-tab:hover {
  color: var(--color-ink, #e2e3e1);
  background: rgba(226, 227, 225, 0.06);
}

.editorial-tools-panel .rc-tab--active,
.editorial-tools-panel .rc-tab.active {
  color: var(--color-ink, #1a1c1b);
  background: var(--color-paper, #f9f9f7);
  box-shadow: 0 1px 2px rgba(30, 35, 30, 0.06), 0 0 0 0.5px rgba(30, 35, 30, 0.04);
  font-weight: 600;
  opacity: 1;
}

body.dark .editorial-tools-panel .rc-tab--active,
body.dark .editorial-tools-panel .rc-tab.active {
  color: var(--color-ink, #e2e3e1);
  background: rgba(226, 227, 225, 0.15);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* P0-2: ZH dark — tab active text must use ink (light), not paper (dark bg) */
html:lang(zh) body.dark .editorial-tools-panel .rc-tab--active,
html:lang(zh) body.dark .editorial-tools-panel .rc-tab.active {
  color: var(--color-ink, #f5f3ee);
  background: rgba(245, 243, 238, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.editorial-tools-panel .rc-tab--active svg,
.editorial-tools-panel .rc-tab.active svg {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────────────
   TOC — editorial outline, generous rhythm, clear hierarchy
   ──────────────────────────────────────────────────────────────── */
.editorial-tools-panel .toc-side__nav {
  padding: 0 0 12px;
}

.editorial-tools-panel .toc-side__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.editorial-tools-panel .toc-item {
  margin: 0;
  padding: 0;
  position: relative;
}

.editorial-tools-panel .toc-item a {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  padding: 7px 10px 7px 14px;
  color: var(--color-ink, #1a1c1b);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.68;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 150ms ease, background-color 150ms ease,
              border-left-color 150ms ease, opacity 150ms ease;
}

html:lang(zh) .editorial-tools-panel .toc-item a {
  font-size: 14px;
  letter-spacing: 0.01em;
  font-weight: 400;
}

body.dark .editorial-tools-panel .toc-item a {
  color: var(--color-ink, #e2e3e1);
  opacity: 0.72;
}

/* P0-3: ZH dark — TOC links must use ink (light), not paper (dark bg) */
html:lang(zh) body.dark .editorial-tools-panel .toc-item a {
  color: var(--color-ink, #f5f3ee);
  opacity: 0.76;
}

.editorial-tools-panel .toc-item a:hover {
  color: var(--color-ink, #1a1c1b);
  background: rgba(30, 35, 30, 0.04);
  opacity: 1;
}

body.dark .editorial-tools-panel .toc-item a:hover {
  color: var(--color-ink, #e2e3e1);
  background: rgba(226, 227, 225, 0.09);
  opacity: 1;
}

/* P0-3 hover: ZH dark — same fix for hover state */
html:lang(zh) body.dark .editorial-tools-panel .toc-item a:hover {
  color: var(--color-ink, #f5f3ee);
  background: rgba(245, 243, 238, 0.09);
  opacity: 1;
}

/* Active: left accent bar + bold + full opacity + soft tinted background */
.editorial-tools-panel .toc-item a.toc-active {
  color: var(--color-accent, #862122);
  font-weight: 600;
  border-left-color: var(--color-accent, #862122);
  background: rgba(134, 33, 34, 0.065);
  opacity: 1;
}

html:lang(zh) .editorial-tools-panel .toc-item a.toc-active {
  font-weight: 500;
}

body.dark .editorial-tools-panel .toc-item a.toc-active {
  color: var(--color-ink, #e2e3e1);
  background: rgba(226, 227, 225, 0.08);
  border-left-color: var(--color-ink, #e2e3e1);
  opacity: 1;
}

html:lang(en) .editorial-tools-panel .toc-item a.toc-active {
  color: var(--color-accent, #2e352e);
  border-left-color: var(--color-accent, #2e352e);
  background: rgba(46, 53, 46, 0.06);
}

html:lang(en) body.dark .editorial-tools-panel .toc-item a.toc-active {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.10);
  border-left-color: #7dd3fc;
}

/* P0-1: ZH dark — TOC active item must use accent red, not paper (dark bg = invisible) */
html:lang(zh) body.dark .editorial-tools-panel .toc-item a.toc-active {
  color: var(--color-accent, #ff6b6b) !important;
  border-left-color: var(--color-accent, #ff6b6b) !important;
  border-left-width: 3px;
  background: rgba(255, 107, 107, 0.14);
  font-weight: 600;
  opacity: 1;
}

/* Indent sub-headings progressively, smaller but still readable */
.editorial-tools-panel .toc-item--h3 a {
  padding-left: 32px;
  font-size: 0.80rem;
  opacity: 0.75;
}

body.dark .editorial-tools-panel .toc-item--h3 a {
  opacity: 0.82;
}
.editorial-tools-panel .toc-item--h4 a {
  padding-left: 42px;
  font-size: 0.74rem;
  opacity: 0.7;
}
.editorial-tools-panel .toc-item--h5 a,
.editorial-tools-panel .toc-item--h6 a {
  padding-left: 52px;
  font-size: 0.72rem;
  opacity: 0.65;
}

/* ────────────────────────────────────────────────────────────────
   AI PANEL — Notion/ChatGPT hybrid, airy & readable
   ──────────────────────────────────────────────────────────────── */
.editorial-tools-panel .rc-ai-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  position: relative;
  z-index: 1;
}

/* "Quick start" label */
.editorial-tools-panel .rc-ai-quick-label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink-muted, #5e5e63);
  font-weight: 600;
  opacity: 0.5;
  margin: 0 0 -2px 2px;
  -webkit-font-smoothing: antialiased;
}

html:lang(zh) .editorial-tools-panel .rc-ai-quick-label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: none;
}

/* Chip grid — 2 columns, generous gap */
.editorial-tools-panel .rc-ai-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.editorial-tools-panel .rc-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  padding: 10px 12px;
  border: 1px solid rgba(30, 35, 30, 0.08);
  border-radius: 9px;
  background: var(--color-paper, #f9f9f7);
  color: var(--color-ink, #1a1c1b);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
              transform 120ms ease, box-shadow 180ms ease;
  text-align: left;
  user-select: none;
  pointer-events: auto;
  min-height: 40px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html:lang(zh) .editorial-tools-panel .rc-ai-chip {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.editorial-tools-panel .rc-ai-chip__icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.95;
}

.editorial-tools-panel .rc-ai-chip:hover {
  background: rgba(30, 35, 30, 0.035);
  border-color: rgba(30, 35, 30, 0.18);
  box-shadow: 0 1px 2px rgba(30, 35, 30, 0.04);
}

.editorial-tools-panel .rc-ai-chip:active {
  transform: scale(0.98);
}

body.dark .editorial-tools-panel .rc-ai-chip {
  background: rgba(226, 227, 225, 0.03);
  border-color: rgba(226, 227, 225, 0.1);
  color: var(--color-ink, #e2e3e1);
}

body.dark .editorial-tools-panel .rc-ai-chip:hover {
  background: rgba(226, 227, 225, 0.07);
  border-color: rgba(226, 227, 225, 0.2);
}

.editorial-tools-panel .rc-ai-chip--used,
.editorial-tools-panel .rc-ai-chip:disabled {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
  background: transparent;
}

/* Messages — prose-like, airy */
.editorial-tools-panel .rc-ai-messages {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.72;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

html:lang(zh) .editorial-tools-panel .rc-ai-messages {
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.85;
}

.editorial-tools-panel .rc-ai-msg {
  padding: 10px 12px;
  border-radius: 8px;
}

.editorial-tools-panel .rc-ai-msg--user {
  background: rgba(30, 35, 30, 0.05);
  color: var(--color-ink, #1a1c1b);
  align-self: flex-end;
  max-width: 92%;
}

.editorial-tools-panel .rc-ai-msg--ai {
  color: var(--color-ink, #1a1c1b);
  padding: 4px 0;
}

body.dark .editorial-tools-panel .rc-ai-msg--user {
  background: rgba(226, 227, 225, 0.08);
  color: var(--color-ink, #e2e3e1);
}

body.dark .editorial-tools-panel .rc-ai-msg--ai {
  color: var(--color-ink, #e2e3e1);
}

/* Composer — generous, with breathing room above */
.editorial-tools-panel .rc-ai-input-area {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(30, 35, 30, 0.1);
  border-radius: 10px;
  background: var(--color-paper, #f9f9f7);
  transition: border-color 180ms ease, box-shadow 180ms ease;
  margin-top: 6px;
}

.editorial-tools-panel .rc-ai-input-area:focus-within {
  border-color: rgba(30, 35, 30, 0.3);
  box-shadow: 0 0 0 3px rgba(30, 35, 30, 0.04);
}

body.dark .editorial-tools-panel .rc-ai-input-area {
  background: rgba(226, 227, 225, 0.03);
  border-color: rgba(226, 227, 225, 0.12);
}

body.dark .editorial-tools-panel .rc-ai-input-area:focus-within {
  border-color: rgba(226, 227, 225, 0.3);
  box-shadow: 0 0 0 3px rgba(226, 227, 225, 0.05);
}

.editorial-tools-panel .rc-ai-textarea {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 400;
  border: none;
  background: transparent;
  padding: 6px 0;
  resize: none;
  color: var(--color-ink, #1a1c1b);
  outline: none;
  transition: none;
  -webkit-font-smoothing: antialiased;
}

html:lang(zh) .editorial-tools-panel .rc-ai-textarea {
  font-size: 14px;
  letter-spacing: 0.02em;
}

body.dark .editorial-tools-panel .rc-ai-textarea {
  color: var(--color-ink, #e2e3e1);
}

.editorial-tools-panel .rc-ai-textarea::placeholder {
  color: var(--color-ink-muted, #5e5e63);
  opacity: 0.55;
}

.editorial-tools-panel .rc-ai-send {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-accent, #862122);
  color: var(--color-paper, #f9f9f7);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms ease, transform 120ms ease;
}

.editorial-tools-panel .rc-ai-send:hover { opacity: 0.9; }
.editorial-tools-panel .rc-ai-send:active { transform: scale(0.94); }

/* Dimmed when there's nothing to send (empty composer or mid-request) */
.editorial-tools-panel .rc-ai-send--empty {
  opacity: 0.4;
  cursor: default;
}
.editorial-tools-panel .rc-ai-send--empty:hover { opacity: 0.4; }
.editorial-tools-panel .rc-ai-send--empty:active { transform: none; }

/* Remaining-character hint — surfaces only near the cap, pinned to the
   composer's top-right so it never reflows the textarea or send button. */
.editorial-tools-panel .rc-ai-charcount {
  position: absolute;
  top: -7px;
  right: 10px;
  padding: 0 5px;
  font-size: 0.62rem;
  line-height: 1.4;
  color: var(--color-ink-muted, #5e5e63);
  background: var(--color-paper, #f9f9f7);
  border-radius: 4px;
  pointer-events: none;
}
body.dark .editorial-tools-panel .rc-ai-charcount {
  color: rgba(226, 227, 225, 0.5);
  background: #23261f;
}
.editorial-tools-panel .rc-ai-charcount--warn {
  color: var(--color-accent, #862122);
  font-weight: 600;
}
body.dark .editorial-tools-panel .rc-ai-charcount--warn {
  color: #e8a0a0;
}

html:lang(en) .editorial-tools-panel .rc-ai-send {
  background: var(--color-accent, #2e352e);
}

.editorial-tools-panel .rc-ai-send svg {
  width: 13px;
  height: 13px;
}

.editorial-tools-panel .rc-ai-share-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(30, 35, 30, 0.12);
  background: transparent;
  color: var(--color-ink-muted, #5e5e63);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  padding: 0;
}

.editorial-tools-panel .rc-ai-share-btn:hover {
  background: rgba(30, 35, 30, 0.06);
  border-color: rgba(30, 35, 30, 0.2);
  color: var(--color-ink, #1a1c1b);
}

body.dark .editorial-tools-panel .rc-ai-share-btn {
  border-color: rgba(226, 227, 225, 0.14);
  color: rgba(226, 227, 225, 0.5);
}

body.dark .editorial-tools-panel .rc-ai-share-btn:hover {
  background: rgba(226, 227, 225, 0.08);
  border-color: rgba(226, 227, 225, 0.24);
  color: var(--color-ink, #e2e3e1);
}

.editorial-tools-panel .rc-ai-loading {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  color: var(--color-ink-muted, #5e5e63);
}

.editorial-tools-panel .rc-ai-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-ink-muted, #5e5e63);
  animation: rc-dot-pulse 1.2s infinite ease-in-out;
}

.editorial-tools-panel .rc-ai-dot:nth-child(2) { animation-delay: 0.2s; }
.editorial-tools-panel .rc-ai-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes rc-dot-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* ── Share panel ── */
.et-share-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  flex-wrap: wrap;
}

.et-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-soft, #dde5da);
  color: var(--color-accent, #2e352e);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, transform 120ms ease;
  flex-shrink: 0;
}

.et-share-btn:hover {
  background: var(--color-accent, #2e352e);
  color: var(--color-paper, #f9f9f7);
  transform: scale(1.08);
}

.et-share-btn svg {
  width: 13px;
  height: 13px;
}

/* Copy toast */
.et-copy-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--color-ink, #1a1c1b);
  color: var(--color-paper, #f9f9f7);
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.et-copy-toast.et-copy-toast--visible {
  opacity: 1;
}

/* ── Annotations empty state ── */
.et-empty {
  font-size: 0.7rem;
  color: var(--color-ink-muted, #5e5e63);
  padding: 0.25rem 0.75rem 0.75rem;
  margin: 0;
  font-style: italic;
}

.et-annotations-label {
  margin-top: 0 !important;
}

/* ── Scrollbar thin ── */
.editorial-tools-panel::-webkit-scrollbar { width: 3px; }
.editorial-tools-panel::-webkit-scrollbar-track { background: transparent; }
.editorial-tools-panel::-webkit-scrollbar-thumb { background: var(--color-rule, rgba(30,35,30,0.12)); border-radius: 2px; }

/* custom.css @media(min-width:1500px) sets flex:1;min-height:0 on .rc-ai-panel,
   which collapses it to 0 height when .editorial-tools-panel is not a flex
   container with definite height. Override so the panel sizes to its content. */
.editorial-tools-panel .rc-ai-panel {
  flex: none;
}

/* ── Follow-up suggestion chips (post-reply, chat-agent feel) ── */
.editorial-tools-panel .rc-ai-followups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed rgba(30, 35, 30, 0.1);
  animation: rc-followup-in 260ms cubic-bezier(.22, 1, .36, 1);
}

body.dark .editorial-tools-panel .rc-ai-followups {
  border-top-color: rgba(226, 227, 225, 0.12);
}

@keyframes rc-followup-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.editorial-tools-panel .rc-ai-followups__label {
  font-family: var(--font-body);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-ink-muted, #5e5e63);
  opacity: 0.5;
  width: 100%;
  margin-bottom: 1px;
}

html:lang(zh) .editorial-tools-panel .rc-ai-followups__label {
  text-transform: none;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.editorial-tools-panel .rc-ai-followup {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 400;
  padding: 5px 11px;
  border: 1px solid rgba(30, 35, 30, 0.12);
  border-radius: 14px;
  background: transparent;
  color: var(--color-ink, #1a1c1b);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease,
              color 160ms ease, transform 120ms ease;
  -webkit-font-smoothing: antialiased;
}

html:lang(zh) .editorial-tools-panel .rc-ai-followup {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.editorial-tools-panel .rc-ai-followup:hover {
  background: rgba(134, 33, 34, 0.06);
  border-color: var(--color-accent, #862122);
  color: var(--color-accent, #862122);
}

html:lang(en) .editorial-tools-panel .rc-ai-followup:hover {
  background: rgba(46, 53, 46, 0.06);
  border-color: var(--color-accent, #2e352e);
  color: var(--color-accent, #2e352e);
}

.editorial-tools-panel .rc-ai-followup:active {
  transform: scale(0.97);
}

/* Tapped follow-up: solid accent fill, so the choice reads clearly in the
   moment between click and the next turn replacing the row. */
.editorial-tools-panel .rc-ai-followup--active,
.editorial-tools-panel .rc-ai-followup--active:hover {
  background: var(--color-accent, #862122);
  border-color: var(--color-accent, #862122);
  color: var(--color-paper, #f9f9f7);
}
/* Siblings recede so the eye lands on the chosen one. */
.editorial-tools-panel .rc-ai-followup--dim {
  opacity: 0.4;
}

body.dark .editorial-tools-panel .rc-ai-followup {
  border-color: rgba(226, 227, 225, 0.14);
  color: var(--color-ink, #e2e3e1);
}

body.dark .editorial-tools-panel .rc-ai-followup:hover {
  background: rgba(226, 227, 225, 0.08);
  border-color: rgba(226, 227, 225, 0.3);
  color: var(--color-ink, #e2e3e1);
}

/* ── Quick-start collapse (after all chips are used) ── */
.editorial-tools-panel .rc-ai-quick--collapsed {
  display: none;
}

/* ============================================================
   Reduced motion: still the AI "thinking" pulse. It is a looping
   loading affordance, not content, so freezing the dots is safe.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .editorial-tools-panel .rc-ai-dot {
    animation: none !important;
  }
}
