/* Recompose's window (reframe.js): the picture and its framing on the left,
   Indy's read of it on the right. A pop-up over a page gone dark, on every
   page, in Move Elements' own greys (move-elements.css). */
html.rc-open, html.rc-open body { overscroll-behavior: none; }
.rc-scrim {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .66);
  overscroll-behavior: contain;
}
.rc-win {
  width: min(1180px, 100%); max-height: calc(100vh - 32px); box-sizing: border-box;
  display: flex; flex-direction: column; gap: 11px; padding: 12px 14px 14px;
  background: #202020; color: #D6D6D6;
  border: 1px solid #3D3D3D; border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  font: 400 13px/1.35 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  outline: none;
}
.rc-win button, .rc-win input, .rc-win a { text-transform: none; letter-spacing: normal; box-shadow: none; }
.rc-win [hidden] { display: none !important; }
.rc-win button:disabled { opacity: .38; cursor: default; }
.rc-win .rc-ic { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rc-hdr { display: flex; align-items: center; gap: 7px; font: 500 13px/1 'Barlow', sans-serif; color: #D6D6D6; }
.rc-hdr > .rc-ic { color: #9A9A9A; }
.rc-of { color: #9A9A9A; font-weight: 400; }
.rc-x {
  margin-left: auto; width: 22px; height: 22px; padding: 0; display: inline-grid; place-items: center;
  border: 0; border-radius: 4px; background: none; color: #9A9A9A; cursor: pointer;
}
.rc-x .rc-ic { width: 13px; height: 13px; }
.rc-x:hover { background: #2A2A2A; color: #EFEFEF; }

.rc-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; min-height: 0; }
.rc-left { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rc-right { display: flex; flex-direction: column; gap: 9px; min-width: 0; min-height: 0; }

/* The frame sits where the picture is; the picture moves and scales under it. */
.rc-stage { position: relative; width: 100%; background: #111; }
.rc-frame {
  position: absolute; inset: 0; overflow: hidden;
  outline: 1px solid rgba(255, 255, 255, .55);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.rc-frame.is-dragging { cursor: grabbing; }
.rc-frame img { max-width: none; max-height: none; -webkit-user-drag: none; }
/* Wider: past the picture, the picture stretched to the frame and blurred,
   the filler the model is sent and asked to draw over. */
.rc-past { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill;
  filter: blur(14px); opacity: .7; pointer-events: none; }
.rc-mover { position: absolute; }
.rc-pic { display: block; width: 100%; height: 100%; pointer-events: none; }
.rc-pins { position: absolute; inset: 0; pointer-events: none; }
.rc-pin {
  position: absolute; transform: translate(-50%, -50%); pointer-events: auto;
  width: 20px; height: 20px; padding: 0; border-radius: 50%; cursor: pointer;
  display: inline-grid; place-items: center;
  background: rgba(14, 14, 14, .82); color: #EFE6D6; border: 1.5px solid #EFE6D6;
  font: 500 11px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
.rc-pin--again { border-color: #EFA063; color: #EFA063; }
.rc-pin--frame { border-color: #A583FA; color: #A583FA; }
.rc-pin.is-off { opacity: .4; }
.rc-pin.is-hot { background: #EFE6D6; color: #141414; }
.rc-pin--again.is-hot { background: #EFA063; }
.rc-pin--frame.is-hot { background: #A583FA; }
.rc-at { position: absolute; box-sizing: border-box; pointer-events: none; opacity: 0;
  border: 1px dashed rgba(239, 230, 214, .9); background: rgba(239, 230, 214, .06); }
.rc-at.is-hot { opacity: 1; }
.rc-at--whole { border-style: solid; background: none; }
/* A take: the picture before, over the take, up to a line the person drags. */
.rc-before { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; pointer-events: none; }
.rc-before img { display: block; height: 100%; }
.rc-wipe { position: absolute; top: 0; bottom: 0; width: 22px; margin-left: -11px; cursor: ew-resize; touch-action: none; }
.rc-wipe::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: #EFE6D6; }
.rc-wipe::after { content: ''; position: absolute; left: 3px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: #EFE6D6; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.rc-tags { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; pointer-events: none; }
.rc-tag { padding: 3px 7px; border-radius: 4px; background: rgba(14, 14, 14, .78); color: #D6D6D6;
  font: 500 10.5px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; }

.rc-cap { font: 500 10.5px/1.2 'Barlow Semi Condensed', 'Barlow', sans-serif; letter-spacing: .09em;
  text-transform: uppercase; color: #9E9E9E; }
.rc-dim { color: #8A8A8A; font-size: 12.5px; }
.rc-fbar { display: flex; align-items: center; gap: 8px; }
.rc-pr {
  flex: none; width: 28px; height: 26px; padding: 0; display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px; background: none; color: #D6D6D6;
}
.rc-pr:hover:not(:disabled) { background: #343434; color: #fff; border-color: #4A4A4A; }
.rc-xyz { font: 400 11.5px/1.3 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: #9E9E9E; white-space: pre; }
.rc-frow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.rc-lift {
  height: 28px; padding: 0 10px 0 8px; display: inline-flex; align-items: center; gap: 6px; flex: none;
  border: 0; border-radius: 6px; background: #E4E4E4; color: #171717; cursor: pointer; text-decoration: none;
  font: 500 13px/1 'Barlow', sans-serif; white-space: nowrap;
}
.rc-lift:hover:not(:disabled) { background: #F2F2F2; }
.rc-lift .rc-p, .rc-go .rc-p { font: 500 11.5px/1 'IBM Plex Mono', ui-monospace, monospace; padding-left: 8px;
  border-left: 1px solid rgba(20, 20, 20, .28); }
.rc-lift--line { background: none; color: #D6D6D6; border: 1px solid rgba(255, 255, 255, .2); height: 26px; font-size: 12.5px; }
.rc-lift--line:hover:not(:disabled) { background: #343434; color: #fff; }
.rc-held { display: flex; flex-direction: column; gap: 7px; padding: 10px 12px;
  border: 1px solid #2C2C2C; border-radius: 8px; background: #1C1C1C; }
.rc-held-h { font: 500 12.5px/1.35 'Barlow', sans-serif; color: #DBDBDB; }
.rc-held-r { display: flex; gap: 10px; align-items: baseline; }
.rc-held-r .rc-cap { flex: none; width: 104px; color: #6F6F6F; }
.rc-held-v { color: #9E9E9E; font-size: 12.5px; min-width: 0; }

.rc-rhead { display: flex; align-items: center; gap: 10px; height: 22px; }
.rc-rname { font: 500 14px/1.35 'Barlow', sans-serif; color: #EFEFEF; }
.rc-count { margin-left: auto; color: #8A8A8A; font-size: 12.5px; }
.rc-link { padding: 0; border: 0; background: none; color: #9A9A9A; cursor: pointer; font: 400 12.5px/1 'Barlow', sans-serif;
  text-decoration: underline; text-underline-offset: 2px; }
.rc-link:hover { color: #EFEFEF; }
.rc-scroll { flex: 1; min-height: 120px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 8px; padding-right: 2px; }
.rc-list { display: flex; flex-direction: column; gap: 6px; }
.rc-info { display: flex; flex-direction: column; gap: 8px; }
.rc-info:empty, .rc-list:empty { display: none; }
.rc-para { margin: 0; color: #9E9E9E; font-size: 12.5px; line-height: 1.45; }
.rc-quiet { color: #6F6F6F; }
.rc-warn { color: #EFA063; }
.rc-face { padding: 8px 10px; border-radius: 6px; background: rgba(239, 160, 99, .08);
  border: 1px solid rgba(239, 160, 99, .3); color: #E8C3A3; }
.rc-reading { display: flex; flex-direction: column; gap: 9px; padding: 12px; border: 1px solid #2C2C2C; border-radius: 8px; }
.rc-stage-r { display: flex; align-items: center; gap: 9px; color: #BDBDBD; }
/* A stage as the job says it: waiting (a dim ring), running (the ring turns),
   done (filled), did not answer (amber). */
.rc-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #4A4A4A; flex: none; }
.rc-stage-r.is-waiting { color: #6F6F6F; }
.rc-stage-r.is-running .rc-dot { border-color: #61A0FF; border-top-color: transparent;
  animation: rc-spin 1s linear infinite; }
.rc-stage-r.is-done .rc-dot { border-color: #61A0FF; background: #61A0FF; }
.rc-stage-r.is-failed { color: #EFA063; }
.rc-stage-r.is-failed .rc-dot { border-color: #EFA063; background: #EFA063; }
@keyframes rc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rc-stage-r.is-running .rc-dot { animation: none; } }

.rc-find { display: flex; gap: 10px; align-items: flex-start; padding: 10px 10px 11px;
  border: 1px solid #2C2C2C; border-radius: 8px; }
.rc-find:hover, .rc-find.is-open { border-color: #4A4A4A; background: #232323; }
.rc-lead { display: flex; align-items: center; gap: 8px; padding-top: 1px; flex: none; }
.rc-tick { width: 16px; height: 16px; margin: 0; flex: none; accent-color: #EFE6D6; cursor: pointer; }
.rc-tick--none { display: inline-block; cursor: default; }
.rc-num { width: 20px; height: 20px; flex: none; border-radius: 50%; box-sizing: border-box;
  border: 1.5px solid #EFE6D6; color: #EFE6D6; display: inline-grid; place-items: center;
  font: 500 11px/1 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.rc-find--again .rc-num { border-color: #EFA063; color: #EFA063; }
.rc-find--frame .rc-num { border-color: #A583FA; color: #A583FA; }
.rc-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.rc-top { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none;
  color: inherit; cursor: pointer; text-align: left; }
.rc-top .rc-chip { margin-left: auto; }
.rc-chip { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 4px; white-space: nowrap;
  font: 500 10.5px/1 'Barlow Semi Condensed', 'Barlow', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(97, 160, 255, .10); border: 1px solid rgba(97, 160, 255, .35); color: #61A0FF; }
.rc-chip--again, .rc-chip--still { background: rgba(239, 160, 99, .10); border-color: rgba(239, 160, 99, .4); color: #EFA063; }
.rc-chip--frame { background: rgba(165, 131, 250, .10); border-color: rgba(165, 131, 250, .4); color: #A583FA; }
.rc-chip--cleared { background: rgba(95, 174, 140, .10); border-color: rgba(95, 174, 140, .4); color: #5FAE8C; }
.rc-chip--wait, .rc-chip--unchecked, .rc-chip--said { background: none; border-color: #3D3D3D; color: #8A8A8A; }
.rc-newcap { margin: 8px 0 0 2px; }
.rc-seen { color: #DBDBDB; font-size: 13px; line-height: 1.38; }
.rc-detail { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-top: 9px; border-top: 1px solid #2C2C2C; }
.rc-detail > .rc-cap { margin-top: 4px; color: #6F6F6F; }
.rc-detail > .rc-cap:first-child { margin-top: 0; }
.rc-words { padding: 8px 10px; border-radius: 6px; background: #181818; border: 1px solid #2C2C2C; color: #D6D6D6;
  font: 400 12px/1.5 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.rc-saw { display: flex; flex-direction: column; gap: 3px; }
.rc-saw-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font-size: 12.5px; }
.rc-saw-r--3 { grid-template-columns: minmax(0, 1fr) 92px 92px; }
.rc-saw-k { color: #9E9E9E; }
.rc-saw-v { color: #EFEFEF; font: 400 12px/1.4 'IBM Plex Mono', ui-monospace, Menlo, monospace; text-align: right; }
.rc-saw-r--h .rc-saw-v { color: #6F6F6F; font: 500 10.5px/1.4 'Barlow Semi Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.rc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.rc-rule { margin-top: 2px; color: #5A5A5A; font: 400 10.5px/1.3 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
.rc-sent summary { cursor: pointer; color: #8A8A8A; font-size: 12.5px; }
.rc-sent .rc-words { margin-top: 6px; }

.rc-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; }
.rc-note {
  width: 100%; height: 28px; padding: 0 9px; box-sizing: border-box;
  background: #272727; border: 1px solid #343434; border-radius: 4px; outline: none;
  font: 400 13px/1 'Barlow', sans-serif; color: #D6D6D6;
}
.rc-note::placeholder { color: #6F6F6F; }
.rc-note:focus { border-color: #4A4A4A; }
.rc-frun { display: flex; align-items: center; gap: 10px; }
.rc-promise { flex: 1; min-width: 0; }
.rc-busy { flex: none; color: #9A9A9A; font-size: 12px; }
.rc-go {
  flex: none; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px;
  border: 0; border-radius: 6px; background: #EFE6D6; color: #141414; cursor: pointer;
  font: 500 13.5px/1 'Barlow', sans-serif;
}
.rc-go--back { background: none; color: #D6D6D6; border: 1px solid rgba(255, 255, 255, .2); }
.rc-go--back:hover { background: #343434; color: #fff; }
.rc-say { margin: -2px 0 0; font: 400 12.5px/1.35 'Barlow', sans-serif; color: #EFA063; }
.rc-win.is-busy .rc-stage { opacity: .8; }

@media (max-width: 860px) {
  .rc-win { overflow-y: auto; }
  .rc-body { grid-template-columns: minmax(0, 1fr); }
  .rc-scroll { overflow: visible; }
}
