/* The Remix split button on /p/<slug> (src/server/remix-button.ts, D-082). Uses the public page's tokens (page.css).
   One primary action (Remix in nauvid); the caret opens the agent way: a heading, one line of help, the line and Copy. */
.rx-split { position: relative; display: flex; gap: 1px; width: 100%; }
.rx-split.block { width: 100%; }
.rx-split .rx-main { flex: 1 1 auto; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; justify-content: center; }
.rx-more { position: static; display: flex; }
.rx-more > summary { list-style: none; height: 100%; border-top-left-radius: 0; border-bottom-left-radius: 0; padding: 0 12px; cursor: pointer; }
.rx-more > summary::-webkit-details-marker { display: none; }
.rx-more > summary svg { display: block; transition: transform 120ms ease-out; }
.rx-more[open] > summary svg { transform: rotate(180deg); }
.rx-menu { font: 14px/20px var(--font-sans, system-ui, sans-serif); position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; min-width: 260px; padding: 14px; border-radius: 14px; background: var(--raise, #fff); color: var(--ink, inherit); box-shadow: 0 0 0 1px var(--line, rgba(20,20,19,.10)), 0 12px 32px rgba(0,0,0,.14); text-align: left; display: flex; flex-direction: column; gap: 8px; }
.rx-head { margin: 0; font-weight: 600; font-size: 14px; line-height: 20px; }
.rx-note { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink2, inherit); }
.rx-box { display: flex; align-items: flex-start; gap: 8px; padding: 8px 8px 8px 10px; border-radius: 8px; background: var(--hover, rgba(20,20,19,.05)); }
/* wraps between words and at the slug's hyphens (remix-button.ts puts <wbr> before the URL and after /p/); "anywhere" only as the last resort */
.rx-line { flex: 1; min-width: 0; padding: 4px 0; font: 12px/18px "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; word-break: normal; overflow-wrap: anywhere; hyphens: none; user-select: all; color: var(--ink, inherit); }
.rx-url { color: var(--ink2, inherit); }
.rx-copy { flex: none; min-width: 72px; gap: 4px; }
.rx-copy.is-copied { color: var(--ink, inherit); }
.rx-status { margin: 0; font-size: 12px; line-height: 16px; color: var(--ink2, inherit); }
.rx-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rx-more > summary svg { transition: none; }
}
