#strategy-modal { width: 1000px; max-width: 98vw; height: 94vh; max-height: 94vh; }
#st-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 20px; border-bottom: 1px solid var(--border); }
.st-count { font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--bg3); color: var(--text-dim); }
.st-count.ok { color: var(--accent); }
.st-count.bad { color: #fff; background: var(--danger); }
.st-lim { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); }
.st-lim .edit-input { width: 64px; }
#st-warn { color: var(--danger); font-size: 12px; padding: 0 20px; }
#st-warn:not(:empty) { padding-top: 6px; }
#st-body { flex: 1; min-height: 0; display: flex; gap: 14px; padding: 12px 20px; }
#st-side { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
#st-bench { flex: 1; overflow-y: auto; border: 1px solid var(--border); border-radius: 4px; background: var(--bg3); }
.st-bench-item { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 13px; cursor: grab; touch-action: pan-y; user-select: none; border-bottom: 1px solid var(--border); }
.st-bench-item:hover { background: var(--bg4); }
.st-bench-item span:first-of-type { flex: 1; }
.st-bench-item.placed { opacity: .45; }
.st-num { width: 40px; padding: 2px 4px; font-size: 12px; text-align: center; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; }
.st-hint { font-size: 11px; color: var(--text-muted); }
#st-pitch-wrap { flex: 1; min-width: 0; display: flex; justify-content: center; align-items: center; }
#st-pitch { position: relative; height: 100%; max-width: 100%; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; touch-action: none; user-select: none; }
#st-pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#st-pitch.arrow-mode { cursor: crosshair; }
.st-arrow { stroke: #ffd54a; stroke-width: 1.2; stroke-dasharray: 3 2; cursor: pointer; }
.st-tokens { position: absolute; inset: 0; pointer-events: none; }
.st-token { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; pointer-events: auto; cursor: grab; touch-action: none; }
#st-pitch.arrow-mode .st-token { pointer-events: none; }
.st-dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #1c1c1c; border: 2px solid var(--green-dark); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.st-dot { position: relative; }
.st-foot { position: absolute; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--green-dark); color: #fff; font-style: normal; font-size: 9px; font-weight: 700; line-height: 14px; text-align: center; border: 1px solid #fff; }
.st-foot.l { left: -7px; }
.st-foot.r { right: -7px; }
.st-bench-item .st-foot-wrap { display: flex; gap: 3px; flex: 0 0 auto; }
.st-foot-wrap .st-foot { position: static; }
.foot-cell { display: inline-flex; gap: 3px; }
.foot-cell .st-foot { position: static; }
.st-name { margin-top: 2px; font-size: 11px; color: #fff; background: rgba(0,0,0,.55); padding: 0 5px; border-radius: 3px; white-space: nowrap; }
.st-ghost { position: fixed !important; transform: translate(-50%, -50%) !important; pointer-events: none; z-index: 1000; opacity: .9; background: var(--bg4); padding: 6px 10px; border-radius: 4px; font-size: 13px; color: var(--text); }
.st-ghost.st-token { background: none; padding: 0; }
@media (max-width: 768px) { #st-body { flex-direction: column; } #st-side { width: auto; max-height: 30%; } }
.nom-row.inactive { opacity: .5; font-style: italic; }
