/* Shooting tool variant: canonical LENZEST surfaces, controls and document scroll. */
.ls-shooting {
  --ls-shooting-surface: var(--ls-surface, #101318);
  --ls-shooting-ink: var(--ls-ink, #edf0f4);
  --ls-shooting-muted: var(--ls-muted, #afb8c4);
  --ls-shooting-line: var(--ls-control-edge, var(--ls-line, #444c58));
  --ls-shooting-focus: var(--ls-reading-link, var(--ls-shooting-ink));
  color: var(--ls-shooting-ink);
  background: var(--ls-shooting-surface);
  border: 1px solid var(--ls-shooting-line);
  border-radius: var(--ls-control-radius, 9px);
  margin: clamp(28px, 5vw, 56px) 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.75;
  min-width: 0;
}
.ls-shooting *, .ls-shooting *::before, .ls-shooting *::after { box-sizing: border-box; }
.ls-shooting [hidden] { display: none !important; }
.ls-shooting-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 22px clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--ls-line, #444c58); }
.ls-shooting-heading h2 { margin: 0; color: inherit; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.5; }
.ls-shooting-heading p { margin: 6px 0 0; color: var(--ls-shooting-muted); }
.ls-shooting-completed { white-space: nowrap; padding-top: 5px; font-variant-numeric: tabular-nums; }
.ls-shooting-body { padding: clamp(16px, 3vw, 32px); }
.ls-shooting-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ls-shooting-toolbar label { display: grid; align-content: start; gap: 6px; min-width: 0; }
.ls-shooting-toolbar small { font-size: 12px; color: var(--ls-shooting-muted); line-height: 1.65; }
.ls-shooting select { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--ls-shooting-line); border-radius: 5px; color: var(--ls-shooting-ink); background: var(--ls-bg, #090c0e); font: inherit; color-scheme: var(--ls-color-scheme,dark); cursor: pointer; }
.ls-shooting select:disabled { opacity: .7; cursor: default; }
.ls-shooting select:hover:enabled { border-color: var(--ls-shooting-focus); }
.ls-shooting-goal { margin: 18px 0 12px; min-height: 3.5em; overflow-wrap: anywhere; }
.ls-shooting-preview { position: relative; aspect-ratio: 900 / 520; background: var(--ls-bg, #090c0e); }
.ls-shooting canvas { display: block; width: 100%; height: auto; aspect-ratio: 900 / 520; }
.ls-shooting-reticle { position: absolute; width: 28px; height: 28px; top: 48.08%; left: 50%; transform: translate(-50%, -50%); border: 1px solid var(--ls-shooting-ink); opacity: .7; pointer-events: none; }
.ls-shooting-unavailable { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; margin: 0; background: var(--ls-shooting-surface); color: var(--ls-shooting-ink); }
.ls-shooting-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 18px; font-size: 12px; color: var(--ls-shooting-muted); }
.ls-shooting-readouts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-variant-numeric: tabular-nums; }
.ls-shooting-readouts output { white-space: nowrap; font-family: var(--ls-mono, Consolas, monospace); }
.ls-shooting-meter { position: relative; height: 6px; background: var(--ls-metal, #1e242d); margin: 18px 6px 8px; }
.ls-shooting-meter-good { position: absolute; left: 41.666%; width: 16.667%; inset-block: 0; background: var(--ls-camera-steel, #82908f); }
.ls-shooting-meter-zero { position: absolute; height: 12px; width: 1px; left: 50%; top: -3px; background: var(--ls-shooting-ink); }
.ls-shooting-meter-pointer { position: absolute; width: 8px; height: 14px; top: -4px; left: 17%; background: var(--ls-shooting-ink); transform: translateX(-50%); }
.ls-shooting-meter-labels { display: flex; justify-content: space-between; margin: 0 6px 22px; font: 12px/1.5 var(--ls-mono, Consolas, monospace); color: var(--ls-shooting-muted); }
.ls-shooting-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; }
.ls-shooting-field { min-width: 0; }
.ls-shooting-field-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; min-height: 3.5em; }
.ls-shooting-field-heading output { font-family: var(--ls-mono, Consolas, monospace); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls-shooting input[type="range"] { display: block; width: 100%; min-height: 44px; margin: 0; padding: 0; accent-color: var(--ls-camera-brass, #b6a17c); cursor: pointer; }
.ls-shooting-field-ends { display: flex; justify-content: space-between; gap: 8px; color: var(--ls-shooting-muted); font-size: 12px; }
.ls-shooting-context { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 14px; }
.ls-shooting-context label { display: flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; }
.ls-shooting-context input { width: 20px; height: 20px; margin: 0; accent-color: var(--ls-camera-brass, #b6a17c); cursor: pointer; }
.ls-shooting-context input:disabled { cursor: default; }
.ls-shooting-context span { color: var(--ls-shooting-muted); font-size: 14px; }
.ls-shooting-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 16px; }
.ls-shooting-actions button { min-height: 46px; padding: 10px 18px; border: 1px solid var(--ls-shooting-line); border-radius: var(--ls-control-radius, 9px); color: var(--ls-shooting-ink); background: var(--ls-metal, #1e242d); font: inherit; cursor: pointer; }
.ls-shooting-actions [data-shoot] { color: var(--ls-lcd-ink, #20291f); background: var(--ls-lcd, #d1d8be); border-color: var(--ls-lcd, #d1d8be); font-weight: 600; }
.ls-shooting-actions button:hover:enabled { filter: brightness(1.15); border-color: var(--ls-shooting-focus); }
.ls-shooting-actions button:active:enabled { transform: translateY(1px); }
.ls-shooting-actions button:disabled { opacity: .45; cursor: default; }
.ls-shooting :is(button, select, input, summary, a):focus-visible { outline: 2px solid var(--ls-shooting-focus); outline-offset: 4px; }
.ls-shooting-result { min-height: 5.25em; margin: 12px 0; overflow-wrap: anywhere; }
.ls-shooting-help { border-top: 1px solid var(--ls-line, #444c58); padding-top: 12px; }
.ls-shooting-help summary { min-height: 44px; padding: 8px 0; cursor: pointer; }
.ls-shooting-help summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.ls-shooting-help p { margin: 10px 0; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.ls-shooting-help a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .ls-shooting-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }
@media (max-width: 480px) { .ls-shooting-toolbar { grid-template-columns: 1fr; } .ls-shooting-field-heading { flex-direction: column; align-items: flex-start; min-height: 4em; } .ls-shooting-heading { padding-inline: 16px; } .ls-shooting-readouts { gap: 8px 16px; } .ls-shooting-actions button { padding-inline: 12px; } }
@media (prefers-reduced-motion: reduce) { .ls-shooting * { transition: none; scroll-behavior: auto; } .ls-shooting-actions button:active:enabled { transform: none; } }
@media (forced-colors: active) { .ls-shooting-meter { background: Canvas; } .ls-shooting-meter-pointer, .ls-shooting-meter-zero { background: CanvasText; } .ls-shooting-actions button { border-color: ButtonText; } }
@media print { .ls-shooting-controls, .ls-shooting-actions, .ls-shooting-toolbar, .ls-shooting-context { display: none; } }
