/* The composer's Visual check (visualcheck.js): a viewfinder button beside
   Learning, and its menu on the same shelf as the model and effort menus —
   when the builder films a turn's result for Claude, and which states of
   this page it films. Clay once it does more than the default (Every turn,
   or states ticked), with the count of ticked states on its corner. */
.comp-btn.comp-visual { position: relative; }
.comp-visual .vc-off { display: none; }
.comp-visual[data-mode="off"] .vc-off { display: inline; }
.comp-visual[data-mode="off"] { opacity: .62; }
.comp-btn.comp-visual[data-mode="always"],
.comp-btn.comp-visual.has-ticks { color: #A64B28; border-color: rgba(217, 119, 87, .45); background: var(--clay-soft); }
.vc-n {
  position: absolute; top: -4px; right: -4px; min-width: 15px; height: 15px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--clay); color: #fff; font: 700 9px/1 var(--sans);
  box-shadow: 0 0 0 2px var(--cl-paper);
}
.vc-n[hidden] { display: none; }

.model-menu.vc-menu { width: min(300px, 100%); }
.vc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 6px; }
.vc-rescan {
  background: none; border: none; padding: 2px 6px; border-radius: 999px; cursor: pointer;
  font: 600 10.5px var(--sans); color: var(--clay);
}
.vc-rescan:hover { background: var(--clay-soft); }
.vc-rescan[hidden] { display: none; }
.vc-states { max-height: min(300px, 42vh); }
.vc-menu.is-off .vc-states { opacity: .7; }
.vc-group {
  font: 600 10px var(--sans); color: var(--cl-muted); padding: 6px 9px 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0;
}
.vc-row:disabled { cursor: default; opacity: .75; }
.vc-row:disabled:hover { background: none; }
.vc-box {
  width: 14px; height: 14px; flex-shrink: 0; border-radius: 4px;
  border: 1.5px solid var(--cl-line); background: #fff; position: relative;
  transition: background .16s var(--ease-out), border-color .16s var(--ease-out);
}
.vc-row.picked .vc-box { background: var(--clay); border-color: var(--clay); }
.vc-row.picked .vc-box::after {
  content: ''; position: absolute; left: 3.5px; top: .5px; width: 4px; height: 7.5px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.vc-row.picked { background: none; }
.vc-row.picked:hover { background: var(--cl-sand); }
.vc-dot[data-mode="auto"] { background: var(--clay); }
.vc-dot[data-mode="always"] { background: #A64B28; box-shadow: 0 0 0 2px var(--clay-soft); }
.vc-dot[data-mode="off"] { background: var(--cl-line); }
.vc-note { margin: 4px 9px 6px; font: 400 10.5px/1.4 var(--sans); color: var(--cl-muted); }
