/* TEMPORARY, paired with /uc-author.js. Loaded only when author mode is on, so
   no visitor ever downloads it. Deliberately plain: this is a tool, not a
   surface, and it should never be mistaken for part of the page. */
.uca {
  max-width: 900px;
  margin: 0 auto 20px;
  border: 2px dashed #c9a227;
  border-radius: 12px;
  background: #fffdf3;
  padding: 12px 14px;
  font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #3a3a35;
}
.uca-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.uca-bar b { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; letter-spacing: .02em; }
.uca-bar label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.uca-sp { flex: 1 1 auto; }
.uca-bar button {
  font: inherit; padding: 5px 11px; border-radius: 7px; cursor: pointer;
  border: 1px solid #d8cfa8; background: #fff; color: #3a3a35;
}
.uca-bar button:hover { background: #f6f1dd; }
.uca-msg { font-size: 12px; color: #7a6a2a; min-height: 1em; }
.uca-ta {
  width: 100%; min-height: 260px; resize: vertical;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 10px 12px; border: 1px solid #e0d8bb; border-radius: 8px;
  background: #fff; color: #23231f;
}
.uca-help { margin: 9px 0 0; font-size: 12px; line-height: 1.6; color: #6d6753; }
.uca-help code { background: #f3ecd6; padding: 1px 5px; border-radius: 4px; }

/* The caption editor: a shorter second box under the take. */
.uca-caplbl { display: block; margin-top: 11px; font-family: -apple-system, system-ui, sans-serif;
  font-size: 12px; letter-spacing: .01em; color: #6d6753; }
.uca-cap { display: block; width: 100%; min-height: 52px; resize: vertical; margin-top: 5px;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 8px 11px; border: 1px solid #e0d8bb; border-radius: 8px; background: #fff; color: #23231f; }

