/* Revdoku client-side PDF annotator — self-contained styles. */
.rd-tool-intro {
  width: min(100%, 720px); margin: 1.5rem auto 0; padding: 0 1rem; text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.rd-tool-intro h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; line-height: 1.15; }
.rd-tool-intro p { margin: 0 auto; max-width: 620px; color: var(--color-text-muted, #64748b); font-size: 1rem; line-height: 1.55; }
.rdtool {
  --rdt-bg: var(--color-bg-secondary, #f8fafc);
  --rdt-surface: var(--color-bg-primary, #ffffff);
  --rdt-border: var(--color-border, #e2e8f0);
  --rdt-text: var(--color-text-primary, #0f172a);
  --rdt-muted: var(--color-text-muted, #64748b);
  --rdt-accent: var(--color-primary, #1e40af);
  width: 100%;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
  color: var(--rdt-text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.rdtool-fullscreen-open { overflow: hidden !important; }
.rdtool:fullscreen,
.rdtool.is-expanded {
  width: 100vw; height: 100vh; max-width: none; margin: 0; padding: 0.5rem;
  box-sizing: border-box;
  color: var(--rdt-text); background: var(--rdt-surface);
  display: flex; flex-direction: column;
}
.rdtool.is-expanded { position: fixed; inset: 0; z-index: 99999; }
.rdtool:fullscreen .rdtool__shell,
.rdtool.is-expanded .rdtool__shell { flex: 1 1 auto; min-height: 0; }
.rdtool:fullscreen .rdtool__stage--pages.is-ready,
.rdtool.is-expanded .rdtool__stage--pages.is-ready { max-height: none; }
.rdtool:fullscreen .rdtool__status,
.rdtool.is-expanded .rdtool__status { flex: 0 0 auto; margin-bottom: 0; }
.rdtool [hidden] { display: none !important; }
[data-theme="dark"] .rdtool {
  --rdt-bg: var(--color-dark-bg-secondary, #131f33);
  --rdt-surface: var(--color-dark-bg-primary, #0f172a);
  --rdt-border: var(--color-dark-border, #1e293b);
  --rdt-text: var(--color-dark-text-primary, #e2e8f0);
  --rdt-muted: var(--color-dark-text-muted, #94a3b8);
  --rdt-accent: var(--color-dark-primary, #3b82f6);
}
.rdtool__toolbar {
  position: sticky; top: 0; z-index: 6;
  display: flex; flex-direction: column; min-width: 0;
  background: var(--rdt-surface); border: 1px solid var(--rdt-border); border-radius: 10px 10px 0 0;
}
.rdtool__toolbarrow {
  box-sizing: border-box; width: 100%; min-width: 0;
}
.rdtool__toolbarrow--primary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 46px; align-items: center; gap: 10px; padding: 7px 10px;
}
.rdtool__toolbarrow--secondary {
  display: flex; min-height: 46px; align-items: center; gap: 6px;
  padding: 7px 10px; overflow-x: auto; background: var(--rdt-bg); border-top: 1px solid var(--rdt-border);
  scrollbar-width: thin;
}
.rdtool__toolbarleft,
.rdtool__toolbarcenter,
.rdtool__toolbarright {
  display: flex; min-width: 0; align-items: center; gap: 6px;
}
.rdtool__toolbarcenter { justify-content: center; }
.rdtool__toolbarright { justify-content: flex-end; }
.rdtool__toolbartitle {
  min-width: 0; max-width: 30vw; overflow: hidden; color: var(--rdt-text);
  font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap;
}
.rdtool__group {
  display: flex; flex: 0 0 auto; gap: 4px; align-items: center;
}
.rdtool__toolbarrow--secondary .rdtool__group:not(:last-child) {
  padding-right: 7px; border-right: 1px solid var(--rdt-border);
}
.rdtool__btn {
  appearance: none; display: inline-flex; height: 32px; align-items: center; justify-content: center; gap: 6px;
  padding: 0 10px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  color: var(--rdt-text); background: var(--rdt-surface);
  border: 1px solid var(--rdt-border); border-radius: 6px; cursor: pointer;
  transition: background 0.12s, border-color 0.12s; white-space: nowrap;
}
.rdtool__btn:hover:not(:disabled) { background: color-mix(in srgb, var(--rdt-bg) 84%, var(--rdt-accent) 4%); }
.rdtool__btn:disabled { opacity: 0.45; cursor: not-allowed; }
.rdtool__btn[aria-pressed="true"] { background: var(--rdt-accent); border-color: var(--rdt-accent); color: #fff; }
.rdtool__btn svg { width: 15px; height: 15px; }
.rdtool__btn--icon { width: 32px; justify-content: center; padding-inline: 0; }
.rdtool__btn--primary { background: var(--rdt-accent); border-color: var(--rdt-accent); color: #fff; }
.rdtool__pagecontrol {
  display: inline-flex; height: 32px; align-items: center; gap: 5px; padding: 0 8px;
  background: var(--rdt-surface); border: 1px solid var(--rdt-border); border-radius: 6px;
  font-size: 13px; white-space: nowrap;
}
.rdtool__pagecontrol input {
  appearance: textfield; box-sizing: border-box; width: 34px; padding: 0;
  color: var(--rdt-text); background: transparent; border: 0; outline: none; font: inherit; text-align: right;
}
.rdtool__zoomfield { position: relative; display: inline-flex; width: 98px; }
.rdtool__zoominput {
  box-sizing: border-box; width: 98px; height: 32px; padding: 0 25px 0 9px;
  color: var(--rdt-text); background: var(--rdt-surface); border: 1px solid var(--rdt-border); border-radius: 6px;
  font: inherit; font-size: 13px;
}
.rdtool__zoominput:focus {
  border-color: var(--rdt-accent); outline: 2px solid color-mix(in srgb, var(--rdt-accent) 20%, transparent); outline-offset: 0;
}
.rdtool__zoomtoggle {
  position: absolute; top: 1px; right: 1px; display: grid; width: 28px; height: 30px; place-items: center;
  padding: 0; color: inherit; background: transparent; border: 0; border-radius: 0 5px 5px 0; cursor: pointer;
}
.rdtool__zoomtoggle:hover { background: var(--rdt-bg); }
.rdtool__zoomtoggle::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.rdtool__zoommenu {
  position: absolute; z-index: 8; top: calc(100% + 4px); left: 0; box-sizing: border-box;
  display: grid; width: 128px; max-height: 256px; padding: 4px; overflow: auto;
  background: var(--rdt-surface); border: 1px solid var(--rdt-border); border-radius: 7px;
  box-shadow: 0 12px 32px rgba(15,23,42,.18);
}
.rdtool__zoommenu[hidden] { display: none; }
.rdtool__zoomoption {
  appearance: none; width: 100%; padding: 7px 8px; color: inherit; background: transparent;
  border: 0; border-radius: 5px; cursor: pointer; font: inherit; font-size: 13px; text-align: left; white-space: nowrap;
}
.rdtool__zoomoption:hover,
.rdtool__zoomoption:focus,
.rdtool__zoomoption[aria-selected="true"] { background: var(--rdt-bg); outline: none; }
.rdtool__swatches { display: flex; gap: 0.2rem; }
.rdtool__swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.rdtool__swatch[aria-pressed="true"] { border-color: var(--rdt-text); }
.rdtool input[type="range"] { width: 92px; accent-color: var(--rdt-accent); }
.rdtool__fontgroup label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--rdt-muted); font-size: 0.78rem; font-weight: 700;
}
.rdtool__fontgroup select {
  height: 32px; max-width: 160px; padding: 0 1.75rem 0 0.5rem;
  color: var(--rdt-text); background: var(--rdt-surface);
  border: 1px solid var(--rdt-border); border-radius: 7px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.rdtool__sep { flex: 1; }
.rdtool__shell {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 0;
  border: 1px solid var(--rdt-border); border-top: 0; border-radius: 0 0 10px 10px; overflow: hidden;
}
.rdtool.is-sidebar-collapsed .rdtool__shell { grid-template-columns: minmax(0, 1fr); }
.rdtool.is-sidebar-collapsed .rdtool__sidebar { display: none; }
.rdtool__toolbar[hidden] + .rdtool__shell { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rdt-border); border-radius: 10px; }
.rdtool__toolbar[hidden] + .rdtool__shell .rdtool__sidebar { display: none; }
.rdtool__sidebarbackdrop { display: none; }
.rdtool__sidebar {
  min-height: 0; max-height: 82vh; padding: 10px; overflow: auto;
  background: var(--rdt-surface); border-right: 1px solid var(--rdt-border);
}
.rdtool__thumb {
  display: grid; width: 100%; gap: 6px; margin: 0 0 8px; padding: 6px;
  color: var(--rdt-muted); background: transparent; border: 1px solid transparent; border-radius: 7px;
  cursor: pointer; font: inherit; font-size: 12px; text-align: left;
}
.rdtool__thumb:hover { background: var(--rdt-bg); }
.rdtool__thumb.is-active {
  color: var(--rdt-text); background: color-mix(in srgb, var(--rdt-accent) 9%, transparent); border-color: var(--rdt-accent);
}
.rdtool__thumb canvas { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--rdt-border); border-radius: 4px; }
.rdtool__stage {
  min-width: 0; min-height: 340px; padding: 1rem; overflow: auto; background: var(--rdt-bg);
}
.rdtool__stage--pages.is-ready {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  max-height: 82vh; overflow: auto;
}
.rdtool__page { position: relative; line-height: 0; box-shadow: 0 3px 18px rgba(0,0,0,0.16); }
.rdtool__pagenum {
  position: absolute; z-index: 3; right: 7px; bottom: 7px; padding: 3px 6px;
  color: #fff; background: rgba(15,23,42,.72); border-radius: 999px;
  font-size: 11px; font-weight: 800; line-height: 1;
  pointer-events: none;
}
.rdtool__pagecanvas { display: block; }
.rdtool__overlay { position: absolute; inset: 0; z-index: 2; touch-action: none; cursor: crosshair; }
.rdtool__textinput {
  position: absolute; z-index: 5; width: min(320px, 70%); min-width: 120px; min-height: 4.5em;
  padding: 5px 7px; line-height: 1.2; resize: both;
  background: rgba(255,255,255,0.92); color: #111;
  border: 1px solid var(--rdt-accent); border-radius: 3px; outline: none;
}
.rdtool__drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; width: 100%; min-height: 300px; padding: 2rem; text-align: center;
  color: var(--rdt-muted); border: 2px dashed var(--rdt-border); border-radius: 8px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.rdtool__drop:hover, .rdtool__drop.is-drag { border-color: var(--rdt-accent); background: var(--rdt-surface); }
.rdtool__drop svg { width: 46px; height: 46px; opacity: 0.55; }
.rdtool__drop strong { color: var(--rdt-text); font-size: 1.05rem; }
.rdtool__examples {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 0.55rem; margin-top: 0.25rem; color: var(--rdt-muted); font-size: clamp(1rem, 1.7vw, 1.14rem); font-weight: 750;
}
.rdtool__examples a {
  color: var(--rdt-accent); font-size: 1.08em; font-weight: 850; text-decoration: underline; text-underline-offset: 3px;
}
.rdtool__status { margin-top: 0.5rem; font-size: 0.82rem; color: var(--rdt-muted); min-height: 1.1em; text-align: center; }
.rdtool__printframe {
  position: fixed; left: -10000px; bottom: 0; width: 1px; height: 1px;
  border: 0; opacity: 0; pointer-events: none;
}

/* Transactional page manager. */
.rdtool__dialog {
  width: min(960px, calc(100vw - 2rem)); max-height: min(760px, calc(100vh - 2rem));
  padding: 0; color: var(--rdt-text); background: var(--rdt-surface);
  border: 1px solid var(--rdt-border); border-radius: 14px; box-shadow: 0 24px 80px rgba(15,23,42,.35);
}
.rdtool__dialog::backdrop { background: rgba(15,23,42,.62); backdrop-filter: blur(2px); }
.rdtool__dialog.is-drag { outline: 3px solid var(--rdt-accent); outline-offset: -6px; }
.rdtool__dialoghead,
.rdtool__dialogfoot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; }
.rdtool__dialoghead { border-bottom: 1px solid var(--rdt-border); }
.rdtool__dialoghead h2 { margin: 0; font-size: 1.25rem; }
.rdtool__dialoghead p { margin: .22rem 0 0; color: var(--rdt-muted); font-size: .86rem; }
.rdtool__iconbtn {
  width: 34px; height: 34px; padding: 0; color: var(--rdt-muted); background: transparent;
  border: 1px solid var(--rdt-border); border-radius: 8px; cursor: pointer; font-size: 24px; line-height: 1;
}
.rdtool__pageactions {
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem;
  color: var(--rdt-muted); background: var(--rdt-bg); border-bottom: 1px solid var(--rdt-border); font-size: .82rem;
}
.rdtool__pagelist {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: .85rem;
  min-height: 180px; max-height: min(470px, 56vh); padding: 1rem 1.1rem; overflow: auto;
}
.rdtool__pagecard {
  position: relative; min-width: 0; padding: .55rem; background: var(--rdt-bg);
  border: 2px solid transparent; border-radius: 10px; cursor: pointer; outline: none;
}
.rdtool__pagecard:hover { border-color: var(--rdt-border); }
.rdtool__pagecard:focus-visible,
.rdtool__pagecard.is-selected { border-color: var(--rdt-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--rdt-accent) 18%, transparent); }
.rdtool__draghandle {
  position: absolute; z-index: 2; top: .7rem; left: .7rem; display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0; color: #334155; background: rgba(255,255,255,.9);
  border: 1px solid #cbd5e1; border-radius: 7px; cursor: grab; touch-action: none;
}
.rdtool__draghandle:active { cursor: grabbing; }
.rdtool__draghandle svg { width: 17px; height: 17px; }
.rdtool__pagethumb {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  color: var(--rdt-muted); background: #fff; border: 1px solid var(--rdt-border); border-radius: 6px; font-weight: 800;
}
.rdtool__pagethumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rdtool__pagethumb b {
  position: absolute; right: 5px; bottom: 5px; padding: 3px 5px; color: #fff;
  background: rgba(37,99,235,.9); border-radius: 999px; font-size: 9px; line-height: 1;
}
.rdtool__pagecardfoot { display: flex; align-items: center; justify-content: space-between; gap: .25rem; margin-top: .5rem; font-size: .78rem; }
.rdtool__pagecardfoot > span { display: flex; gap: 2px; }
.rdtool__pagecardfoot button {
  display: grid; place-items: center; width: 27px; height: 27px; padding: 0; color: var(--rdt-text);
  background: var(--rdt-surface); border: 1px solid var(--rdt-border); border-radius: 5px; cursor: pointer;
}
.rdtool__pagecardfoot button:disabled { opacity: .35; cursor: default; }
.rdtool__pagecardfoot svg { width: 14px; height: 14px; }
.rdtool__dialogstatus { min-height: 1.2em; margin: 0; padding: 0 1.1rem; color: var(--rdt-muted); font-size: .82rem; }
.rdtool__dialogstatus.is-error { color: #b91c1c; }
.rdtool__dialogfoot { justify-content: flex-end; border-top: 1px solid var(--rdt-border); }

/* Dashboard host: fill the existing file-editor panel without introducing a
   second outer margin/viewport. The editor behavior and controls stay shared. */
.revdoku-app-pdf-editor.rdtool {
  display: flex; min-height: 0; height: 100%; margin: 0; padding: 0; flex-direction: column;
}
.revdoku-app-pdf-editor .rdtool__toolbar { position: relative; flex: 0 0 auto; border-radius: 0; }
.revdoku-app-pdf-editor .rdtool__shell { flex: 1 1 auto; min-height: 0; border-radius: 0; }
.revdoku-app-pdf-editor .rdtool__sidebar { max-height: none; }
.revdoku-app-pdf-editor .rdtool__stage { min-height: 0; }
.revdoku-app-pdf-editor .rdtool__stage--pages.is-ready { max-height: none; }
.revdoku-app-pdf-editor .rdtool__status { flex: 0 0 auto; margin: 0; padding: .35rem .75rem; }
.dark .revdoku-app-pdf-editor {
  --rdt-bg: #111827;
  --rdt-surface: #0f172a;
  --rdt-border: #334155;
  --rdt-text: #e2e8f0;
  --rdt-muted: #94a3b8;
  --rdt-accent: #6366f1;
}
@media (max-width: 1599px) {
  .rdtool:not(.revdoku-app-pdf-editor) .rdtool__toolbarrow--primary { grid-template-columns: minmax(0, 1fr) auto; }
  .rdtool:not(.revdoku-app-pdf-editor) .rdtool__toolbarcenter { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .rdtool:not(.revdoku-app-pdf-editor) .rdtool__toolbarright { grid-column: 2; grid-row: 1; }
  .rdtool:not(.revdoku-app-pdf-editor) .rdtool__toolbartitle { max-width: 45vw; }
}
@media (max-width: 1080px) {
  .rdtool__toolbarrow--primary { grid-template-columns: minmax(0, 1fr) auto; }
  .rdtool__toolbarcenter { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .rdtool__toolbarright { grid-column: 2; grid-row: 1; }
  .rdtool__toolbartitle { max-width: 45vw; }
}
@media (max-width: 720px) {
  .rd-tool-intro { margin-top: 1.15rem; padding: 0 0.65rem; }
  .rd-tool-intro h1 { font-size: clamp(1.5rem, 8vw, 1.9rem); }
  .rdtool { margin-top: 1.1rem; padding: 0 0.45rem; }
  .rdtool__toolbarrow--primary {
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
    grid-template-areas: "left nav right" "zoom zoom zoom"; gap: 7px 6px; padding: 7px 8px;
  }
  .rdtool__toolbarleft { grid-area: left; justify-self: start; }
  .rdtool__toolbarcenter { display: contents; }
  .rdtool__group--nav { grid-area: nav; justify-self: center; }
  .rdtool__group--zoom { grid-area: zoom; justify-self: center; }
  .rdtool__toolbarright { grid-area: right; justify-self: end; }
  .rdtool__toolbartitle { display: none; }
  .rdtool__toolbarright .rdtool__label { display: none; }
  .rdtool__toolbarright .rdtool__btn { width: 38px; padding: 0; }
  .rdtool__toolbarrow--secondary { gap: 4px; }
  .rdtool__toolbarrow--secondary .rdtool__group { gap: 3px; }
  .rdtool__toolbarrow--secondary .rdtool__group:not(:last-child) { padding-right: 5px; }
  .rdtool__sep { display: block; flex: 1 0 0.35rem; min-width: 0.35rem; }
  .rdtool__group--tools .rdtool__btn,
  .rdtool__group--selection .rdtool__btn,
  .rdtool__group--history .rdtool__btn {
    width: 38px; height: 38px; justify-content: center; padding: 0;
  }
  .rdtool__group--tools .rdtool__label,
  .rdtool__group--selection .rdtool__label,
  .rdtool__group--history .rdtool__label { display: none; }
  .rdtool__btn { height: 38px; padding: 0 8px; }
  .rdtool__btn--icon { width: 38px; padding: 0; }
  .rdtool__btn svg { width: 18px; height: 18px; }
  .rdtool__pagecontrol { height: 38px; padding: 0 6px; }
  .rdtool__pagecontrol input { width: 30px; }
  .rdtool__zoomfield, .rdtool__zoominput { width: 104px; }
  .rdtool__zoominput { height: 38px; }
  .rdtool__zoomtoggle { height: 36px; }
  .rdtool__swatches { gap: 0.28rem; }
  .rdtool__swatch { width: 24px; height: 24px; }
  .rdtool input[type="range"] { width: 78px; }
  .rdtool__fontgroup select { max-width: min(190px, 70vw); }
  .rdtool__shell { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
  .rdtool__sidebar {
    position: absolute; z-index: 4; inset: 0 auto 0 0; display: block; box-sizing: border-box;
    width: min(78vw, 280px); max-height: none; border-right: 1px solid var(--rdt-border); box-shadow: 8px 0 28px rgba(15,23,42,.22);
  }
  .rdtool__sidebarbackdrop {
    position: absolute; z-index: 3; inset: 0; display: block; padding: 0;
    background: rgba(15,23,42,.28); border: 0; cursor: pointer;
  }
  .rdtool.is-sidebar-collapsed .rdtool__sidebarbackdrop { display: none; }
  .rdtool__stage { min-height: 300px; padding: 0.75rem; }
  .rdtool__dialog { width: calc(100vw - .8rem); max-height: calc(100vh - .8rem); }
  .rdtool__dialoghead, .rdtool__dialogfoot { padding: .8rem; }
  .rdtool__pageactions { align-items: flex-start; flex-direction: column; padding: .7rem .8rem; }
  .rdtool__pagelist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; padding: .8rem; }
  .rdtool__dialogstatus { padding: 0 .8rem; }
}
@media (max-width: 420px) {
  .rdtool__toolbarrow--primary {
    grid-template-columns: 1fr auto; grid-template-areas: "left right" "nav nav" "zoom zoom";
  }
  .rdtool__toolbarright { gap: 4px; }
  .rdtool__group--nav, .rdtool__group--zoom { justify-self: center; }
  .rdtool__swatch { width: 22px; height: 22px; }
  .rdtool input[type="range"] { width: 64px; }
}
/* Publish handoff panel (shared with the image tool) */
.rdpub { width: 100%; margin: 1.6rem auto 0; padding: 0 1rem; }
.rdpub__card {
  padding: 1.2rem; background: var(--rdt-bg, #f8fafc);
  border: 1px solid var(--rdt-border, #e2e8f0); border-radius: 12px; text-align: center;
}
.rdpub__title { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 800; }
.rdpub__sub { margin: 0 auto 1rem; max-width: 560px; font-size: 0.9rem; color: var(--rdt-muted, #64748b); }
.rdpub__sub.is-pending { color: var(--rdt-muted, #64748b); animation: rdpub-pulse 1.3s ease-in-out infinite; }
.rdpub__sub.is-pending::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.5em;
  border-radius: 50%; background: var(--rdt-accent, #1e40af); vertical-align: 0.08em;
  animation: rdpub-dot 1.3s ease-in-out infinite;
}
.rdpub__sub.is-error { color: #b91c1c; }
.rdpub .rd-ai-connect { margin: 1rem 0 0; }
@keyframes rdpub-pulse { 0%, 100% { opacity: 0.62; } 50% { opacity: 1; } }
@keyframes rdpub-dot { 0%, 100% { transform: scale(0.75); opacity: 0.5; } 50% { transform: scale(1); opacity: 1; } }
