/* Checklist feedback shares one spring in shooting-checklist-motion.js.
   The 44px touch target and 18px ring keep the existing script geometry. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done {
  position: relative;
  box-sizing: border-box;
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--minimal-ink);
  overflow: visible;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  transition: none !important;
  animation: none !important;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done::before {
  content: none;
  display: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done[aria-pressed="true"] {
  color: var(--minimal-ink);
}

/* The spring supplies press feedback; a second button fade or scale would drift. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done:not(:disabled):is(:hover, :active) {
  background: transparent;
  opacity: 1;
  filter: none;
  transform: none !important;
  translate: none !important;
  scale: none !important;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-check-box {
  position: relative;
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--minimal-ink);
  overflow: visible;
  pointer-events: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-check-fill {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background: var(--minimal-ink);
  transform: scale(0);
  transform-origin: center;
  pointer-events: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done[aria-pressed="true"] .shoot-check-fill {
  transform: scale(1);
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-check-tick {
  position: absolute;
  inset: 0;
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: var(--minimal-paper, #fff);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-check-tick path {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done[aria-pressed="true"] .shoot-check-tick path {
  stroke-dashoffset: 0;
}

/* Only the editable mirror uses animated ink and per-line rules.
   Historical reading and table completion styles continue to use their static marks. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-mirror .is-done {
  color: var(--minimal-ink);
  text-decoration: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-mirror .shoot-check-copy {
  color: var(--minimal-ink);
  text-decoration: none;
  opacity: 1;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-mirror .shoot-check-copy.is-done {
  opacity: .42;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-copy .shoot-check-strikes {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: var(--minimal-ink);
  pointer-events: none;
  overflow: visible;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-copy .shoot-check-rule {
  position: absolute;
  display: block;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Paragraph separators keep the continuous textarea's spacing and caret map. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-copy .shoot-segment-dividers {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-inline-copy .shoot-segment-divider {
  position: absolute;
  display: block;
  left: -40px;
  right: 0;
  height: 1px;
  background: var(--minimal-line);
  pointer-events: none;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-document > .shoot-segment + .shoot-segment {
  box-shadow: inset 0 1px 0 var(--minimal-line);
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page :is(.shoot-check-box, .shoot-check-fill, .shoot-check-tick, .shoot-check-tick path, .shoot-check-copy, .shoot-check-strikes, .shoot-check-rule) {
  transition: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-page .shoot-done {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
